/* display-page.c generated by valac 0.26.0.50-d9a75, 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 <glib/gi18n-lib.h>
#include <libgd/gd.h>
#include <gio/gio.h>
#include <cairo.h>
#include <float.h>
#include <math.h>


#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_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;

#define BOXES_TYPE_APP_WINDOW (boxes_app_window_get_type ())
#define BOXES_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindow))
#define BOXES_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))
#define BOXES_IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP_WINDOW))
#define BOXES_IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP_WINDOW))
#define BOXES_APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))

typedef struct _BoxesAppWindow BoxesAppWindow;
typedef struct _BoxesAppWindowClass BoxesAppWindowClass;

#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;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#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_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;
#define _g_free0(var) (var = (g_free (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_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_UI_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_UI, BoxesUIIface))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIIface BoxesUIIface;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
typedef struct _BoxesAppWindowPrivate BoxesAppWindowPrivate;

#define BOXES_TYPE_WIZARD_WINDOW (boxes_wizard_window_get_type ())
#define BOXES_WIZARD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindow))
#define BOXES_WIZARD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindowClass))
#define BOXES_IS_WIZARD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_WINDOW))
#define BOXES_IS_WIZARD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_WINDOW))
#define BOXES_WIZARD_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindowClass))

typedef struct _BoxesWizardWindow BoxesWizardWindow;
typedef struct _BoxesWizardWindowClass BoxesWizardWindowClass;

#define BOXES_TYPE_PROPERTIES_WINDOW (boxes_properties_window_get_type ())
#define BOXES_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindow))
#define BOXES_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindowClass))
#define BOXES_IS_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTIES_WINDOW))
#define BOXES_IS_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTIES_WINDOW))
#define BOXES_PROPERTIES_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindowClass))

typedef struct _BoxesPropertiesWindow BoxesPropertiesWindow;
typedef struct _BoxesPropertiesWindowClass BoxesPropertiesWindowClass;

#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_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_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_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;
typedef struct _Block23Data Block23Data;

struct _BoxesDisplayPage {
	GtkBox parent_instance;
	BoxesDisplayPagePrivate * priv;
	BoxesDisplayToolbar* toolbar;
	GtkLabel* size_label;
};

struct _BoxesDisplayPageClass {
	GtkBoxClass parent_class;
};

struct _BoxesDisplayPagePrivate {
	GtkEventBox* event_box;
	BoxesDisplayToolbar* overlay_toolbar;
	GtkEventBox* overlay_toolbar_box;
	guint toolbar_hide_id;
	guint toolbar_show_id;
	gulong cursor_id;
	guint overlay_toolbar_invisible_timeout;
	guint size_label_timeout;
	BoxesAppWindow* window;
	BoxesDisplay* display;
	gulong display_can_grab_id;
	gulong display_grabbed_id;
};

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

struct _BoxesUIIface {
	GTypeInterface parent_iface;
	BoxesUIState (*get_previous_ui_state) (BoxesUI* self);
	void (*set_previous_ui_state) (BoxesUI* self, BoxesUIState value);
	BoxesUIState (*get_ui_state) (BoxesUI* self);
	void (*set_ui_state) (BoxesUI* self, BoxesUIState value);
};

struct _BoxesAppWindow {
	GtkApplicationWindow parent_instance;
	BoxesAppWindowPrivate * priv;
	BoxesWizardWindow* wizard_window;
	BoxesPropertiesWindow* props_window;
	BoxesSearchbar* searchbar;
	BoxesTopbar* topbar;
	BoxesNotificationbar* notificationbar;
	BoxesSelectionbar* selectionbar;
	BoxesDisplayPage* display_page;
	BoxesEmptyBoxes* empty_boxes;
	GtkStack* below_bin;
	BoxesCollectionView* view;
	GSettings* settings;
};

struct _BoxesAppWindowClass {
	GtkApplicationWindowClass parent_class;
};

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


static gpointer boxes_display_page_parent_class = NULL;

GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_display_toolbar_get_type (void) G_GNUC_CONST;
GType boxes_app_window_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
};
static void boxes_display_page_toolbar_event_stop (BoxesDisplayPage* self);
#define BOXES_DISPLAY_PAGE_SCREEN_EDGE_WIDTH ((guint8) 100)
void boxes_display_page_setup_ui (BoxesDisplayPage* self, BoxesAppWindow* window);
#define BOXES_APP_WINDOW_TRANSITION_DURATION ((guint) 400)
static gboolean __lambda42_ (BoxesDisplayPage* self, GdkEventWindowState* event);
static void boxes_display_page_update_toolbar_visible (BoxesDisplayPage* self);
static gboolean ___lambda42__gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self);
void boxes_display_toolbar_setup_ui (BoxesDisplayToolbar* self, BoxesAppWindow* window);
gboolean boxes_app_window_get_fullscreened (BoxesAppWindow* self);
static gboolean boxes_display_page_get_can_grab_mouse (BoxesDisplayPage* self);
static void boxes_display_page_set_overlay_toolbar_visible (BoxesDisplayPage* self, gboolean visible);
void boxes_display_page_update_title (BoxesDisplayPage* self);
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
BoxesCollectionItem* boxes_app_window_get_current_item (BoxesAppWindow* self);
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);
void boxes_display_page_replace_display (BoxesDisplayPage* self, BoxesDisplay* display, GtkWidget* widget);
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_wizard_window_get_type (void) G_GNUC_CONST;
GType boxes_properties_window_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_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
static Block23Data* block23_data_ref (Block23Data* _data23_);
static void block23_data_unref (void * _userdata_);
GtkWidget* boxes_display_page_remove_display (BoxesDisplayPage* self);
static void __lambda58_ (BoxesDisplayPage* self);
static gboolean __lambda59_ (BoxesDisplayPage* self);
static gboolean ___lambda59__gsource_func (gpointer self);
static void ___lambda58__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda60_ (BoxesDisplayPage* self);
static void ___lambda60__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static gboolean __lambda61_ (BoxesDisplayPage* self);
static gboolean ___lambda61__gsource_func (gpointer self);
static gboolean __lambda62_ (Block23Data* _data23_);
static void __lambda63_ (Block23Data* _data23_);
static void ___lambda63__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static gboolean ___lambda62__gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self);
static gboolean boxes_display_page_on_event_box_event (BoxesDisplayPage* self, GdkEvent* event);
static gboolean _____lambda64_ (BoxesDisplayPage* self);
static gboolean ______lambda64__gsource_func (gpointer self);
static gboolean _____lambda65_ (BoxesDisplayPage* self);
static gboolean ______lambda65__gsource_func (gpointer self);
static gboolean _boxes_display_page_on_event_box_event_gtk_widget_event (GtkWidget* _sender, GdkEvent* event, gpointer self);
static void boxes_display_page_on_size_allocate (BoxesDisplayPage* self, GtkAllocation* allocation);
static gboolean __lambda66_ (BoxesDisplayPage* self);
static gboolean ___lambda66__gsource_func (gpointer self);
static void _boxes_display_page_on_size_allocate_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self);
BoxesDisplayPage* boxes_display_page_new (void);
BoxesDisplayPage* boxes_display_page_construct (GType object_type);
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 gpointer _g_object_ref0 (gpointer self) {
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return self ? g_object_ref (self) : NULL;
#line 322 "display-page.c"
}


static gboolean __lambda42_ (BoxesDisplayPage* self, GdkEventWindowState* event) {
	gboolean result = FALSE;
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 336 "display-page.c"
}


static gboolean ___lambda42__gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self) {
	gboolean result;
	result = __lambda42_ ((BoxesDisplayPage*) self, event);
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 345 "display-page.c"
}


void boxes_display_page_setup_ui (BoxesDisplayPage* self, BoxesAppWindow* window) {
	BoxesAppWindow* _tmp0_ = NULL;
	BoxesAppWindow* _tmp1_ = NULL;
	GtkEventBox* _tmp2_ = NULL;
	BoxesAppWindow* _tmp3_ = NULL;
	BoxesDisplayToolbar* _tmp4_ = NULL;
	BoxesDisplayToolbar* _tmp5_ = NULL;
	BoxesDisplayToolbar* _tmp6_ = NULL;
	BoxesDisplayToolbar* _tmp7_ = NULL;
	BoxesDisplayToolbar* _tmp8_ = NULL;
	BoxesAppWindow* _tmp9_ = NULL;
	BoxesDisplayToolbar* _tmp10_ = NULL;
	BoxesAppWindow* _tmp11_ = NULL;
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (window != NULL);
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = window;
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->window);
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->window = _tmp1_;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = BOXES_APP_WINDOW_TRANSITION_DURATION;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->event_box;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_events ((GtkWidget*) _tmp2_, (gint) (GDK_POINTER_MOTION_MASK | GDK_SCROLL_MASK));
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = window;
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object ((GtkWidget*) _tmp3_, "window-state-event", (GCallback) ___lambda42__gtk_widget_window_state_event, self, 0);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = self->toolbar;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = self->priv->overlay_toolbar;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp4_, "title", (GObject*) _tmp5_, "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 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->toolbar;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = self->priv->overlay_toolbar;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp6_, "subtitle", (GObject*) _tmp7_, "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 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = self->toolbar;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = window;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_toolbar_setup_ui (_tmp8_, _tmp9_);
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = self->priv->overlay_toolbar;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = window;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_toolbar_setup_ui (_tmp10_, _tmp11_);
#line 408 "display-page.c"
}


static void boxes_display_page_update_toolbar_visible (BoxesDisplayPage* self) {
	gboolean _tmp0_ = FALSE;
	BoxesAppWindow* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->window;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_window_get_fullscreened (_tmp1_);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_) {
#line 427 "display-page.c"
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_ = FALSE;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = boxes_display_page_get_can_grab_mouse (self);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = _tmp4_;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp5_;
#line 436 "display-page.c"
	} else {
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 440 "display-page.c"
	}
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_) {
#line 444 "display-page.c"
		BoxesDisplayToolbar* _tmp6_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp6_ = self->toolbar;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp6_, TRUE);
#line 450 "display-page.c"
	} else {
		BoxesDisplayToolbar* _tmp7_ = NULL;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = self->toolbar;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp7_, FALSE);
#line 457 "display-page.c"
	}
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 461 "display-page.c"
}


static void boxes_display_page_set_overlay_toolbar_visible (BoxesDisplayPage* self, gboolean visible) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GtkEventBox* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = visible;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_) {
#line 476 "display-page.c"
		BoxesDisplayToolbar* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->toolbar;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = gtk_widget_get_visible ((GtkWidget*) _tmp2_);
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 488 "display-page.c"
	} else {
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 492 "display-page.c"
	}
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_) {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_debug ("display-page.vala:74: toolbar is visible, don't show overlay toolbar");
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		return;
#line 500 "display-page.c"
	}
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = self->priv->overlay_toolbar_box;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = visible;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp5_, _tmp6_);
#line 508 "display-page.c"
}


static void boxes_display_page_toolbar_event_stop (BoxesDisplayPage* self) {
	guint _tmp0_ = 0U;
	guint _tmp2_ = 0U;
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->toolbar_hide_id;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 521 "display-page.c"
		guint _tmp1_ = 0U;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->priv->toolbar_hide_id;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp1_);
#line 527 "display-page.c"
	}
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_hide_id = (guint) 0;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->toolbar_show_id;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp2_ != ((guint) 0)) {
#line 535 "display-page.c"
		guint _tmp3_ = 0U;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = self->priv->toolbar_show_id;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp3_);
#line 541 "display-page.c"
	}
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_show_id = (guint) 0;
#line 545 "display-page.c"
}


void boxes_display_page_update_title (BoxesDisplayPage* self) {
	BoxesMachine* machine = NULL;
	BoxesAppWindow* _tmp0_ = NULL;
	BoxesCollectionItem* _tmp1_ = NULL;
	BoxesCollectionItem* _tmp2_ = NULL;
	BoxesMachine* _tmp3_ = NULL;
	BoxesMachine* _tmp4_ = NULL;
	gchar* title = NULL;
	BoxesMachine* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* hint = NULL;
	gboolean _tmp9_ = FALSE;
	gboolean _tmp10_ = FALSE;
	BoxesDisplayToolbar* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	BoxesDisplayToolbar* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->window;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_window_get_current_item (_tmp0_);
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _tmp1_;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp2_) : NULL);
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	machine = _tmp3_;
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = machine;
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (_tmp4_ != NULL);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = machine;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp5_);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = _tmp6_;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	title = _tmp8_;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	hint = NULL;
#line 100 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = boxes_display_page_get_grabbed (self);
#line 100 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = _tmp9_;
#line 100 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp10_) {
#line 602 "display-page.c"
		const gchar* _tmp11_ = NULL;
		gchar* _tmp12_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = _ ("(press [left] Ctrl+Alt keys to ungrab)");
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp12_ = g_strdup (_tmp11_);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_free0 (hint);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		hint = _tmp12_;
#line 613 "display-page.c"
	}
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = self->toolbar;
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = title;
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_header_bar_set_title ((GtkHeaderBar*) _tmp13_, _tmp14_);
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp15_ = self->toolbar;
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp16_ = hint;
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_header_bar_set_subtitle ((GtkHeaderBar*) _tmp15_, _tmp16_);
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_free0 (hint);
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_free0 (title);
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (machine);
#line 633 "display-page.c"
}


void boxes_display_page_show_display (BoxesDisplayPage* self, BoxesDisplay* display, GtkWidget* widget) {
	BoxesDisplay* _tmp0_ = NULL;
	GtkWidget* _tmp1_ = NULL;
	BoxesAppWindow* _tmp2_ = NULL;
	GtkStack* _tmp3_ = NULL;
	GtkWidget* _tmp4_ = NULL;
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (display != NULL);
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (widget != NULL);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = display;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = widget;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_replace_display (self, _tmp0_, _tmp1_);
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->window;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_->below_bin;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_stack_set_visible_child_name (_tmp3_, "display-page");
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = widget;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_grab_focus (_tmp4_);
#line 665 "display-page.c"
}


static Block23Data* block23_data_ref (Block23Data* _data23_) {
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_atomic_int_inc (&_data23_->_ref_count_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return _data23_;
#line 674 "display-page.c"
}


static void block23_data_unref (void * _userdata_) {
	Block23Data* _data23_;
	_data23_ = (Block23Data*) _userdata_;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (g_atomic_int_dec_and_test (&_data23_->_ref_count_)) {
#line 683 "display-page.c"
		BoxesDisplayPage* self;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		self = _data23_->self;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (_data23_->widget);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (self);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_slice_free (Block23Data, _data23_);
#line 693 "display-page.c"
	}
}


static gboolean __lambda59_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_title (self);
#line 127 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 127 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 706 "display-page.c"
}


static gboolean ___lambda59__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda59_ ((BoxesDisplayPage*) self);
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 715 "display-page.c"
}


static void __lambda58_ (BoxesDisplayPage* self) {
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_idle_add_full (G_PRIORITY_HIGH, ___lambda59__gsource_func, g_object_ref (self), g_object_unref);
#line 722 "display-page.c"
}


static void ___lambda58__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda58_ ((BoxesDisplayPage*) self);
#line 729 "display-page.c"
}


static void __lambda60_ (BoxesDisplayPage* self) {
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 736 "display-page.c"
}


static void ___lambda60__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda60_ ((BoxesDisplayPage*) self);
#line 743 "display-page.c"
}


static gboolean __lambda61_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
	BoxesAppWindow* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = (guint) 1000;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->window;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_window_get_fullscreened (_tmp0_);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _tmp1_;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, _tmp2_);
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 768 "display-page.c"
}


static gboolean ___lambda61__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda61_ ((BoxesDisplayPage*) self);
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 777 "display-page.c"
}


static void __lambda63_ (Block23Data* _data23_) {
	BoxesDisplayPage* self;
	GtkEventBox* _tmp0_ = NULL;
	GdkWindow* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	GdkWindow* _tmp3_ = NULL;
	GdkCursor* _tmp4_ = NULL;
	GdkCursor* _tmp5_ = NULL;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data23_->self;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->event_box;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = gtk_widget_get_window ((GtkWidget*) _tmp0_);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _data23_->widget;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_widget_get_window (_tmp2_);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = gdk_window_get_cursor (_tmp3_);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp4_;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gdk_window_set_cursor (_tmp1_, _tmp5_);
#line 805 "display-page.c"
}


static void ___lambda63__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda63_ (self);
#line 812 "display-page.c"
}


static gboolean __lambda62_ (Block23Data* _data23_) {
	BoxesDisplayPage* self;
	gboolean result = FALSE;
	GtkWidget* _tmp0_ = NULL;
	gulong _tmp1_ = 0UL;
	GtkWidget* _tmp2_ = NULL;
	GdkWindow* _tmp3_ = NULL;
	gulong _tmp4_ = 0UL;
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data23_->self;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = _data23_->widget;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _data23_->draw_id;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _tmp1_);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _data23_->widget;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_widget_get_window (_tmp2_);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = g_signal_connect_data ((GObject*) _tmp3_, "notify::cursor", (GCallback) ___lambda63__g_object_notify, block23_data_ref (_data23_), (GClosureNotify) block23_data_unref, 0);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->cursor_id = _tmp4_;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 844 "display-page.c"
}


static gboolean ___lambda62__gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self) {
	gboolean result;
	result = __lambda62_ (self);
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 853 "display-page.c"
}


void boxes_display_page_replace_display (BoxesDisplayPage* self, BoxesDisplay* display, GtkWidget* widget) {
	Block23Data* _data23_;
	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;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (display != NULL);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (widget != NULL);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data23_ = g_slice_new0 (Block23Data);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data23_->_ref_count_ = 1;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data23_->self = g_object_ref (self);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = widget;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (_data23_->widget);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data23_->widget = _tmp1_;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->event_box;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_bin_get_child ((GtkBin*) _tmp2_);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = _data23_->widget;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_ == _tmp4_) {
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		block23_data_unref (_data23_);
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_data23_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		return;
#line 914 "display-page.c"
	}
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_display_page_remove_display (self);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (_tmp6_);
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = display;
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display = _tmp8_;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = display;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = g_signal_connect_object ((GObject*) _tmp9_, "notify::mouse-grabbed", (GCallback) ___lambda58__g_object_notify, self, 0);
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display_grabbed_id = _tmp10_;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = display;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = g_signal_connect_object ((GObject*) _tmp11_, "notify::can-grab-mouse", (GCallback) ___lambda60__g_object_notify, self, 0);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display_can_grab_id = _tmp12_;
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda61__gsource_func, g_object_ref (self), g_object_unref);
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_title (self);
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = _data23_->widget;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = _data23_->widget;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp15_ = gtk_widget_get_events (_tmp14_);
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_events (_tmp13_, _tmp15_ & (~GDK_POINTER_MOTION_MASK));
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp16_ = self->priv->event_box;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp17_ = _data23_->widget;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_container_add ((GtkContainer*) _tmp16_, _tmp17_);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp18_ = self->priv->event_box;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp18_);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data23_->draw_id = (gulong) 0;
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp19_ = _data23_->widget;
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp20_ = g_signal_connect_data (_tmp19_, "draw", (GCallback) ___lambda62__gtk_widget_draw, block23_data_ref (_data23_), (GClosureNotify) block23_data_unref, 0);
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data23_->draw_id = _tmp20_;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	block23_data_unref (_data23_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data23_ = NULL;
#line 978 "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 160 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 161 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->display_grabbed_id;
#line 161 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 998 "display-page.c"
		BoxesDisplay* _tmp1_ = NULL;
		gulong _tmp2_ = 0UL;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->priv->display;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display_grabbed_id;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->display_grabbed_id = (gulong) 0;
#line 1009 "display-page.c"
	}
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = self->priv->display_can_grab_id;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_ != ((gulong) 0)) {
#line 1015 "display-page.c"
		BoxesDisplay* _tmp4_ = NULL;
		gulong _tmp5_ = 0UL;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = self->priv->display;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = self->priv->display_can_grab_id;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp4_, _tmp5_);
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->display_can_grab_id = (gulong) 0;
#line 1026 "display-page.c"
	}
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->priv->event_box;
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = gtk_bin_get_child ((GtkBin*) _tmp6_);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	widget = _tmp8_;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = self->priv->cursor_id;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp9_ != ((gulong) 0)) {
#line 1040 "display-page.c"
		GtkWidget* _tmp10_ = NULL;
		GdkWindow* _tmp11_ = NULL;
		gulong _tmp12_ = 0UL;
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = widget;
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = gtk_widget_get_window (_tmp10_);
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp12_ = self->priv->cursor_id;
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp11_, _tmp12_);
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->cursor_id = (gulong) 0;
#line 1054 "display-page.c"
	}
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = widget;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp13_ != NULL) {
#line 1060 "display-page.c"
		GtkEventBox* _tmp14_ = NULL;
		GtkWidget* _tmp15_ = NULL;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp14_ = self->priv->event_box;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp15_ = widget;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_container_remove ((GtkContainer*) _tmp14_, _tmp15_);
#line 1069 "display-page.c"
	}
#line 181 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = widget;
#line 181 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1075 "display-page.c"
}


static gboolean _____lambda64_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
#line 200 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, TRUE);
#line 201 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_show_id = (guint) 0;
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1089 "display-page.c"
}


static gboolean ______lambda64__gsource_func (gpointer self) {
	gboolean result;
	result = _____lambda64_ ((BoxesDisplayPage*) self);
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1098 "display-page.c"
}


static gboolean _____lambda65_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_hide_id = (guint) 0;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = BOXES_APP_WINDOW_TRANSITION_DURATION;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1114 "display-page.c"
}


static gboolean ______lambda65__gsource_func (gpointer self) {
	gboolean result;
	result = _____lambda65_ ((BoxesDisplayPage*) self);
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1123 "display-page.c"
}


static gboolean boxes_display_page_on_event_box_event (BoxesDisplayPage* self, GdkEvent* event) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	BoxesAppWindow* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	GdkEvent* _tmp32_ = NULL;
	GdkEventType _tmp33_ = 0;
	GtkEventBox* _tmp34_ = NULL;
	GtkWidget* _tmp35_ = NULL;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->window;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_window_get_fullscreened (_tmp1_);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_) {
#line 1149 "display-page.c"
		GdkEvent* _tmp4_ = NULL;
		GdkEventType _tmp5_ = 0;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = event;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = _tmp4_->type;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp5_ == GDK_MOTION_NOTIFY;
#line 1158 "display-page.c"
	} else {
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1162 "display-page.c"
	}
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_) {
#line 1166 "display-page.c"
		gdouble x = 0.0;
		GdkEvent* _tmp6_ = NULL;
		GdkEventMotion* _tmp7_ = NULL;
		GdkEventMotion* _tmp8_ = NULL;
		gdouble _tmp9_ = 0.0;
		gdouble y = 0.0;
		GdkEvent* _tmp10_ = NULL;
		GdkEventMotion* _tmp11_ = NULL;
		GdkEventMotion* _tmp12_ = NULL;
		gdouble _tmp13_ = 0.0;
		gboolean _tmp14_ = FALSE;
		gboolean _tmp15_ = FALSE;
		gboolean _tmp16_ = FALSE;
		gdouble _tmp17_ = 0.0;
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp6_ = event;
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = (GdkEventMotion *) (_tmp6_);
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp8_ = _tmp7_;
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp9_ = _tmp8_->x;
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		x = _tmp9_;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = event;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = (GdkEventMotion *) (_tmp10_);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp12_ = _tmp11_;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp13_ = _tmp12_->y;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		y = _tmp13_;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp17_ = x;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (_tmp17_ >= ((gdouble) BOXES_DISPLAY_PAGE_SCREEN_EDGE_WIDTH)) {
#line 1205 "display-page.c"
			gdouble _tmp18_ = 0.0;
			gint _tmp19_ = 0;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp18_ = x;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp19_ = gtk_widget_get_allocated_width ((GtkWidget*) self);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp16_ = _tmp18_ <= ((gdouble) (_tmp19_ - BOXES_DISPLAY_PAGE_SCREEN_EDGE_WIDTH));
#line 1214 "display-page.c"
		} else {
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp16_ = FALSE;
#line 1218 "display-page.c"
		}
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (_tmp16_) {
#line 1222 "display-page.c"
			gdouble _tmp20_ = 0.0;
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp20_ = y;
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp15_ = _tmp20_ <= ((gdouble) 0);
#line 1228 "display-page.c"
		} else {
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp15_ = FALSE;
#line 1232 "display-page.c"
		}
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (_tmp15_) {
#line 1236 "display-page.c"
			guint _tmp21_ = 0U;
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp21_ = self->priv->toolbar_show_id;
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp14_ = _tmp21_ == ((guint) 0);
#line 1242 "display-page.c"
		} else {
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp14_ = FALSE;
#line 1246 "display-page.c"
		}
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (_tmp14_) {
#line 1250 "display-page.c"
			GdkEvent* _tmp22_ = NULL;
			GdkEventMotion* _tmp23_ = NULL;
			GdkEventMotion* _tmp24_ = NULL;
			GdkModifierType _tmp25_ = 0;
#line 191 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			boxes_display_page_toolbar_event_stop (self);
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp22_ = event;
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp23_ = (GdkEventMotion *) (_tmp22_);
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp24_ = _tmp23_;
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp25_ = _tmp24_->state;
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			if ((_tmp25_ & ((((((((((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 1267 "display-page.c"
				guint _tmp26_ = 0U;
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp26_ = g_timeout_add_full (G_PRIORITY_DEFAULT, BOXES_APP_WINDOW_TRANSITION_DURATION, ______lambda64__gsource_func, g_object_ref (self), g_object_unref);
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				self->priv->toolbar_show_id = _tmp26_;
#line 1273 "display-page.c"
			}
		} else {
			gboolean _tmp27_ = FALSE;
			gdouble _tmp28_ = 0.0;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp28_ = y;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			if (_tmp28_ > ((gdouble) 5)) {
#line 1282 "display-page.c"
				guint _tmp29_ = 0U;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp29_ = self->priv->toolbar_hide_id;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp27_ = _tmp29_ == ((guint) 0);
#line 1288 "display-page.c"
			} else {
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp27_ = FALSE;
#line 1292 "display-page.c"
			}
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
			if (_tmp27_) {
#line 1296 "display-page.c"
				guint _tmp30_ = 0U;
				guint _tmp31_ = 0U;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				boxes_display_page_toolbar_event_stop (self);
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp30_ = self->priv->overlay_toolbar_invisible_timeout;
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp31_ = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp30_, ______lambda65__gsource_func, g_object_ref (self), g_object_unref);
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
				self->priv->toolbar_hide_id = _tmp31_;
#line 1307 "display-page.c"
			}
		}
	}
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp32_ = event;
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp33_ = _tmp32_->type;
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp33_ == GDK_GRAB_BROKEN) {
#line 217 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		result = FALSE;
#line 217 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		return result;
#line 1321 "display-page.c"
	}
#line 219 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp34_ = self->priv->event_box;
#line 219 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp35_ = gtk_bin_get_child ((GtkBin*) _tmp34_);
#line 219 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp35_ != NULL) {
#line 1329 "display-page.c"
		GtkEventBox* _tmp36_ = NULL;
		GtkWidget* _tmp37_ = NULL;
		GdkEvent* _tmp38_ = NULL;
#line 220 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp36_ = self->priv->event_box;
#line 220 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp37_ = gtk_bin_get_child ((GtkBin*) _tmp36_);
#line 220 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp38_ = event;
#line 220 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_event (_tmp37_, _tmp38_);
#line 1341 "display-page.c"
	}
#line 222 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 222 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1347 "display-page.c"
}


static gboolean _boxes_display_page_on_event_box_event_gtk_widget_event (GtkWidget* _sender, GdkEvent* event, gpointer self) {
	gboolean result;
	result = boxes_display_page_on_event_box_event ((BoxesDisplayPage*) self, event);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1356 "display-page.c"
}


static gboolean __lambda66_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
	GtkLabel* _tmp0_ = NULL;
#line 236 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->size_label;
#line 236 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp0_, FALSE);
#line 237 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->size_label_timeout = (guint) 0;
#line 239 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 239 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1373 "display-page.c"
}


static gboolean ___lambda66__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda66_ ((BoxesDisplayPage*) self);
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1382 "display-page.c"
}


static void boxes_display_page_on_size_allocate (BoxesDisplayPage* self, GtkAllocation* allocation) {
	GtkLabel* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GtkAllocation _tmp2_ = {0};
	gint _tmp3_ = 0;
	GtkAllocation _tmp4_ = {0};
	gint _tmp5_ = 0;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	GtkLabel* _tmp8_ = NULL;
	guint _tmp9_ = 0U;
	guint _tmp11_ = 0U;
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (allocation != NULL);
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->size_label;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _ ("%dx%d");
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = *allocation;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_.width;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = *allocation;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp4_.height;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = g_strdup_printf (_tmp1_, _tmp3_, _tmp5_);
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = _tmp6_;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_label_set_label (_tmp0_, _tmp7_);
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_free0 (_tmp7_);
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = self->size_label;
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp8_, TRUE);
#line 231 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = self->priv->size_label_timeout;
#line 231 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp9_ != ((guint) 0)) {
#line 1430 "display-page.c"
		guint _tmp10_ = 0U;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = self->priv->size_label_timeout;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp10_);
#line 233 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->size_label_timeout = (guint) 0;
#line 1438 "display-page.c"
	}
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 3, ___lambda66__gsource_func, g_object_ref (self), g_object_unref);
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->size_label_timeout = _tmp11_;
#line 1444 "display-page.c"
}


static void _boxes_display_page_on_size_allocate_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_on_size_allocate ((BoxesDisplayPage*) self, allocation);
#line 1451 "display-page.c"
}


BoxesDisplayPage* boxes_display_page_construct (GType object_type) {
	BoxesDisplayPage * self = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = (BoxesDisplayPage*) g_object_new (object_type, NULL);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return self;
#line 1461 "display-page.c"
}


BoxesDisplayPage* boxes_display_page_new (void) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return boxes_display_page_construct (BOXES_TYPE_DISPLAY_PAGE);
#line 1468 "display-page.c"
}


static gboolean boxes_display_page_get_can_grab_mouse (BoxesDisplayPage* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_ = NULL;
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 1482 "display-page.c"
		BoxesDisplay* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_can_grab_mouse (_tmp2_);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 1494 "display-page.c"
	} else {
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1498 "display-page.c"
	}
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = _tmp0_;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1504 "display-page.c"
}


static gboolean boxes_display_page_get_grabbed (BoxesDisplayPage* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_ = NULL;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 1518 "display-page.c"
		BoxesDisplay* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_mouse_grabbed (_tmp2_);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 1530 "display-page.c"
	} else {
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1534 "display-page.c"
	}
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = _tmp0_;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1540 "display-page.c"
}


static void boxes_display_page_class_init (BoxesDisplayPageClass * klass) {
	gint BoxesDisplayPage_private_offset;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_parent_class = g_type_class_peek_parent (klass);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_type_class_add_private (klass, sizeof (BoxesDisplayPagePrivate));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_display_page_get_property;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_display_page_finalize;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	BoxesDisplayPage_private_offset = g_type_class_get_instance_private_offset (klass);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/display-page.ui");
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "toolbar", FALSE, G_STRUCT_OFFSET (BoxesDisplayPage, toolbar));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "size_label", FALSE, G_STRUCT_OFFSET (BoxesDisplayPage, size_label));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "event_box", FALSE, BoxesDisplayPage_private_offset + G_STRUCT_OFFSET (BoxesDisplayPagePrivate, event_box));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "overlay_toolbar", FALSE, BoxesDisplayPage_private_offset + G_STRUCT_OFFSET (BoxesDisplayPagePrivate, overlay_toolbar));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "overlay_toolbar_box", FALSE, BoxesDisplayPage_private_offset + G_STRUCT_OFFSET (BoxesDisplayPagePrivate, overlay_toolbar_box));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_event_box_event", G_CALLBACK(_boxes_display_page_on_event_box_event_gtk_widget_event));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_size_allocate", G_CALLBACK(_boxes_display_page_on_size_allocate_gtk_widget_size_allocate));
#line 1572 "display-page.c"
}


static void boxes_display_page_instance_init (BoxesDisplayPage * self) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv = BOXES_DISPLAY_PAGE_GET_PRIVATE (self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_type_ensure (BOXES_TYPE_DISPLAY_TOOLBAR);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1583 "display-page.c"
}


static void boxes_display_page_finalize (GObject* obj) {
	BoxesDisplayPage * self;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage);
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_toolbar_event_stop (self);
#line 10 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->toolbar);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->size_label);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->event_box);
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar);
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar_box);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->window);
#line 30 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (boxes_display_page_parent_class)->finalize (obj);
#line 1609 "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 (gtk_box_get_type (), "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 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
	switch (property_id) {
#line 1630 "display-page.c"
		default:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/display-page.vala"
		break;
#line 1636 "display-page.c"
	}
}



