/* display-page.c generated by valac 0.21.1.35-83443, the Vala compiler
 * generated from display-page.vala, do not modify */

/* This file is part of GNOME Boxes. License: LGPLv2+*/

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include <clutter/clutter.h>
#include <clutter-gtk/clutter-gtk.h>
#include <gio/gio.h>
#include <glib/gi18n-lib.h>
#include <cairo.h>


#define BOXES_TYPE_DISPLAY_TOOLBAR (boxes_display_toolbar_get_type ())
#define BOXES_DISPLAY_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY_TOOLBAR, BoxesDisplayToolbar))
#define BOXES_DISPLAY_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY_TOOLBAR, BoxesDisplayToolbarClass))
#define BOXES_IS_DISPLAY_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY_TOOLBAR))
#define BOXES_IS_DISPLAY_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY_TOOLBAR))
#define BOXES_DISPLAY_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY_TOOLBAR, BoxesDisplayToolbarClass))

typedef struct _BoxesDisplayToolbar BoxesDisplayToolbar;
typedef struct _BoxesDisplayToolbarClass BoxesDisplayToolbarClass;
typedef struct _BoxesDisplayToolbarPrivate BoxesDisplayToolbarPrivate;
typedef struct _Block15Data Block15Data;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define BOXES_TYPE_UI (boxes_ui_get_type ())
#define BOXES_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UI, BoxesUI))
#define BOXES_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UI, BoxesUIClass))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_IS_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UI))
#define BOXES_UI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UI, BoxesUIClass))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIClass BoxesUIClass;

#define BOXES_TYPE_APP (boxes_app_get_type ())
#define BOXES_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP, BoxesApp))
#define BOXES_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP, BoxesAppClass))
#define BOXES_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP))
#define BOXES_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP))
#define BOXES_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP, BoxesAppClass))

typedef struct _BoxesApp BoxesApp;
typedef struct _BoxesAppClass BoxesAppClass;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block16Data Block16Data;
typedef struct _Block17Data Block17Data;

#define BOXES_TYPE_DISPLAY_PAGE (boxes_display_page_get_type ())
#define BOXES_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage))
#define BOXES_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))
#define BOXES_IS_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_IS_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_DISPLAY_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;
typedef struct _BoxesDisplayPagePrivate BoxesDisplayPagePrivate;

#define BOXES_TYPE_DISPLAY (boxes_display_get_type ())
#define BOXES_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY, BoxesDisplay))
#define BOXES_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY, BoxesDisplayClass))
#define BOXES_IS_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY))
#define BOXES_IS_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY))
#define BOXES_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY, BoxesDisplayClass))

typedef struct _BoxesDisplay BoxesDisplay;
typedef struct _BoxesDisplayClass BoxesDisplayClass;
typedef struct _BoxesUIPrivate BoxesUIPrivate;
typedef struct _BoxesAppPrivate BoxesAppPrivate;

#define BOXES_TYPE_CLUTTER_WIDGET (boxes_clutter_widget_get_type ())
#define BOXES_CLUTTER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_CLUTTER_WIDGET, BoxesClutterWidget))
#define BOXES_CLUTTER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_CLUTTER_WIDGET, BoxesClutterWidgetClass))
#define BOXES_IS_CLUTTER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_CLUTTER_WIDGET))
#define BOXES_IS_CLUTTER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_CLUTTER_WIDGET))
#define BOXES_CLUTTER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_CLUTTER_WIDGET, BoxesClutterWidgetClass))

typedef struct _BoxesClutterWidget BoxesClutterWidget;
typedef struct _BoxesClutterWidgetClass BoxesClutterWidgetClass;

#define BOXES_TYPE_COLLECTION_ITEM (boxes_collection_item_get_type ())
#define BOXES_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItem))
#define BOXES_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))
#define BOXES_IS_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_IS_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_COLLECTION_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

#define BOXES_TYPE_SEARCHBAR (boxes_searchbar_get_type ())
#define BOXES_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbar))
#define BOXES_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))
#define BOXES_IS_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SEARCHBAR))
#define BOXES_IS_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SEARCHBAR))
#define BOXES_SEARCHBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

#define BOXES_TYPE_TOPBAR (boxes_topbar_get_type ())
#define BOXES_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_TOPBAR, BoxesTopbar))
#define BOXES_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_TOPBAR, BoxesTopbarClass))
#define BOXES_IS_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_TOPBAR))
#define BOXES_IS_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_TOPBAR))
#define BOXES_TOPBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_TOPBAR, BoxesTopbarClass))

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

#define BOXES_TYPE_NOTIFICATIONBAR (boxes_notificationbar_get_type ())
#define BOXES_NOTIFICATIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbar))
#define BOXES_NOTIFICATIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbarClass))
#define BOXES_IS_NOTIFICATIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_NOTIFICATIONBAR))
#define BOXES_IS_NOTIFICATIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_NOTIFICATIONBAR))
#define BOXES_NOTIFICATIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbarClass))

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

#define BOXES_TYPE_REVEALER (boxes_revealer_get_type ())
#define BOXES_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_REVEALER, BoxesRevealer))
#define BOXES_REVEALER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_REVEALER, BoxesRevealerClass))
#define BOXES_IS_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_REVEALER))
#define BOXES_IS_REVEALER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_REVEALER))
#define BOXES_REVEALER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_REVEALER, BoxesRevealerClass))

typedef struct _BoxesRevealer BoxesRevealer;
typedef struct _BoxesRevealerClass BoxesRevealerClass;

#define BOXES_TYPE_SIDEBAR (boxes_sidebar_get_type ())
#define BOXES_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebar))
#define BOXES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))
#define BOXES_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SIDEBAR))
#define BOXES_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SIDEBAR))
#define BOXES_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;

#define BOXES_TYPE_SELECTIONBAR (boxes_selectionbar_get_type ())
#define BOXES_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbar))
#define BOXES_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))
#define BOXES_IS_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SELECTIONBAR))
#define BOXES_IS_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SELECTIONBAR))
#define BOXES_SELECTIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

#define BOXES_TYPE_WIZARD (boxes_wizard_get_type ())
#define BOXES_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD, BoxesWizard))
#define BOXES_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD, BoxesWizardClass))
#define BOXES_IS_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD))
#define BOXES_IS_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD))
#define BOXES_WIZARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD, BoxesWizardClass))

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

#define BOXES_TYPE_PROPERTIES (boxes_properties_get_type ())
#define BOXES_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTIES, BoxesProperties))
#define BOXES_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTIES, BoxesPropertiesClass))
#define BOXES_IS_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTIES))
#define BOXES_IS_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTIES))
#define BOXES_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTIES, BoxesPropertiesClass))

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

#define BOXES_TYPE_EMPTY_BOXES (boxes_empty_boxes_get_type ())
#define BOXES_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxes))
#define BOXES_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))
#define BOXES_IS_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_IS_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_EMPTY_BOXES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;

#define BOXES_TYPE_COLLECTION (boxes_collection_get_type ())
#define BOXES_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION, BoxesCollection))
#define BOXES_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION, BoxesCollectionClass))
#define BOXES_IS_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION))
#define BOXES_IS_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION))
#define BOXES_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION, BoxesCollectionClass))

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;

#define BOXES_TYPE_COLLECTION_FILTER (boxes_collection_filter_get_type ())
#define BOXES_COLLECTION_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_FILTER, BoxesCollectionFilter))
#define BOXES_COLLECTION_FILTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_FILTER, BoxesCollectionFilterClass))
#define BOXES_IS_COLLECTION_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_FILTER))
#define BOXES_IS_COLLECTION_FILTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_FILTER))
#define BOXES_COLLECTION_FILTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_FILTER, BoxesCollectionFilterClass))

typedef struct _BoxesCollectionFilter BoxesCollectionFilter;
typedef struct _BoxesCollectionFilterClass BoxesCollectionFilterClass;

#define BOXES_TYPE_COLLECTION_VIEW (boxes_collection_view_get_type ())
#define BOXES_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionView))
#define BOXES_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))
#define BOXES_IS_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_IS_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_COLLECTION_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;

#define BOXES_TYPE_APP_PAGE (boxes_app_page_get_type ())

#define BOXES_TYPE_MACHINE (boxes_machine_get_type ())
#define BOXES_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE, BoxesMachine))
#define BOXES_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE, BoxesMachineClass))
#define BOXES_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE))
#define BOXES_IS_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE))
#define BOXES_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE, BoxesMachineClass))

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;
typedef struct _Block18Data Block18Data;

struct _BoxesDisplayToolbar {
	GtkHeaderBar parent_instance;
	BoxesDisplayToolbarPrivate * priv;
};

struct _BoxesDisplayToolbarClass {
	GtkHeaderBarClass parent_class;
};

struct _BoxesDisplayToolbarPrivate {
	gboolean overlay;
	gboolean handle_drag;
	gboolean button_down;
	gint button_down_x;
	gint button_down_y;
	guint button_down_button;
};

struct _Block15Data {
	int _ref_count_;
	BoxesDisplayToolbar * self;
	GtkButton* fullscreen;
};

typedef enum  {
	BOXES_UI_STATE_NONE,
	BOXES_UI_STATE_COLLECTION,
	BOXES_UI_STATE_CREDS,
	BOXES_UI_STATE_DISPLAY,
	BOXES_UI_STATE_SETTINGS,
	BOXES_UI_STATE_WIZARD,
	BOXES_UI_STATE_PROPERTIES
} BoxesUIState;

struct _Block16Data {
	int _ref_count_;
	BoxesDisplayToolbar * self;
	GdkEventMotion event;
};

struct _Block17Data {
	int _ref_count_;
	Block16Data * _data16_;
	GtkWindow* window;
	gint old_width;
	gulong id;
};

struct _BoxesDisplayPage {
	GObject parent_instance;
	BoxesDisplayPagePrivate * priv;
	BoxesDisplayToolbar* title_toolbar;
};

struct _BoxesDisplayPageClass {
	GObjectClass parent_class;
};

struct _BoxesDisplayPagePrivate {
	GtkEventBox* event_box;
	GtkBox* box;
	BoxesDisplayToolbar* overlay_toolbar;
	GtkEventBox* overlay_toolbar_box;
	GtkGrid* notification_grid;
	BoxesDisplayToolbar* toolbar;
	guint toolbar_hide_id;
	guint toolbar_show_id;
	gulong cursor_id;
	guint overlay_toolbar_invisible_timeout;
	BoxesDisplay* display;
	gulong display_can_grab_id;
	gulong display_grabbed_id;
};

struct _BoxesUI {
	GObject parent_instance;
	BoxesUIPrivate * priv;
};

struct _BoxesUIClass {
	GObjectClass parent_class;
	void (*ui_state_changed) (BoxesUI* self);
	ClutterActor* (*get_actor) (BoxesUI* self);
};

struct _BoxesApp {
	BoxesUI parent_instance;
	BoxesAppPrivate * priv;
	GtkApplicationWindow* window;
	GtkNotebook* notebook;
	BoxesClutterWidget* embed;
	ClutterStage* stage;
	ClutterBinLayout* stage_bin;
	ClutterActor* overlay_bin_actor;
	ClutterBinLayout* overlay_bin;
	BoxesCollectionItem* current_item;
	BoxesSearchbar* searchbar;
	BoxesTopbar* topbar;
	BoxesNotificationbar* notificationbar;
	BoxesRevealer* sidebar_revealer;
	BoxesRevealer* searchbar_revealer;
	BoxesSidebar* sidebar;
	BoxesSelectionbar* selectionbar;
	guint duration;
	GSettings* settings;
	BoxesWizard* wizard;
	BoxesProperties* properties;
	BoxesDisplayPage* display_page;
	BoxesEmptyBoxes* empty_boxes;
	BoxesCollection* collection;
	BoxesCollectionFilter* filter;
	BoxesCollectionView* view;
};

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};

typedef enum  {
	BOXES_APP_PAGE_MAIN,
	BOXES_APP_PAGE_DISPLAY
} BoxesAppPage;

struct _Block18Data {
	int _ref_count_;
	BoxesDisplayPage * self;
	gulong draw_id;
	GtkWidget* widget;
};


static gpointer boxes_display_toolbar_parent_class = NULL;
extern BoxesApp* boxes_app_app;
static gpointer boxes_display_page_parent_class = NULL;

GType boxes_display_toolbar_get_type (void) G_GNUC_CONST;
#define BOXES_DISPLAY_TOOLBAR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_DISPLAY_TOOLBAR, BoxesDisplayToolbarPrivate))
enum  {
	BOXES_DISPLAY_TOOLBAR_DUMMY_PROPERTY
};
BoxesDisplayToolbar* boxes_display_toolbar_new (gboolean overlay, gboolean handle_drag);
BoxesDisplayToolbar* boxes_display_toolbar_construct (GType object_type, gboolean overlay, gboolean handle_drag);
static Block15Data* block15_data_ref (Block15Data* _data15_);
static void block15_data_unref (void * _userdata_);
static GtkButton* boxes_display_toolbar_add_image_button (BoxesDisplayToolbar* self, const gchar* icon_name, gboolean pack_start);
static void __lambda13_ (BoxesDisplayToolbar* self, GtkButton* button);
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_app_get_type (void) G_GNUC_CONST;
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
void boxes_ui_set_ui_state (BoxesUI* self, BoxesUIState value);
static void ___lambda13__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda14_ (Block15Data* _data15_);
gboolean boxes_app_get_fullscreen (BoxesApp* self);
static void ___lambda14__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda15_ (BoxesDisplayToolbar* self, GtkButton* button);
void boxes_app_set_fullscreen (BoxesApp* self, gboolean value);
static void ___lambda15__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda16_ (BoxesDisplayToolbar* self, GtkButton* button);
static void ___lambda16__gtk_button_clicked (GtkButton* _sender, gpointer self);
static gboolean boxes_display_toolbar_real_button_press_event (GtkWidget* base, GdkEventButton* event);
static gboolean boxes_display_toolbar_real_button_release_event (GtkWidget* base, GdkEventButton* event);
static gboolean boxes_display_toolbar_real_motion_notify_event (GtkWidget* base, GdkEventMotion* event);
static Block16Data* block16_data_ref (Block16Data* _data16_);
static void block16_data_unref (void * _userdata_);
static Block17Data* block17_data_ref (Block17Data* _data17_);
static void block17_data_unref (void * _userdata_);
static void ____lambda17_ (Block17Data* _data17_);
static void _____lambda17__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_display_toolbar_finalize (GObject* obj);
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_display_get_type (void) G_GNUC_CONST;
#define BOXES_DISPLAY_PAGE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPagePrivate))
enum  {
	BOXES_DISPLAY_PAGE_DUMMY_PROPERTY,
	BOXES_DISPLAY_PAGE_WIDGET
};
static void boxes_display_page_toolbar_event_stop (BoxesDisplayPage* self);
BoxesDisplayPage* boxes_display_page_new (void);
BoxesDisplayPage* boxes_display_page_construct (GType object_type);
GType boxes_clutter_widget_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_revealer_get_type (void) G_GNUC_CONST;
GType boxes_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
GType boxes_collection_filter_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
static gboolean __lambda18_ (BoxesDisplayPage* self, GdkEvent* event);
static gboolean _____lambda19_ (BoxesDisplayPage* self);
static void boxes_display_page_set_overlay_toolbar_visible (BoxesDisplayPage* self, gboolean visible);
static gboolean ______lambda19__gsource_func (gpointer self);
static gboolean _____lambda20_ (BoxesDisplayPage* self);
static gboolean ______lambda20__gsource_func (gpointer self);
static gboolean ___lambda18__gtk_widget_event (GtkWidget* _sender, GdkEvent* event, gpointer self);
static gboolean __lambda21_ (BoxesDisplayPage* self, GdkEventWindowState* event);
static void boxes_display_page_update_toolbar_visible (BoxesDisplayPage* self);
static gboolean ___lambda21__gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self);
void boxes_display_page_add_notification (BoxesDisplayPage* self, GtkWidget* w);
void boxes_display_page_get_size (BoxesDisplayPage* self, gint* width, gint* height);
static gboolean boxes_display_page_get_can_grab_mouse (BoxesDisplayPage* self);
void boxes_display_page_show (BoxesDisplayPage* self);
GType boxes_app_page_get_type (void) G_GNUC_CONST;
void boxes_display_page_update_title (BoxesDisplayPage* self);
GType boxes_machine_get_type (void) G_GNUC_CONST;
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
static gboolean boxes_display_page_get_grabbed (BoxesDisplayPage* self);
void boxes_display_page_show_display (BoxesDisplayPage* self, BoxesDisplay* display, GtkWidget* widget);
static Block18Data* block18_data_ref (Block18Data* _data18_);
static void block18_data_unref (void * _userdata_);
GtkWidget* boxes_display_page_remove_display (BoxesDisplayPage* self);
static void __lambda22_ (BoxesDisplayPage* self);
static gboolean __lambda23_ (BoxesDisplayPage* self);
static gboolean ___lambda23__gsource_func (gpointer self);
static void ___lambda22__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda24_ (BoxesDisplayPage* self);
static void ___lambda24__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static gboolean __lambda25_ (BoxesDisplayPage* self);
static gboolean ___lambda25__gsource_func (gpointer self);
static gboolean __lambda26_ (Block18Data* _data18_);
static void __lambda27_ (Block18Data* _data18_);
static void ___lambda27__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static gboolean ___lambda26__gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self);
GtkWidget* boxes_display_page_get_widget (BoxesDisplayPage* self);
gboolean boxes_display_get_can_grab_mouse (BoxesDisplay* self);
gboolean boxes_display_get_mouse_grabbed (BoxesDisplay* self);
static void boxes_display_page_finalize (GObject* obj);
static void _vala_boxes_display_page_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);


static Block15Data* block15_data_ref (Block15Data* _data15_) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_atomic_int_inc (&_data15_->_ref_count_);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return _data15_;
#line 476 "display-page.c"
}


static void block15_data_unref (void * _userdata_) {
	Block15Data* _data15_;
	_data15_ = (Block15Data*) _userdata_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (g_atomic_int_dec_and_test (&_data15_->_ref_count_)) {
#line 485 "display-page.c"
		BoxesDisplayToolbar * self;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self = _data15_->self;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (_data15_->fullscreen);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (self);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_slice_free (Block15Data, _data15_);
#line 495 "display-page.c"
	}
}


static void __lambda13_ (BoxesDisplayToolbar* self, GtkButton* button) {
	BoxesApp* _tmp0_ = NULL;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (button != NULL);
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_ui_set_ui_state ((BoxesUI*) _tmp0_, BOXES_UI_STATE_COLLECTION);
#line 508 "display-page.c"
}


static void ___lambda13__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda13_ (self, _sender);
#line 515 "display-page.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return self ? g_object_ref (self) : NULL;
#line 522 "display-page.c"
}


static void __lambda14_ (Block15Data* _data15_) {
	BoxesDisplayToolbar * self;
	GtkImage* image = NULL;
	GtkWidget* _tmp0_ = NULL;
	GtkImage* _tmp1_ = NULL;
	BoxesApp* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data15_->self;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = gtk_button_get_image (_data15_->fullscreen);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, GTK_TYPE_IMAGE) ? ((GtkImage*) _tmp0_) : NULL);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	image = _tmp1_;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_app;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = boxes_app_get_fullscreen (_tmp2_);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = _tmp3_;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp4_) {
#line 550 "display-page.c"
		GtkImage* _tmp5_ = NULL;
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = image;
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_object_set (_tmp5_, "icon-name", "view-restore-symbolic", NULL);
#line 556 "display-page.c"
	} else {
		GtkImage* _tmp6_ = NULL;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp6_ = image;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_object_set (_tmp6_, "icon-name", "view-fullscreen-symbolic", NULL);
#line 563 "display-page.c"
	}
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (image);
#line 567 "display-page.c"
}


static void ___lambda14__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda14_ (self);
#line 574 "display-page.c"
}


static void __lambda15_ (BoxesDisplayToolbar* self, GtkButton* button) {
	BoxesApp* _tmp0_ = NULL;
	BoxesApp* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (button != NULL);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_app;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_get_fullscreen (_tmp1_);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_app_set_fullscreen (_tmp0_, !_tmp3_);
#line 595 "display-page.c"
}


static void ___lambda15__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda15_ (self, _sender);
#line 602 "display-page.c"
}


static void __lambda16_ (BoxesDisplayToolbar* self, GtkButton* button) {
	BoxesApp* _tmp0_ = NULL;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (button != NULL);
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_ui_set_ui_state ((BoxesUI*) _tmp0_, BOXES_UI_STATE_PROPERTIES);
#line 614 "display-page.c"
}


static void ___lambda16__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda16_ (self, _sender);
#line 621 "display-page.c"
}


BoxesDisplayToolbar* boxes_display_toolbar_construct (GType object_type, gboolean overlay, gboolean handle_drag) {
	BoxesDisplayToolbar * self = NULL;
	Block15Data* _data15_;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	GtkStyleContext* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	GtkTextDirection _tmp8_ = 0;
	gchar* back_icon = NULL;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	GtkButton* back = NULL;
	GtkButton* _tmp11_ = NULL;
	GtkButton* _tmp12_ = NULL;
	BoxesApp* _tmp13_ = NULL;
	GtkButton* props = NULL;
	GtkButton* _tmp14_ = NULL;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data15_ = g_slice_new0 (Block15Data);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data15_->_ref_count_ = 1;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = (BoxesDisplayToolbar*) g_object_new (object_type, NULL);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data15_->self = g_object_ref (self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_add_events ((GtkWidget*) self, (gint) ((GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK) | GDK_BUTTON_RELEASE_MASK));
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = overlay;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay = _tmp0_;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = handle_drag;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->handle_drag = _tmp1_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = overlay;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp2_) {
#line 665 "display-page.c"
		GtkStyleContext* _tmp3_ = NULL;
		GtkStyleContext* _tmp4_ = NULL;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_style_context_add_class (_tmp3_, "toolbar");
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_style_context_add_class (_tmp4_, "osd");
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_object_set ((GtkHeaderBar*) self, "spacing", 0, NULL);
#line 678 "display-page.c"
	} else {
		GtkStyleContext* _tmp5_ = NULL;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_style_context_add_class (_tmp5_, GTK_STYLE_CLASS_MENUBAR);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_header_bar_set_show_close_button ((GtkHeaderBar*) self, TRUE);
#line 687 "display-page.c"
	}
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_style_context_add_class (_tmp6_, "titlebar");
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = gtk_widget_get_direction ((GtkWidget*) self);
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp8_ == GTK_TEXT_DIR_RTL) {
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = "go-previous-rtl-symbolic";
#line 699 "display-page.c"
	} else {
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = "go-previous-symbolic";
#line 703 "display-page.c"
	}
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = _tmp7_;
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = g_strdup (_tmp9_);
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	back_icon = _tmp10_;
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = boxes_display_toolbar_add_image_button (self, back_icon, TRUE);
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	back = _tmp11_;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object (back, "clicked", (GCallback) ___lambda13__gtk_button_clicked, self, 0);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = boxes_display_toolbar_add_image_button (self, "view-fullscreen-symbolic", FALSE);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data15_->fullscreen = _tmp12_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = boxes_app_app;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_data ((GObject*) _tmp13_, "notify::fullscreen", (GCallback) ___lambda14__g_object_notify, block15_data_ref (_data15_), (GClosureNotify) block15_data_unref, G_CONNECT_AFTER);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object (_data15_->fullscreen, "clicked", (GCallback) ___lambda15__gtk_button_clicked, self, 0);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = boxes_display_toolbar_add_image_button (self, "preferences-system-symbolic", FALSE);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	props = _tmp14_;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object (props, "clicked", (GCallback) ___lambda16__gtk_button_clicked, self, 0);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (props);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (back);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_free0 (back_icon);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	block15_data_unref (_data15_);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data15_ = NULL;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return self;
#line 745 "display-page.c"
}


BoxesDisplayToolbar* boxes_display_toolbar_new (gboolean overlay, gboolean handle_drag) {
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return boxes_display_toolbar_construct (BOXES_TYPE_DISPLAY_TOOLBAR, overlay, handle_drag);
#line 752 "display-page.c"
}


static GtkButton* boxes_display_toolbar_add_image_button (BoxesDisplayToolbar* self, const gchar* icon_name, gboolean pack_start) {
	GtkButton* result = NULL;
	GtkButton* button = NULL;
	GtkButton* _tmp0_ = NULL;
	GtkImage* img = NULL;
	const gchar* _tmp1_ = NULL;
	GtkImage* _tmp2_ = NULL;
	GtkImage* _tmp3_ = NULL;
	GtkButton* _tmp4_ = NULL;
	GtkImage* _tmp5_ = NULL;
	GtkButton* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp10_ = FALSE;
	GtkButton* _tmp13_ = NULL;
	GtkStyleContext* _tmp14_ = NULL;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (icon_name != NULL, NULL);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = (GtkButton*) gtk_button_new ();
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp0_);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	button = _tmp0_;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = icon_name;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = (GtkImage*) gtk_image_new_from_icon_name (_tmp1_, GTK_ICON_SIZE_MENU);
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp2_);
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	img = _tmp2_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = img;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_show ((GtkWidget*) _tmp3_);
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = button;
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = img;
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_button_set_image (_tmp4_, (GtkWidget*) _tmp5_);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = button;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp6_, GTK_ALIGN_CENTER);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = pack_start;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp7_) {
#line 807 "display-page.c"
		GtkButton* _tmp8_ = NULL;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp8_ = button;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_header_bar_pack_start ((GtkHeaderBar*) self, (GtkWidget*) _tmp8_);
#line 813 "display-page.c"
	} else {
		GtkButton* _tmp9_ = NULL;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp9_ = button;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_header_bar_pack_end ((GtkHeaderBar*) self, (GtkWidget*) _tmp9_);
#line 820 "display-page.c"
	}
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = self->priv->overlay;
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (!_tmp10_) {
#line 826 "display-page.c"
		GtkButton* _tmp11_ = NULL;
		GtkStyleContext* _tmp12_ = NULL;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = button;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp12_ = gtk_widget_get_style_context ((GtkWidget*) _tmp11_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_style_context_add_class (_tmp12_, "raised");
#line 835 "display-page.c"
	}
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = button;
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = gtk_widget_get_style_context ((GtkWidget*) _tmp13_);
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_style_context_add_class (_tmp14_, "image-button");
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = button;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (img);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 849 "display-page.c"
}


static gboolean boxes_display_toolbar_real_button_press_event (GtkWidget* base, GdkEventButton* event) {
	BoxesDisplayToolbar * self;
	gboolean result = FALSE;
	gboolean res = FALSE;
	GdkEventButton _tmp0_ = {0};
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	GdkEvent* base_event = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp7_ = FALSE;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = (BoxesDisplayToolbar*) base;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = *event;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = GTK_WIDGET_CLASS (boxes_display_toolbar_parent_class)->button_press_event ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, GTK_TYPE_HEADER_BAR, GtkHeaderBar), &_tmp0_);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	res = _tmp1_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->handle_drag;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (!_tmp2_) {
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		result = res;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return result;
#line 882 "display-page.c"
	}
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	base_event = (GdkEvent*) (event);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = res;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (!_tmp4_) {
#line 890 "display-page.c"
		GdkEvent* _tmp5_ = NULL;
		gboolean _tmp6_ = FALSE;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = base_event;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp6_ = gdk_event_triggers_context_menu (_tmp5_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = !_tmp6_;
#line 899 "display-page.c"
	} else {
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = FALSE;
#line 903 "display-page.c"
	}
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = _tmp3_;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp7_) {
#line 909 "display-page.c"
		GdkEventButton _tmp8_ = {0};
		guint _tmp9_ = 0U;
		GdkEventButton _tmp10_ = {0};
		gdouble _tmp11_ = 0.0;
		GdkEventButton _tmp12_ = {0};
		gdouble _tmp13_ = 0.0;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->button_down = TRUE;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp8_ = *event;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp9_ = _tmp8_.button;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->button_down_button = _tmp9_;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = *event;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = _tmp10_.x;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->button_down_x = (gint) _tmp11_;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp12_ = *event;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp13_ = _tmp12_.y;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->button_down_y = (gint) _tmp13_;
#line 936 "display-page.c"
	}
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = res;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 942 "display-page.c"
}


static gboolean boxes_display_toolbar_real_button_release_event (GtkWidget* base, GdkEventButton* event) {
	BoxesDisplayToolbar * self;
	gboolean result = FALSE;
	GdkEventButton _tmp0_ = {0};
	gboolean _tmp1_ = FALSE;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = (BoxesDisplayToolbar*) base;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->button_down = FALSE;
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = *event;
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = GTK_WIDGET_CLASS (boxes_display_toolbar_parent_class)->button_press_event ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, GTK_TYPE_HEADER_BAR, GtkHeaderBar), &_tmp0_);
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = _tmp1_;
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 965 "display-page.c"
}


static Block16Data* block16_data_ref (Block16Data* _data16_) {
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_atomic_int_inc (&_data16_->_ref_count_);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return _data16_;
#line 974 "display-page.c"
}


static void block16_data_unref (void * _userdata_) {
	Block16Data* _data16_;
	_data16_ = (Block16Data*) _userdata_;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (g_atomic_int_dec_and_test (&_data16_->_ref_count_)) {
#line 983 "display-page.c"
		BoxesDisplayToolbar * self;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self = _data16_->self;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (self);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_slice_free (Block16Data, _data16_);
#line 991 "display-page.c"
	}
}


static Block17Data* block17_data_ref (Block17Data* _data17_) {
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_atomic_int_inc (&_data17_->_ref_count_);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return _data17_;
#line 1001 "display-page.c"
}


static void block17_data_unref (void * _userdata_) {
	Block17Data* _data17_;
	_data17_ = (Block17Data*) _userdata_;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (g_atomic_int_dec_and_test (&_data17_->_ref_count_)) {
#line 1010 "display-page.c"
		BoxesDisplayToolbar * self;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self = _data17_->_data16_->self;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (_data17_->window);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		block16_data_unref (_data17_->_data16_);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_data17_->_data16_ = NULL;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_slice_free (Block17Data, _data17_);
#line 1022 "display-page.c"
	}
}


static void ____lambda17_ (Block17Data* _data17_) {
	Block16Data* _data16_;
	BoxesDisplayToolbar * self;
	gint root_x = 0;
	gint root_y = 0;
	gint width = 0;
	GtkWindow* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	GtkWindow* _tmp3_ = NULL;
	GdkWindow* _tmp4_ = NULL;
	gint _tmp5_ = 0;
	GtkWindow* _tmp6_ = NULL;
	guint _tmp7_ = 0U;
	gint _tmp8_ = 0;
	gint _tmp9_ = 0;
	gint _tmp10_ = 0;
	GdkEventMotion _tmp11_ = {0};
	guint32 _tmp12_ = 0U;
	BoxesApp* _tmp13_ = NULL;
	gulong _tmp14_ = 0UL;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data16_ = _data17_->_data16_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data16_->self;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = _data17_->window;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_window_get_position (_tmp0_, &_tmp1_, &_tmp2_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	root_x = _tmp1_;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	root_y = _tmp2_;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _data17_->window;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = gtk_widget_get_window ((GtkWidget*) _tmp3_);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gdk_window_get_geometry (_tmp4_, NULL, NULL, &_tmp5_, NULL);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	width = _tmp5_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _data17_->window;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = self->priv->button_down_button;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = self->priv->button_down_x;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = _data17_->old_width;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = self->priv->button_down_y;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = _data16_->event;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = _tmp11_.time;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_window_begin_move_drag (_tmp6_, (gint) _tmp7_, root_x + ((gint) ((_tmp8_ / ((gdouble) _tmp9_)) * width)), root_y + _tmp10_, _tmp12_);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = boxes_app_app;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = _data17_->id;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_handler_disconnect ((GObject*) _tmp13_, _tmp14_);
#line 1090 "display-page.c"
}


static void _____lambda17__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	____lambda17_ (self);
#line 1097 "display-page.c"
}


static gboolean boxes_display_toolbar_real_motion_notify_event (GtkWidget* base, GdkEventMotion* event) {
	BoxesDisplayToolbar * self;
	gboolean result = FALSE;
	Block16Data* _data16_;
	GdkEventMotion _tmp0_ = {0};
	gboolean _tmp1_ = FALSE;
	gboolean _tmp4_ = FALSE;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = (BoxesDisplayToolbar*) base;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data16_ = g_slice_new0 (Block16Data);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data16_->_ref_count_ = 1;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data16_->self = g_object_ref (self);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = *event;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data16_->event = _tmp0_;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->handle_drag;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (!_tmp1_) {
#line 1126 "display-page.c"
		GdkEventMotion _tmp2_ = {0};
		gboolean _tmp3_ = FALSE;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = _data16_->event;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = GTK_WIDGET_CLASS (boxes_display_toolbar_parent_class)->motion_notify_event ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, GTK_TYPE_HEADER_BAR, GtkHeaderBar), &_tmp2_);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		result = _tmp3_;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		block16_data_unref (_data16_);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_data16_ = NULL;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return result;
#line 1141 "display-page.c"
	}
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = self->priv->button_down;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp4_) {
#line 1147 "display-page.c"
		gdouble dx = 0.0;
		GdkEventMotion _tmp5_ = {0};
		gdouble _tmp6_ = 0.0;
		gint _tmp7_ = 0;
		gdouble dy = 0.0;
		GdkEventMotion _tmp8_ = {0};
		gdouble _tmp9_ = 0.0;
		gint _tmp10_ = 0;
		gdouble _tmp11_ = 0.0;
		gdouble _tmp12_ = 0.0;
		gdouble _tmp13_ = 0.0;
		gdouble _tmp14_ = 0.0;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = _data16_->event;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp6_ = _tmp5_.x;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = self->priv->button_down_x;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		dx = _tmp6_ - _tmp7_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp8_ = _data16_->event;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp9_ = _tmp8_.y;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = self->priv->button_down_y;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		dy = _tmp9_ - _tmp10_;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = dx;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp12_ = dx;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp13_ = dy;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp14_ = dy;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (((_tmp11_ * _tmp12_) + (_tmp13_ * _tmp14_)) > ((gdouble) (40 * 40))) {
#line 1186 "display-page.c"
			Block17Data* _data17_;
			BoxesApp* _tmp15_ = NULL;
			GtkWidget* _tmp16_ = NULL;
			GtkWindow* _tmp17_ = NULL;
			GtkWindow* _tmp18_ = NULL;
			gint _tmp19_ = 0;
			BoxesApp* _tmp20_ = NULL;
			gulong _tmp21_ = 0UL;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_data17_ = g_slice_new0 (Block17Data);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_data17_->_ref_count_ = 1;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_data17_->_data16_ = block16_data_ref (_data16_);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			self->priv->button_down = FALSE;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp15_ = boxes_app_app;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			boxes_app_set_fullscreen (_tmp15_, FALSE);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp16_ = gtk_widget_get_toplevel ((GtkWidget*) self);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp17_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, GTK_TYPE_WINDOW) ? ((GtkWindow*) _tmp16_) : NULL);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_data17_->window = _tmp17_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp18_ = _data17_->window;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			gtk_window_get_size (_tmp18_, &_tmp19_, NULL);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_data17_->old_width = _tmp19_;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_data17_->id = (gulong) 0;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp20_ = boxes_app_app;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp21_ = g_signal_connect_data ((GObject*) _tmp20_, "notify::fullscreen", (GCallback) _____lambda17__g_object_notify, block17_data_ref (_data17_), (GClosureNotify) block17_data_unref, 0);
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_data17_->id = _tmp21_;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			block17_data_unref (_data17_);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_data17_ = NULL;
#line 1231 "display-page.c"
		}
	}
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (GTK_WIDGET_CLASS (boxes_display_toolbar_parent_class)->motion_notify_event != NULL) {
#line 1236 "display-page.c"
		GdkEventMotion _tmp22_ = {0};
		gboolean _tmp23_ = FALSE;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp22_ = _data16_->event;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp23_ = GTK_WIDGET_CLASS (boxes_display_toolbar_parent_class)->motion_notify_event ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, GTK_TYPE_HEADER_BAR, GtkHeaderBar), &_tmp22_);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		result = _tmp23_;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		block16_data_unref (_data16_);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_data16_ = NULL;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return result;
#line 1251 "display-page.c"
	}
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	block16_data_unref (_data16_);
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data16_ = NULL;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1261 "display-page.c"
}


static void boxes_display_toolbar_class_init (BoxesDisplayToolbarClass * klass) {
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_toolbar_parent_class = g_type_class_peek_parent (klass);
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_type_class_add_private (klass, sizeof (BoxesDisplayToolbarPrivate));
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	GTK_WIDGET_CLASS (klass)->button_press_event = boxes_display_toolbar_real_button_press_event;
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	GTK_WIDGET_CLASS (klass)->button_release_event = boxes_display_toolbar_real_button_release_event;
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	GTK_WIDGET_CLASS (klass)->motion_notify_event = boxes_display_toolbar_real_motion_notify_event;
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_display_toolbar_finalize;
#line 1278 "display-page.c"
}


static void boxes_display_toolbar_instance_init (BoxesDisplayToolbar * self) {
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv = BOXES_DISPLAY_TOOLBAR_GET_PRIVATE (self);
#line 1285 "display-page.c"
}


static void boxes_display_toolbar_finalize (GObject* obj) {
	BoxesDisplayToolbar * self;
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_DISPLAY_TOOLBAR, BoxesDisplayToolbar);
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (boxes_display_toolbar_parent_class)->finalize (obj);
#line 1295 "display-page.c"
}


GType boxes_display_toolbar_get_type (void) {
	static volatile gsize boxes_display_toolbar_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_display_toolbar_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesDisplayToolbarClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_display_toolbar_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesDisplayToolbar), 0, (GInstanceInitFunc) boxes_display_toolbar_instance_init, NULL };
		GType boxes_display_toolbar_type_id;
		boxes_display_toolbar_type_id = g_type_register_static (GTK_TYPE_HEADER_BAR, "BoxesDisplayToolbar", &g_define_type_info, 0);
		g_once_init_leave (&boxes_display_toolbar_type_id__volatile, boxes_display_toolbar_type_id);
	}
	return boxes_display_toolbar_type_id__volatile;
}


static gboolean _____lambda19_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, TRUE);
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_show_id = (guint) 0;
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1321 "display-page.c"
}


static gboolean ______lambda19__gsource_func (gpointer self) {
	gboolean result;
	result = _____lambda19_ (self);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1330 "display-page.c"
}


static gboolean _____lambda20_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
	BoxesApp* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_hide_id = (guint) 0;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _tmp0_->duration;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = _tmp1_;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1352 "display-page.c"
}


static gboolean ______lambda20__gsource_func (gpointer self) {
	gboolean result;
	result = _____lambda20_ (self);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1361 "display-page.c"
}


static gboolean __lambda18_ (BoxesDisplayPage* self, GdkEvent* event) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	BoxesApp* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp6_ = FALSE;
	GdkEvent* _tmp26_ = NULL;
	GdkEventType _tmp27_ = 0;
	GtkEventBox* _tmp28_ = NULL;
	GtkWidget* _tmp29_ = NULL;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_app;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_get_fullscreen (_tmp1_);
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_) {
#line 1386 "display-page.c"
		GdkEvent* _tmp4_ = NULL;
		GdkEventType _tmp5_ = 0;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = event;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = _tmp4_->type;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp5_ == GDK_MOTION_NOTIFY;
#line 1395 "display-page.c"
	} else {
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1399 "display-page.c"
	}
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp0_;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp6_) {
#line 1405 "display-page.c"
		gdouble y = 0.0;
		GdkEvent* _tmp7_ = NULL;
		GdkEventMotion _tmp8_ = {0};
		gdouble _tmp9_ = 0.0;
		gboolean _tmp10_ = FALSE;
		gdouble _tmp11_ = 0.0;
		gboolean _tmp13_ = FALSE;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = event;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp8_ = _tmp7_->motion;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp9_ = _tmp8_.y;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		y = _tmp9_;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = y;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (_tmp11_ <= ((gdouble) 0)) {
#line 1425 "display-page.c"
			guint _tmp12_ = 0U;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp12_ = self->priv->toolbar_show_id;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp10_ = _tmp12_ == ((guint) 0);
#line 1431 "display-page.c"
		} else {
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp10_ = FALSE;
#line 1435 "display-page.c"
		}
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp13_ = _tmp10_;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (_tmp13_) {
#line 1441 "display-page.c"
			GdkEvent* _tmp14_ = NULL;
			GdkEventMotion _tmp15_ = {0};
			GdkModifierType _tmp16_ = 0;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			boxes_display_page_toolbar_event_stop (self);
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp14_ = event;
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp15_ = _tmp14_->motion;
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp16_ = _tmp15_.state;
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			if ((_tmp16_ & ((((((((((GDK_SHIFT_MASK | GDK_CONTROL_MASK) | GDK_MOD1_MASK) | GDK_SUPER_MASK) | GDK_HYPER_MASK) | GDK_META_MASK) | GDK_BUTTON1_MASK) | GDK_BUTTON2_MASK) | GDK_BUTTON3_MASK) | GDK_BUTTON4_MASK) | GDK_BUTTON5_MASK)) == 0) {
#line 1455 "display-page.c"
				BoxesApp* _tmp17_ = NULL;
				guint _tmp18_ = 0U;
				guint _tmp19_ = 0U;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp17_ = boxes_app_app;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp18_ = _tmp17_->duration;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp19_ = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp18_, ______lambda19__gsource_func, g_object_ref (self), g_object_unref);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				self->priv->toolbar_show_id = _tmp19_;
#line 1467 "display-page.c"
			}
		} else {
			gboolean _tmp20_ = FALSE;
			gdouble _tmp21_ = 0.0;
			gboolean _tmp23_ = FALSE;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp21_ = y;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			if (_tmp21_ > ((gdouble) 5)) {
#line 1477 "display-page.c"
				guint _tmp22_ = 0U;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp22_ = self->priv->toolbar_hide_id;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp20_ = _tmp22_ == ((guint) 0);
#line 1483 "display-page.c"
			} else {
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp20_ = FALSE;
#line 1487 "display-page.c"
			}
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp23_ = _tmp20_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			if (_tmp23_) {
#line 1493 "display-page.c"
				guint _tmp24_ = 0U;
				guint _tmp25_ = 0U;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				boxes_display_page_toolbar_event_stop (self);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp24_ = self->priv->overlay_toolbar_invisible_timeout;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp25_ = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp24_, ______lambda20__gsource_func, g_object_ref (self), g_object_unref);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				self->priv->toolbar_hide_id = _tmp25_;
#line 1504 "display-page.c"
			}
		}
	}
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp26_ = event;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp27_ = _tmp26_->type;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp27_ == GDK_GRAB_BROKEN) {
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		result = FALSE;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return result;
#line 1518 "display-page.c"
	}
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp28_ = self->priv->event_box;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp29_ = gtk_bin_get_child ((GtkBin*) _tmp28_);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp29_ != NULL) {
#line 1526 "display-page.c"
		GtkEventBox* _tmp30_ = NULL;
		GtkWidget* _tmp31_ = NULL;
		GdkEvent* _tmp32_ = NULL;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp30_ = self->priv->event_box;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp31_ = gtk_bin_get_child ((GtkBin*) _tmp30_);
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp32_ = event;
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_event (_tmp31_, _tmp32_);
#line 1538 "display-page.c"
	}
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1544 "display-page.c"
}


static gboolean ___lambda18__gtk_widget_event (GtkWidget* _sender, GdkEvent* event, gpointer self) {
	gboolean result;
	result = __lambda18_ (self, event);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1553 "display-page.c"
}


static gboolean __lambda21_ (BoxesDisplayPage* self, GdkEventWindowState* event) {
	gboolean result = FALSE;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1567 "display-page.c"
}


static gboolean ___lambda21__gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self) {
	gboolean result;
	result = __lambda21_ (self, event);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1576 "display-page.c"
}


BoxesDisplayPage* boxes_display_page_construct (GType object_type) {
	BoxesDisplayPage * self = NULL;
	BoxesApp* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
	GtkEventBox* _tmp2_ = NULL;
	GtkEventBox* _tmp3_ = NULL;
	GtkStyleContext* _tmp4_ = NULL;
	GtkEventBox* _tmp5_ = NULL;
	GtkEventBox* _tmp6_ = NULL;
	GtkEventBox* _tmp7_ = NULL;
	BoxesDisplayToolbar* _tmp8_ = NULL;
	GtkBox* _tmp9_ = NULL;
	GtkBox* _tmp10_ = NULL;
	BoxesDisplayToolbar* _tmp11_ = NULL;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp12_ = NULL;
	BoxesApp* _tmp13_ = NULL;
	GtkApplicationWindow* _tmp14_ = NULL;
	GtkEventBox* _tmp15_ = NULL;
	GtkEventBox* _tmp16_ = NULL;
	GtkBox* _tmp17_ = NULL;
	BoxesDisplayToolbar* _tmp18_ = NULL;
	GtkEventBox* _tmp19_ = NULL;
	GtkEventBox* _tmp20_ = NULL;
	BoxesDisplayToolbar* _tmp21_ = NULL;
	GtkEventBox* _tmp22_ = NULL;
	GtkEventBox* _tmp23_ = NULL;
	GtkGrid* _tmp24_ = NULL;
	GtkGrid* _tmp25_ = NULL;
	GtkGrid* _tmp26_ = NULL;
	GtkGrid* _tmp27_ = NULL;
	GtkEventBox* _tmp28_ = NULL;
	GtkEventBox* _tmp29_ = NULL;
	GtkGrid* _tmp30_ = NULL;
	GtkBox* _tmp31_ = NULL;
	BoxesDisplayToolbar* _tmp32_ = NULL;
	BoxesDisplayToolbar* _tmp33_ = NULL;
	BoxesDisplayToolbar* _tmp34_ = NULL;
	BoxesDisplayToolbar* _tmp35_ = NULL;
	BoxesDisplayToolbar* _tmp36_ = NULL;
	BoxesDisplayToolbar* _tmp37_ = NULL;
	BoxesDisplayToolbar* _tmp38_ = NULL;
	BoxesDisplayToolbar* _tmp39_ = NULL;
	BoxesDisplayToolbar* _tmp40_ = NULL;
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = (BoxesDisplayPage*) g_object_new (object_type, NULL);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _tmp0_->duration;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = _tmp1_;
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = (GtkEventBox*) gtk_event_box_new ();
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp2_);
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->event_box);
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->event_box = _tmp2_;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = self->priv->event_box;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = gtk_widget_get_style_context ((GtkWidget*) _tmp3_);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_style_context_add_class (_tmp4_, "boxes-toplevel");
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = self->priv->event_box;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_events ((GtkWidget*) _tmp5_, (gint) (GDK_POINTER_MOTION_MASK | GDK_SCROLL_MASK));
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->priv->event_box;
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_event_box_set_above_child (_tmp6_, TRUE);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = self->priv->event_box;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object ((GtkWidget*) _tmp7_, "event", (GCallback) ___lambda18__gtk_widget_event, self, 0);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = boxes_display_toolbar_new (FALSE, TRUE);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp8_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->toolbar);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar = _tmp8_;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp9_);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->box);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->box = _tmp9_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = self->priv->box;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = self->priv->toolbar;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_box_pack_start (_tmp10_, (GtkWidget*) _tmp11_, FALSE, FALSE, (guint) 0);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = (GtkGrid*) gtk_grid_new ();
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp12_);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	grid = _tmp12_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = boxes_app_app;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = _tmp13_->window;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object ((GtkWidget*) _tmp14_, "window-state-event", (GCallback) ___lambda21__gtk_widget_window_state_event, self, 0);
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp15_ = self->priv->event_box;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _tmp15_, TRUE);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp16_ = self->priv->event_box;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_vexpand ((GtkWidget*) _tmp16_, TRUE);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp17_ = self->priv->box;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_box_pack_start (_tmp17_, (GtkWidget*) grid, TRUE, TRUE, (guint) 0);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp18_ = boxes_display_toolbar_new (TRUE, TRUE);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp18_);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar = _tmp18_;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp19_ = (GtkEventBox*) gtk_event_box_new ();
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp19_);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar_box);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_box = _tmp19_;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp20_ = self->priv->overlay_toolbar_box;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp21_ = self->priv->overlay_toolbar;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_container_add ((GtkContainer*) _tmp20_, (GtkWidget*) _tmp21_);
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp22_ = self->priv->overlay_toolbar_box;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp22_, GTK_ALIGN_START);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp23_ = self->priv->overlay_toolbar_box;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_vexpand ((GtkWidget*) _tmp23_, FALSE);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp24_ = (GtkGrid*) gtk_grid_new ();
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp24_);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->notification_grid);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->notification_grid = _tmp24_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp25_ = self->priv->notification_grid;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp25_, GTK_ALIGN_START);
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp26_ = self->priv->notification_grid;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp26_, GTK_ALIGN_CENTER);
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp27_ = self->priv->notification_grid;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_vexpand ((GtkWidget*) _tmp27_, TRUE);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp28_ = self->priv->event_box;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp28_, 0, 0, 1, 2);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp29_ = self->priv->overlay_toolbar_box;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp29_, 0, 0, 1, 1);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp30_ = self->priv->notification_grid;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp30_, 0, 1, 1, 1);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp31_ = self->priv->box;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp31_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp32_ = boxes_display_toolbar_new (FALSE, FALSE);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp32_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->title_toolbar);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->title_toolbar = _tmp32_;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp33_ = self->priv->toolbar;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp34_ = self->priv->overlay_toolbar;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp33_, "title", (GObject*) _tmp34_, "title", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp35_ = self->priv->toolbar;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp36_ = self->priv->overlay_toolbar;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp35_, "subtitle", (GObject*) _tmp36_, "subtitle", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp37_ = self->priv->toolbar;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp38_ = self->title_toolbar;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp37_, "title", (GObject*) _tmp38_, "title", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp39_ = self->priv->toolbar;
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp40_ = self->title_toolbar;
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp39_, "subtitle", (GObject*) _tmp40_, "subtitle", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (grid);
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return self;
#line 1806 "display-page.c"
}


BoxesDisplayPage* boxes_display_page_new (void) {
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return boxes_display_page_construct (BOXES_TYPE_DISPLAY_PAGE);
#line 1813 "display-page.c"
}


void boxes_display_page_add_notification (BoxesDisplayPage* self, GtkWidget* w) {
	GtkGrid* _tmp0_ = NULL;
	GtkWidget* _tmp1_ = NULL;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (w != NULL);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->notification_grid;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = w;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_grid_attach (_tmp0_, _tmp1_, 0, 0, 1, 1);
#line 1830 "display-page.c"
}


void boxes_display_page_get_size (BoxesDisplayPage* self, gint* width, gint* height) {
	gint _vala_width = 0;
	gint _vala_height = 0;
	gint tb_height = 0;
	BoxesApp* _tmp0_ = NULL;
	GtkApplicationWindow* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
	BoxesApp* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _tmp0_->window;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_window_get_size ((GtkWindow*) _tmp1_, &_tmp2_, &_tmp3_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_vala_width = _tmp2_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_vala_height = _tmp3_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = boxes_app_app;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_app_get_fullscreen (_tmp4_);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (!_tmp6_) {
#line 1865 "display-page.c"
		BoxesDisplayToolbar* _tmp7_ = NULL;
		gint _tmp8_ = 0;
		gint _tmp9_ = 0;
		gint _tmp10_ = 0;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = self->priv->toolbar;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_get_preferred_height ((GtkWidget*) _tmp7_, NULL, &_tmp8_);
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		tb_height = _tmp8_;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp9_ = _vala_height;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = tb_height;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_vala_height = _tmp9_ - _tmp10_;
#line 1882 "display-page.c"
	}
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (width) {
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		*width = _vala_width;
#line 1888 "display-page.c"
	}
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (height) {
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		*height = _vala_height;
#line 1894 "display-page.c"
	}
}


static void boxes_display_page_update_toolbar_visible (BoxesDisplayPage* self) {
	gboolean _tmp0_ = FALSE;
	BoxesApp* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp6_ = FALSE;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_app;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_get_fullscreen (_tmp1_);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_) {
#line 1915 "display-page.c"
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_ = FALSE;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = boxes_display_page_get_can_grab_mouse (self);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = _tmp4_;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp5_;
#line 1924 "display-page.c"
	} else {
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1928 "display-page.c"
	}
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp0_;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp6_) {
#line 1934 "display-page.c"
		BoxesDisplayToolbar* _tmp7_ = NULL;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = self->priv->toolbar;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp7_, TRUE);
#line 1940 "display-page.c"
	} else {
		BoxesDisplayToolbar* _tmp8_ = NULL;
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp8_ = self->priv->toolbar;
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp8_, FALSE);
#line 1947 "display-page.c"
	}
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 1951 "display-page.c"
}


static void boxes_display_page_set_overlay_toolbar_visible (BoxesDisplayPage* self, gboolean visible) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp5_ = FALSE;
	GtkEventBox* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = visible;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_) {
#line 1967 "display-page.c"
		BoxesDisplayToolbar* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->toolbar;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = gtk_widget_get_visible ((GtkWidget*) _tmp2_);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 1979 "display-page.c"
	} else {
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1983 "display-page.c"
	}
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp0_;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp5_) {
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_debug ("display-page.vala:270: toolbar is visible, don't show overlay toolbar");
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return;
#line 1993 "display-page.c"
	}
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->priv->overlay_toolbar_box;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = visible;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp6_, _tmp7_);
#line 2001 "display-page.c"
}


static void boxes_display_page_toolbar_event_stop (BoxesDisplayPage* self) {
	guint _tmp0_ = 0U;
	guint _tmp2_ = 0U;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->toolbar_hide_id;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 2014 "display-page.c"
		guint _tmp1_ = 0U;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->priv->toolbar_hide_id;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp1_);
#line 2020 "display-page.c"
	}
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_hide_id = (guint) 0;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->toolbar_show_id;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp2_ != ((guint) 0)) {
#line 2028 "display-page.c"
		guint _tmp3_ = 0U;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = self->priv->toolbar_show_id;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp3_);
#line 2034 "display-page.c"
	}
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_show_id = (guint) 0;
#line 2038 "display-page.c"
}


void boxes_display_page_show (BoxesDisplayPage* self) {
	BoxesApp* _tmp0_ = NULL;
	GtkNotebook* _tmp1_ = NULL;
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _tmp0_->notebook;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_set (_tmp1_, "page", (gint) BOXES_APP_PAGE_DISPLAY, NULL);
#line 2053 "display-page.c"
}


void boxes_display_page_update_title (BoxesDisplayPage* self) {
	BoxesMachine* machine = NULL;
	BoxesApp* _tmp0_ = NULL;
	BoxesCollectionItem* _tmp1_ = NULL;
	BoxesMachine* _tmp2_ = NULL;
	BoxesMachine* _tmp3_ = NULL;
	gchar* title = NULL;
	BoxesMachine* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* hint = NULL;
	gboolean _tmp8_ = FALSE;
	gboolean _tmp9_ = FALSE;
	BoxesDisplayToolbar* _tmp12_ = NULL;
	const gchar* _tmp13_ = NULL;
	BoxesDisplayToolbar* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _tmp0_->current_item;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp1_) : NULL);
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	machine = _tmp2_;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = machine;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (_tmp3_ != NULL);
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = machine;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp4_);
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = g_strdup (_tmp6_);
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	title = _tmp7_;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	hint = NULL;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = boxes_display_page_get_grabbed (self);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = _tmp8_;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp9_) {
#line 2107 "display-page.c"
		const gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = _ ("(press Ctrl+Alt keys to ungrab)");
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = g_strdup (_tmp10_);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_free0 (hint);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		hint = _tmp11_;
#line 2118 "display-page.c"
	}
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = self->priv->toolbar;
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = title;
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_header_bar_set_title ((GtkHeaderBar*) _tmp12_, _tmp13_);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = self->priv->toolbar;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp15_ = hint;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_header_bar_set_subtitle ((GtkHeaderBar*) _tmp14_, _tmp15_);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_free0 (hint);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_free0 (title);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (machine);
#line 2138 "display-page.c"
}


static Block18Data* block18_data_ref (Block18Data* _data18_) {
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_atomic_int_inc (&_data18_->_ref_count_);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return _data18_;
#line 2147 "display-page.c"
}


static void block18_data_unref (void * _userdata_) {
	Block18Data* _data18_;
	_data18_ = (Block18Data*) _userdata_;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (g_atomic_int_dec_and_test (&_data18_->_ref_count_)) {
#line 2156 "display-page.c"
		BoxesDisplayPage * self;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self = _data18_->self;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (_data18_->widget);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (self);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_slice_free (Block18Data, _data18_);
#line 2166 "display-page.c"
	}
}


static gboolean __lambda23_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
#line 319 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_title (self);
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2179 "display-page.c"
}


static gboolean ___lambda23__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda23_ (self);
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2188 "display-page.c"
}


static void __lambda22_ (BoxesDisplayPage* self) {
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_idle_add_full (G_PRIORITY_HIGH, ___lambda23__gsource_func, g_object_ref (self), g_object_unref);
#line 2195 "display-page.c"
}


static void ___lambda22__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda22_ (self);
#line 2202 "display-page.c"
}


static void __lambda24_ (BoxesDisplayPage* self) {
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 2209 "display-page.c"
}


static void ___lambda24__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda24_ (self);
#line 2216 "display-page.c"
}


static gboolean __lambda25_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
	BoxesApp* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = (guint) 1000;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_get_fullscreen (_tmp0_);
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _tmp1_;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, _tmp2_);
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2241 "display-page.c"
}


static gboolean ___lambda25__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda25_ (self);
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2250 "display-page.c"
}


static void __lambda27_ (Block18Data* _data18_) {
	BoxesDisplayPage * self;
	GtkEventBox* _tmp0_ = NULL;
	GdkWindow* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	GdkWindow* _tmp3_ = NULL;
	GdkCursor* _tmp4_ = NULL;
	GdkCursor* _tmp5_ = NULL;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data18_->self;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->event_box;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = gtk_widget_get_window ((GtkWidget*) _tmp0_);
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _data18_->widget;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_widget_get_window (_tmp2_);
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = gdk_window_get_cursor (_tmp3_);
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp4_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gdk_window_set_cursor (_tmp1_, _tmp5_);
#line 2278 "display-page.c"
}


static void ___lambda27__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda27_ (self);
#line 2285 "display-page.c"
}


static gboolean __lambda26_ (Block18Data* _data18_) {
	BoxesDisplayPage * self;
	gboolean result = FALSE;
	GtkWidget* _tmp0_ = NULL;
	gulong _tmp1_ = 0UL;
	GtkWidget* _tmp2_ = NULL;
	GdkWindow* _tmp3_ = NULL;
	gulong _tmp4_ = 0UL;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data18_->self;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = _data18_->widget;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _data18_->draw_id;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _tmp1_);
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _data18_->widget;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_widget_get_window (_tmp2_);
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = g_signal_connect_data ((GObject*) _tmp3_, "notify::cursor", (GCallback) ___lambda27__g_object_notify, block18_data_ref (_data18_), (GClosureNotify) block18_data_unref, 0);
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->cursor_id = _tmp4_;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2317 "display-page.c"
}


static gboolean ___lambda26__gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self) {
	gboolean result;
	result = __lambda26_ (self);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2326 "display-page.c"
}


void boxes_display_page_show_display (BoxesDisplayPage* self, BoxesDisplay* display, GtkWidget* widget) {
	Block18Data* _data18_;
	GtkWidget* _tmp0_ = NULL;
	GtkWidget* _tmp1_ = NULL;
	GtkEventBox* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
	GtkWidget* _tmp4_ = NULL;
	GtkWidget* _tmp5_ = NULL;
	GtkWidget* _tmp6_ = NULL;
	BoxesDisplay* _tmp7_ = NULL;
	BoxesDisplay* _tmp8_ = NULL;
	BoxesDisplay* _tmp9_ = NULL;
	gulong _tmp10_ = 0UL;
	BoxesDisplay* _tmp11_ = NULL;
	gulong _tmp12_ = 0UL;
	GtkWidget* _tmp13_ = NULL;
	GtkWidget* _tmp14_ = NULL;
	gint _tmp15_ = 0;
	GtkEventBox* _tmp16_ = NULL;
	GtkWidget* _tmp17_ = NULL;
	GtkEventBox* _tmp18_ = NULL;
	GtkWidget* _tmp19_ = NULL;
	gulong _tmp20_ = 0UL;
	GtkWidget* _tmp21_ = NULL;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (display != NULL);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (widget != NULL);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data18_ = g_slice_new0 (Block18Data);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data18_->_ref_count_ = 1;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data18_->self = g_object_ref (self);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = widget;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (_data18_->widget);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data18_->widget = _tmp1_;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->event_box;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_bin_get_child ((GtkBin*) _tmp2_);
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = _data18_->widget;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_ == _tmp4_) {
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		block18_data_unref (_data18_);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_data18_ = NULL;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return;
#line 2388 "display-page.c"
	}
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_display_page_remove_display (self);
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (_tmp6_);
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = display;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display = _tmp8_;
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = display;
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = g_signal_connect_object ((GObject*) _tmp9_, "notify::mouse-grabbed", (GCallback) ___lambda22__g_object_notify, self, 0);
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display_grabbed_id = _tmp10_;
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = display;
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = g_signal_connect_object ((GObject*) _tmp11_, "notify::can-grab-mouse", (GCallback) ___lambda24__g_object_notify, self, 0);
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display_can_grab_id = _tmp12_;
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda25__gsource_func, g_object_ref (self), g_object_unref);
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_title (self);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = _data18_->widget;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = _data18_->widget;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp15_ = gtk_widget_get_events (_tmp14_);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_events (_tmp13_, _tmp15_ & (~GDK_POINTER_MOTION_MASK));
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp16_ = self->priv->event_box;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp17_ = _data18_->widget;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_container_add ((GtkContainer*) _tmp16_, _tmp17_);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp18_ = self->priv->event_box;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp18_);
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data18_->draw_id = (gulong) 0;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp19_ = _data18_->widget;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp20_ = g_signal_connect_data (_tmp19_, "draw", (GCallback) ___lambda26__gtk_widget_draw, block18_data_ref (_data18_), (GClosureNotify) block18_data_unref, 0);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data18_->draw_id = _tmp20_;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_show (self);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp21_ = _data18_->widget;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_grab_focus (_tmp21_);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	block18_data_unref (_data18_);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data18_ = NULL;
#line 2458 "display-page.c"
}


GtkWidget* boxes_display_page_remove_display (BoxesDisplayPage* self) {
	GtkWidget* result = NULL;
	gulong _tmp0_ = 0UL;
	gulong _tmp3_ = 0UL;
	GtkWidget* widget = NULL;
	GtkEventBox* _tmp6_ = NULL;
	GtkWidget* _tmp7_ = NULL;
	GtkWidget* _tmp8_ = NULL;
	gulong _tmp9_ = 0UL;
	GtkWidget* _tmp13_ = NULL;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->display_grabbed_id;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 2478 "display-page.c"
		BoxesDisplay* _tmp1_ = NULL;
		gulong _tmp2_ = 0UL;
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->priv->display;
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display_grabbed_id;
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->display_grabbed_id = (gulong) 0;
#line 2489 "display-page.c"
	}
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = self->priv->display_can_grab_id;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_ != ((gulong) 0)) {
#line 2495 "display-page.c"
		BoxesDisplay* _tmp4_ = NULL;
		gulong _tmp5_ = 0UL;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = self->priv->display;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = self->priv->display_can_grab_id;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp4_, _tmp5_);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->display_can_grab_id = (gulong) 0;
#line 2506 "display-page.c"
	}
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->priv->event_box;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = gtk_bin_get_child ((GtkBin*) _tmp6_);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	widget = _tmp8_;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = self->priv->cursor_id;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp9_ != ((gulong) 0)) {
#line 2520 "display-page.c"
		GtkWidget* _tmp10_ = NULL;
		GdkWindow* _tmp11_ = NULL;
		gulong _tmp12_ = 0UL;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = widget;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = gtk_widget_get_window (_tmp10_);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp12_ = self->priv->cursor_id;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp11_, _tmp12_);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->cursor_id = (gulong) 0;
#line 2534 "display-page.c"
	}
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = widget;
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp13_ != NULL) {
#line 2540 "display-page.c"
		GtkEventBox* _tmp14_ = NULL;
		GtkWidget* _tmp15_ = NULL;
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp14_ = self->priv->event_box;
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp15_ = widget;
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_container_remove ((GtkContainer*) _tmp14_, _tmp15_);
#line 2549 "display-page.c"
	}
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = widget;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2555 "display-page.c"
}


GtkWidget* boxes_display_page_get_widget (BoxesDisplayPage* self) {
	GtkWidget* result;
	GtkBox* _tmp0_ = NULL;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->box;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = (GtkWidget*) _tmp0_;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2570 "display-page.c"
}


static gboolean boxes_display_page_get_can_grab_mouse (BoxesDisplayPage* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_ = NULL;
	gboolean _tmp5_ = FALSE;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 2585 "display-page.c"
		BoxesDisplay* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_can_grab_mouse (_tmp2_);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 2597 "display-page.c"
	} else {
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 2601 "display-page.c"
	}
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp0_;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = _tmp5_;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2609 "display-page.c"
}


static gboolean boxes_display_page_get_grabbed (BoxesDisplayPage* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_ = NULL;
	gboolean _tmp5_ = FALSE;
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 2624 "display-page.c"
		BoxesDisplay* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_mouse_grabbed (_tmp2_);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 2636 "display-page.c"
	} else {
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 2640 "display-page.c"
	}
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp0_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = _tmp5_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 2648 "display-page.c"
}


static void boxes_display_page_class_init (BoxesDisplayPageClass * klass) {
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_parent_class = g_type_class_peek_parent (klass);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_type_class_add_private (klass, sizeof (BoxesDisplayPagePrivate));
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_display_page_get_property;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_display_page_finalize;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_DISPLAY_PAGE_WIDGET, g_param_spec_object ("widget", "widget", "widget", GTK_TYPE_WIDGET, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 2663 "display-page.c"
}


static void boxes_display_page_instance_init (BoxesDisplayPage * self) {
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv = BOXES_DISPLAY_PAGE_GET_PRIVATE (self);
#line 2670 "display-page.c"
}


static void boxes_display_page_finalize (GObject* obj) {
	BoxesDisplayPage * self;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage);
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_toolbar_event_stop (self);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->title_toolbar);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->event_box);
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->box);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar);
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar_box);
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->notification_grid);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->toolbar);
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (boxes_display_page_parent_class)->finalize (obj);
#line 2698 "display-page.c"
}


GType boxes_display_page_get_type (void) {
	static volatile gsize boxes_display_page_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_display_page_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesDisplayPageClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_display_page_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesDisplayPage), 0, (GInstanceInitFunc) boxes_display_page_instance_init, NULL };
		GType boxes_display_page_type_id;
		boxes_display_page_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesDisplayPage", &g_define_type_info, 0);
		g_once_init_leave (&boxes_display_page_type_id__volatile, boxes_display_page_type_id);
	}
	return boxes_display_page_type_id__volatile;
}


static void _vala_boxes_display_page_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesDisplayPage * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	switch (property_id) {
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		case BOXES_DISPLAY_PAGE_WIDGET:
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_value_set_object (value, boxes_display_page_get_widget (self));
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		break;
#line 2725 "display-page.c"
		default:
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		break;
#line 2731 "display-page.c"
	}
}



