/* display-page.c generated by valac 0.18.0.29-efcd0, 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 <libgd/gd.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <float.h>
#include <math.h>
#include <clutter/clutter.h>
#include <clutter-gtk/clutter-gtk.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.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 _Block10Data Block10Data;
#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 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_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;
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block11Data Block11Data;

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

struct _BoxesDisplayToolbarClass {
	GdMainToolbarClass parent_class;
};

struct _Block10Data {
	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 _BoxesDisplayPage {
	GObject parent_instance;
	BoxesDisplayPagePrivate * priv;
};

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;
	BoxesDisplay* display;
	gulong display_can_grab_id;
	gulong display_grabbed_id;
};

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

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;
	BoxesCollection* collection;
	BoxesCollectionFilter* filter;
	GSimpleAction* action_properties;
	GSimpleAction* action_fullscreen;
	BoxesCollectionView* view;
};

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};

typedef enum  {
	BOXES_APP_PAGE_MAIN,
	BOXES_APP_PAGE_DISPLAY
} BoxesAppPage;

struct _Block11Data {
	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;
enum  {
	BOXES_DISPLAY_TOOLBAR_DUMMY_PROPERTY
};
BoxesDisplayToolbar* boxes_display_toolbar_new (void);
BoxesDisplayToolbar* boxes_display_toolbar_construct (GType object_type);
static Block10Data* block10_data_ref (Block10Data* _data10_);
static void block10_data_unref (void * _userdata_);
static void __lambda24_ (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 ___lambda24__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda25_ (Block10Data* _data10_);
gboolean boxes_app_get_fullscreen (BoxesApp* self);
static void ___lambda25__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda26_ (BoxesDisplayToolbar* self, GtkButton* button);
void boxes_app_set_fullscreen (BoxesApp* self, gboolean value);
static void ___lambda26__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda27_ (BoxesDisplayToolbar* self, GtkButton* button);
static void ___lambda27__gtk_button_clicked (GtkButton* _sender, gpointer self);
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);
static gboolean __lambda28_ (BoxesDisplayPage* self, GdkEvent* event);
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_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 _____lambda29_ (BoxesDisplayPage* self);
static void boxes_display_page_set_overlay_toolbar_visible (BoxesDisplayPage* self, gboolean visible);
static gboolean ______lambda29__gsource_func (gpointer self);
static gboolean _____lambda30_ (BoxesDisplayPage* self);
static gboolean ______lambda30__gsource_func (gpointer self);
static gboolean ___lambda28__gtk_widget_event (GtkWidget* _sender, GdkEvent* event, gpointer self);
static gboolean __lambda31_ (BoxesDisplayPage* self, GdkEventWindowState* event);
static void boxes_display_page_update_toolbar_visible (BoxesDisplayPage* self);
static gboolean ___lambda31__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 Block11Data* block11_data_ref (Block11Data* _data11_);
static void block11_data_unref (void * _userdata_);
GtkWidget* boxes_display_page_remove_display (BoxesDisplayPage* self);
static void __lambda32_ (BoxesDisplayPage* self);
static void ___lambda32__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda33_ (BoxesDisplayPage* self);
static void ___lambda33__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static gboolean __lambda34_ (Block11Data* _data11_);
static void __lambda35_ (Block11Data* _data11_);
static void ___lambda35__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static gboolean ___lambda34__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 Block10Data* block10_data_ref (Block10Data* _data10_) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_atomic_int_inc (&_data10_->_ref_count_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return _data10_;
#line 425 "display-page.c"
}


static void block10_data_unref (void * _userdata_) {
	Block10Data* _data10_;
	_data10_ = (Block10Data*) _userdata_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (g_atomic_int_dec_and_test (&_data10_->_ref_count_)) {
#line 434 "display-page.c"
		BoxesDisplayToolbar * self;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self = _data10_->self;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (_data10_->fullscreen);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_slice_free (Block10Data, _data10_);
#line 444 "display-page.c"
	}
}


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


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


static void ___lambda24__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda24_ (self, _sender);
#line 471 "display-page.c"
}


static void __lambda25_ (Block10Data* _data10_) {
	BoxesDisplayToolbar * self;
	GtkWidget* _tmp0_ = NULL;
	GtkImage* _tmp1_;
	GtkImage* image;
	BoxesApp* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data10_->self;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = gtk_bin_get_child ((GtkBin*) _data10_->fullscreen);
#line 14 "/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 14 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	image = _tmp1_;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_app;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = boxes_app_get_fullscreen (_tmp2_);
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = _tmp3_;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp4_) {
#line 499 "display-page.c"
		GtkImage* _tmp5_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = image;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_object_set (_tmp5_, "icon-name", "view-restore-symbolic", NULL);
#line 505 "display-page.c"
	} else {
		GtkImage* _tmp6_;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp6_ = image;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_object_set (_tmp6_, "icon-name", "view-fullscreen-symbolic", NULL);
#line 512 "display-page.c"
	}
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (image);
#line 516 "display-page.c"
}


static void ___lambda25__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda25_ (self);
#line 523 "display-page.c"
}


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


static void ___lambda26__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda26_ (self, _sender);
#line 551 "display-page.c"
}


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


static void ___lambda27__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda27_ (self, _sender);
#line 570 "display-page.c"
}


BoxesDisplayToolbar* boxes_display_toolbar_construct (GType object_type) {
	BoxesDisplayToolbar * self = NULL;
	Block10Data* _data10_;
	GtkStyleContext* _tmp0_ = NULL;
	GtkWidget* _tmp1_ = NULL;
	GtkButton* _tmp2_;
	GtkButton* back;
	GtkWidget* _tmp3_ = NULL;
	GtkButton* _tmp4_;
	BoxesApp* _tmp5_;
	GtkWidget* _tmp6_ = NULL;
	GtkButton* _tmp7_;
	GtkButton* props;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data10_ = g_slice_new0 (Block10Data);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data10_->_ref_count_ = 1;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = (BoxesDisplayToolbar*) g_object_new (object_type, NULL);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data10_->self = g_object_ref (self);
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_style_context_add_class (_tmp0_, GTK_STYLE_CLASS_MENUBAR);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = gd_main_toolbar_add_button ((GdMainToolbar*) self, "go-previous-symbolic", NULL, TRUE);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp1_) : NULL);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	back = _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object (back, "clicked", (GCallback) ___lambda24__gtk_button_clicked, self, 0);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gd_main_toolbar_add_button ((GdMainToolbar*) self, "view-fullscreen-symbolic", NULL, FALSE);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp3_) : NULL);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data10_->fullscreen = _tmp4_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_app_app;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_data ((GObject*) _tmp5_, "notify::fullscreen", (GCallback) ___lambda25__g_object_notify, block10_data_ref (_data10_), (GClosureNotify) block10_data_unref, G_CONNECT_AFTER);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object (_data10_->fullscreen, "clicked", (GCallback) ___lambda26__gtk_button_clicked, self, 0);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = gd_main_toolbar_add_button ((GdMainToolbar*) self, "utilities-system-monitor-symbolic", NULL, FALSE);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp6_) : NULL);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	props = _tmp7_;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object (props, "clicked", (GCallback) ___lambda27__gtk_button_clicked, self, 0);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (props);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (back);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	block10_data_unref (_data10_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data10_ = NULL;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return self;
#line 637 "display-page.c"
}


BoxesDisplayToolbar* boxes_display_toolbar_new (void) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return boxes_display_toolbar_construct (BOXES_TYPE_DISPLAY_TOOLBAR);
#line 644 "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 651 "display-page.c"
}


static void boxes_display_toolbar_instance_init (BoxesDisplayToolbar * self) {
}


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 (gd_main_toolbar_get_type (), "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 _____lambda29_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, TRUE);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_show_id = (guint) 0;
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 681 "display-page.c"
}


static gboolean ______lambda29__gsource_func (gpointer self) {
	gboolean result;
	result = _____lambda29_ (self);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 690 "display-page.c"
}


static gboolean _____lambda30_ (BoxesDisplayPage* self) {
	gboolean result = FALSE;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_hide_id = (guint) 0;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 704 "display-page.c"
}


static gboolean ______lambda30__gsource_func (gpointer self) {
	gboolean result;
	result = _____lambda30_ (self);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 713 "display-page.c"
}


static gboolean __lambda28_ (BoxesDisplayPage* self, GdkEvent* event) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	BoxesApp* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp6_;
	GdkEvent* _tmp27_;
	GdkEventType _tmp28_;
	GtkEventBox* _tmp29_;
	GtkWidget* _tmp30_ = NULL;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_app;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_get_fullscreen (_tmp1_);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_) {
#line 738 "display-page.c"
		GdkEvent* _tmp4_;
		GdkEventType _tmp5_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = event;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = _tmp4_->type;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp5_ == GDK_MOTION_NOTIFY;
#line 747 "display-page.c"
	} else {
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 751 "display-page.c"
	}
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp0_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp6_) {
#line 757 "display-page.c"
		GdkEvent* _tmp7_;
		GdkEventMotion _tmp8_;
		gdouble _tmp9_;
		gdouble y;
		gboolean _tmp10_ = FALSE;
		gdouble _tmp11_;
		gboolean _tmp13_;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = event;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp8_ = _tmp7_->motion;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp9_ = _tmp8_.y;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		y = _tmp9_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = y;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (_tmp11_ <= ((gdouble) 0)) {
#line 777 "display-page.c"
			guint _tmp12_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp12_ = self->priv->toolbar_show_id;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp10_ = _tmp12_ == ((guint) 0);
#line 783 "display-page.c"
		} else {
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp10_ = FALSE;
#line 787 "display-page.c"
		}
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp13_ = _tmp10_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		if (_tmp13_) {
#line 793 "display-page.c"
			GdkEvent* _tmp14_;
			GdkEventMotion _tmp15_;
			GdkModifierType _tmp16_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			boxes_display_page_toolbar_event_stop (self);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp14_ = event;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp15_ = _tmp14_->motion;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp16_ = _tmp15_.state;
#line 64 "/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 807 "display-page.c"
				BoxesApp* _tmp17_;
				guint _tmp18_;
				guint _tmp19_ = 0U;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp17_ = boxes_app_app;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp18_ = _tmp17_->duration;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp19_ = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp18_, ______lambda29__gsource_func, g_object_ref (self), g_object_unref);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				self->priv->toolbar_show_id = _tmp19_;
#line 819 "display-page.c"
			}
		} else {
			gboolean _tmp20_ = FALSE;
			gdouble _tmp21_;
			gboolean _tmp23_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp21_ = y;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			if (_tmp21_ > ((gdouble) 5)) {
#line 829 "display-page.c"
				guint _tmp22_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp22_ = self->priv->toolbar_hide_id;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp20_ = _tmp22_ == ((guint) 0);
#line 835 "display-page.c"
			} else {
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp20_ = FALSE;
#line 839 "display-page.c"
			}
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			_tmp23_ = _tmp20_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
			if (_tmp23_) {
#line 845 "display-page.c"
				BoxesApp* _tmp24_;
				guint _tmp25_;
				guint _tmp26_ = 0U;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				boxes_display_page_toolbar_event_stop (self);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp24_ = boxes_app_app;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp25_ = _tmp24_->duration;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				_tmp26_ = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp25_, ______lambda30__gsource_func, g_object_ref (self), g_object_unref);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
				self->priv->toolbar_hide_id = _tmp26_;
#line 859 "display-page.c"
			}
		}
	}
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp27_ = event;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp28_ = _tmp27_->type;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp28_ == GDK_GRAB_BROKEN) {
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		result = FALSE;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return result;
#line 873 "display-page.c"
	}
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp29_ = self->priv->event_box;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp30_ = gtk_bin_get_child ((GtkBin*) _tmp29_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp30_ != NULL) {
#line 881 "display-page.c"
		GtkEventBox* _tmp31_;
		GtkWidget* _tmp32_ = NULL;
		GdkEvent* _tmp33_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp31_ = self->priv->event_box;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp32_ = gtk_bin_get_child ((GtkBin*) _tmp31_);
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp33_ = event;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_event (_tmp32_, _tmp33_);
#line 893 "display-page.c"
	}
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 899 "display-page.c"
}


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


static gboolean __lambda31_ (BoxesDisplayPage* self, GdkEventWindowState* event) {
	gboolean result = FALSE;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 922 "display-page.c"
}


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


BoxesDisplayPage* boxes_display_page_construct (GType object_type) {
	BoxesDisplayPage * self = NULL;
	GtkEventBox* _tmp0_;
	GtkEventBox* _tmp1_;
	GtkStyleContext* _tmp2_ = NULL;
	GtkEventBox* _tmp3_;
	GtkEventBox* _tmp4_;
	GtkEventBox* _tmp5_;
	BoxesDisplayToolbar* _tmp6_;
	GtkBox* _tmp7_;
	GtkBox* _tmp8_;
	BoxesDisplayToolbar* _tmp9_;
	GtkGrid* _tmp10_;
	GtkGrid* grid;
	BoxesApp* _tmp11_;
	GtkApplicationWindow* _tmp12_;
	GtkEventBox* _tmp13_;
	GtkEventBox* _tmp14_;
	GtkBox* _tmp15_;
	BoxesDisplayToolbar* _tmp16_;
	GtkEventBox* _tmp17_;
	GtkEventBox* _tmp18_;
	BoxesDisplayToolbar* _tmp19_;
	GtkEventBox* _tmp20_;
	GtkEventBox* _tmp21_;
	GtkGrid* _tmp22_;
	GtkGrid* _tmp23_;
	GtkGrid* _tmp24_;
	GtkGrid* _tmp25_;
	GtkEventBox* _tmp26_;
	GtkEventBox* _tmp27_;
	GtkGrid* _tmp28_;
	GtkBox* _tmp29_;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = (BoxesDisplayPage*) g_object_new (object_type, NULL);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = (GtkEventBox*) gtk_event_box_new ();
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp0_);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->event_box);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->event_box = _tmp0_;
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->event_box;
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = gtk_widget_get_style_context ((GtkWidget*) _tmp1_);
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_style_context_add_class (_tmp2_, "boxes-toplevel");
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = self->priv->event_box;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_events ((GtkWidget*) _tmp3_, (gint) (GDK_POINTER_MOTION_MASK | GDK_SCROLL_MASK));
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = self->priv->event_box;
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_event_box_set_above_child (_tmp4_, TRUE);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = self->priv->event_box;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object ((GtkWidget*) _tmp5_, "event", (GCallback) ___lambda28__gtk_widget_event, self, 0);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = boxes_display_toolbar_new ();
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp6_);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->toolbar);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar = _tmp6_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp7_);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->box);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->box = _tmp7_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = self->priv->box;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = self->priv->toolbar;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_box_pack_start (_tmp8_, (GtkWidget*) _tmp9_, FALSE, FALSE, (guint) 0);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = (GtkGrid*) gtk_grid_new ();
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp10_);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	grid = _tmp10_;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = boxes_app_app;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = _tmp11_->window;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_connect_object ((GtkWidget*) _tmp12_, "window-state-event", (GCallback) ___lambda31__gtk_widget_window_state_event, self, 0);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = self->priv->event_box;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _tmp13_, TRUE);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = self->priv->event_box;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_vexpand ((GtkWidget*) _tmp14_, TRUE);
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp15_ = self->priv->box;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_box_pack_start (_tmp15_, (GtkWidget*) grid, TRUE, TRUE, (guint) 0);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp16_ = boxes_display_toolbar_new ();
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp16_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar = _tmp16_;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp17_ = (GtkEventBox*) gtk_event_box_new ();
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp17_);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar_box);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_box = _tmp17_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp18_ = self->priv->overlay_toolbar_box;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp19_ = self->priv->overlay_toolbar;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_container_add ((GtkContainer*) _tmp18_, (GtkWidget*) _tmp19_);
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp20_ = self->priv->overlay_toolbar_box;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp20_, GTK_ALIGN_START);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp21_ = self->priv->overlay_toolbar_box;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_vexpand ((GtkWidget*) _tmp21_, FALSE);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp22_ = (GtkGrid*) gtk_grid_new ();
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp22_);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->notification_grid);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->notification_grid = _tmp22_;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp23_ = self->priv->notification_grid;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp23_, GTK_ALIGN_START);
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp24_ = self->priv->notification_grid;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp24_, GTK_ALIGN_CENTER);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp25_ = self->priv->notification_grid;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_vexpand ((GtkWidget*) _tmp25_, TRUE);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp26_ = self->priv->event_box;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp26_, 0, 0, 1, 2);
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp27_ = self->priv->overlay_toolbar_box;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp27_, 0, 0, 1, 1);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp28_ = self->priv->notification_grid;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp28_, 0, 1, 1, 1);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp29_ = self->priv->box;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp29_);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (grid);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return self;
#line 1112 "display-page.c"
}


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


void boxes_display_page_add_notification (BoxesDisplayPage* self, GtkWidget* w) {
	GtkGrid* _tmp0_;
	GtkWidget* _tmp1_;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (w != NULL);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->notification_grid;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = w;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_grid_attach (_tmp0_, _tmp1_, 0, 0, 1, 1);
#line 1136 "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_;
	GtkApplicationWindow* _tmp1_;
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
	BoxesApp* _tmp4_;
	gboolean _tmp5_;
	gboolean _tmp6_;
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _tmp0_->window;
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_window_get_size ((GtkWindow*) _tmp1_, &_tmp2_, &_tmp3_);
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_vala_width = _tmp2_;
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_vala_height = _tmp3_;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = boxes_app_app;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_app_get_fullscreen (_tmp4_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (!_tmp6_) {
#line 1171 "display-page.c"
		BoxesDisplayToolbar* _tmp7_;
		gint _tmp8_ = 0;
		gint _tmp9_;
		gint _tmp10_;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = self->priv->toolbar;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_get_preferred_height ((GtkWidget*) _tmp7_, NULL, &_tmp8_);
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		tb_height = _tmp8_;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp9_ = _vala_height;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = tb_height;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_vala_height = _tmp9_ - _tmp10_;
#line 1188 "display-page.c"
	}
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (width) {
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		*width = _vala_width;
#line 1194 "display-page.c"
	}
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (height) {
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		*height = _vala_height;
#line 1200 "display-page.c"
	}
}


static void boxes_display_page_update_toolbar_visible (BoxesDisplayPage* self) {
	gboolean _tmp0_ = FALSE;
	BoxesApp* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp6_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_app;
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_get_fullscreen (_tmp1_);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_) {
#line 1221 "display-page.c"
		gboolean _tmp4_;
		gboolean _tmp5_;
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = boxes_display_page_get_can_grab_mouse (self);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = _tmp4_;
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = !_tmp5_;
#line 1230 "display-page.c"
	} else {
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1234 "display-page.c"
	}
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp0_;
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp6_) {
#line 1240 "display-page.c"
		BoxesDisplayToolbar* _tmp7_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp7_ = self->priv->toolbar;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp7_, FALSE);
#line 1246 "display-page.c"
	} else {
		BoxesDisplayToolbar* _tmp8_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp8_ = self->priv->toolbar;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp8_, TRUE);
#line 1253 "display-page.c"
	}
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 1257 "display-page.c"
}


static void boxes_display_page_set_overlay_toolbar_visible (BoxesDisplayPage* self, gboolean visible) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	gboolean _tmp5_;
	GtkEventBox* _tmp6_;
	gboolean _tmp7_;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = visible;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_) {
#line 1273 "display-page.c"
		BoxesDisplayToolbar* _tmp2_;
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->toolbar;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = gtk_widget_get_visible ((GtkWidget*) _tmp2_);
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 1285 "display-page.c"
	} else {
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1289 "display-page.c"
	}
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp0_;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp5_) {
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_debug ("display-page.vala:156: toolbar is visible, don't show overlay toolbar");
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return;
#line 1299 "display-page.c"
	}
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->priv->overlay_toolbar_box;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = visible;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp6_, _tmp7_);
#line 1307 "display-page.c"
}


static void boxes_display_page_toolbar_event_stop (BoxesDisplayPage* self) {
	guint _tmp0_;
	guint _tmp2_;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->toolbar_hide_id;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 1320 "display-page.c"
		guint _tmp1_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->priv->toolbar_hide_id;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp1_);
#line 1326 "display-page.c"
	}
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_hide_id = (guint) 0;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->toolbar_show_id;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp2_ != ((guint) 0)) {
#line 1334 "display-page.c"
		guint _tmp3_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = self->priv->toolbar_show_id;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp3_);
#line 1340 "display-page.c"
	}
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_show_id = (guint) 0;
#line 1344 "display-page.c"
}


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


void boxes_display_page_update_title (BoxesDisplayPage* self) {
	BoxesApp* _tmp0_;
	BoxesCollectionItem* _tmp1_;
	BoxesMachine* _tmp2_;
	BoxesMachine* machine;
	BoxesMachine* _tmp3_;
	BoxesMachine* _tmp4_;
	const gchar* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* title;
	gchar* hint;
	gboolean _tmp8_;
	gboolean _tmp9_;
	BoxesDisplayToolbar* _tmp12_;
	const gchar* _tmp13_;
	const gchar* _tmp14_;
	BoxesDisplayToolbar* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = boxes_app_app;
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _tmp0_->current_item;
#line 181 "/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 181 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	machine = _tmp2_;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = machine;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (_tmp3_ != NULL);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = machine;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp4_);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = g_strdup (_tmp6_);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	title = _tmp7_;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	hint = NULL;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = boxes_display_page_get_grabbed (self);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = _tmp8_;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp9_) {
#line 1415 "display-page.c"
		const gchar* _tmp10_ = NULL;
		gchar* _tmp11_;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = _ ("(press Ctrl+Alt keys to ungrab)");
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = g_strdup (_tmp10_);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_free0 (hint);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		hint = _tmp11_;
#line 1426 "display-page.c"
	}
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = self->priv->overlay_toolbar;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = title;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = hint;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gd_main_toolbar_set_labels ((GdMainToolbar*) _tmp12_, _tmp13_, _tmp14_);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp15_ = self->priv->toolbar;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp16_ = title;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp17_ = hint;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gd_main_toolbar_set_labels ((GdMainToolbar*) _tmp15_, _tmp16_, _tmp17_);
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_free0 (hint);
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_free0 (title);
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (machine);
#line 1450 "display-page.c"
}


static Block11Data* block11_data_ref (Block11Data* _data11_) {
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_atomic_int_inc (&_data11_->_ref_count_);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return _data11_;
#line 1459 "display-page.c"
}


static void block11_data_unref (void * _userdata_) {
	Block11Data* _data11_;
	_data11_ = (Block11Data*) _userdata_;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) {
#line 1468 "display-page.c"
		BoxesDisplayPage * self;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self = _data11_->self;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (_data11_->widget);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (self);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_slice_free (Block11Data, _data11_);
#line 1478 "display-page.c"
	}
}


static void __lambda32_ (BoxesDisplayPage* self) {
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_title (self);
#line 1486 "display-page.c"
}


static void ___lambda32__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda32_ (self);
#line 1493 "display-page.c"
}


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


static void ___lambda33__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda33_ (self);
#line 1507 "display-page.c"
}


static void __lambda35_ (Block11Data* _data11_) {
	BoxesDisplayPage * self;
	GtkEventBox* _tmp0_;
	GdkWindow* _tmp1_ = NULL;
	GtkWidget* _tmp2_;
	GdkWindow* _tmp3_ = NULL;
	GdkCursor* _tmp4_;
	GdkCursor* _tmp5_;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data11_->self;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->event_box;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = gtk_widget_get_window ((GtkWidget*) _tmp0_);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _data11_->widget;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_widget_get_window (_tmp2_);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = gdk_window_get_cursor (_tmp3_);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp4_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gdk_window_set_cursor (_tmp1_, _tmp5_);
#line 1535 "display-page.c"
}


static void ___lambda35__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	__lambda35_ (self);
#line 1542 "display-page.c"
}


static gboolean __lambda34_ (Block11Data* _data11_) {
	BoxesDisplayPage * self;
	gboolean result = FALSE;
	GtkWidget* _tmp0_;
	gulong _tmp1_;
	GtkWidget* _tmp2_;
	GdkWindow* _tmp3_ = NULL;
	gulong _tmp4_ = 0UL;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = _data11_->self;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = _data11_->widget;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _data11_->draw_id;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _tmp1_);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = _data11_->widget;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_widget_get_window (_tmp2_);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = g_signal_connect_data ((GObject*) _tmp3_, "notify::cursor", (GCallback) ___lambda35__g_object_notify, block11_data_ref (_data11_), (GClosureNotify) block11_data_unref, 0);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->cursor_id = _tmp4_;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1574 "display-page.c"
}


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


void boxes_display_page_show_display (BoxesDisplayPage* self, BoxesDisplay* display, GtkWidget* widget) {
	Block11Data* _data11_;
	GtkWidget* _tmp0_;
	GtkWidget* _tmp1_;
	GtkEventBox* _tmp2_;
	GtkWidget* _tmp3_ = NULL;
	GtkWidget* _tmp4_;
	GtkWidget* _tmp5_ = NULL;
	GtkWidget* _tmp6_;
	BoxesDisplay* _tmp7_;
	BoxesDisplay* _tmp8_;
	BoxesDisplay* _tmp9_;
	gulong _tmp10_ = 0UL;
	BoxesDisplay* _tmp11_;
	gulong _tmp12_ = 0UL;
	GtkWidget* _tmp13_;
	GtkWidget* _tmp14_;
	gint _tmp15_ = 0;
	GtkEventBox* _tmp16_;
	GtkWidget* _tmp17_;
	GtkEventBox* _tmp18_;
	GtkWidget* _tmp19_;
	gulong _tmp20_ = 0UL;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (display != NULL);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_if_fail (widget != NULL);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data11_ = g_slice_new0 (Block11Data);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data11_->_ref_count_ = 1;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data11_->self = g_object_ref (self);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = widget;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (_data11_->widget);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data11_->widget = _tmp1_;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->event_box;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = gtk_bin_get_child ((GtkBin*) _tmp2_);
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp4_ = _data11_->widget;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_ == _tmp4_) {
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		block11_data_unref (_data11_);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_data11_ = NULL;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		return;
#line 1644 "display-page.c"
	}
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_display_page_remove_display (self);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (_tmp6_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = display;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display = _tmp8_;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = display;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp10_ = g_signal_connect_object ((GObject*) _tmp9_, "notify::mouse-grabbed", (GCallback) ___lambda32__g_object_notify, self, 0);
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display_grabbed_id = _tmp10_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp11_ = display;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp12_ = g_signal_connect_object ((GObject*) _tmp11_, "notify::can-grab-mouse", (GCallback) ___lambda33__g_object_notify, self, 0);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self->priv->display_can_grab_id = _tmp12_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_title (self);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = _data11_->widget;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp14_ = _data11_->widget;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp15_ = gtk_widget_get_events (_tmp14_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_set_events (_tmp13_, _tmp15_ & (~GDK_POINTER_MOTION_MASK));
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp16_ = self->priv->event_box;
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp17_ = _data11_->widget;
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_container_add ((GtkContainer*) _tmp16_, _tmp17_);
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp18_ = self->priv->event_box;
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp18_);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data11_->draw_id = (gulong) 0;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp19_ = _data11_->widget;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp20_ = g_signal_connect_data (_tmp19_, "draw", (GCallback) ___lambda34__gtk_widget_draw, block11_data_ref (_data11_), (GClosureNotify) block11_data_unref, 0);
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data11_->draw_id = _tmp20_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_show (self);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	block11_data_unref (_data11_);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_data11_ = NULL;
#line 1708 "display-page.c"
}


GtkWidget* boxes_display_page_remove_display (BoxesDisplayPage* self) {
	GtkWidget* result = NULL;
	gulong _tmp0_;
	gulong _tmp3_;
	GtkEventBox* _tmp6_;
	GtkWidget* _tmp7_ = NULL;
	GtkWidget* _tmp8_;
	GtkWidget* widget;
	gulong _tmp9_;
	GtkWidget* _tmp13_;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->display_grabbed_id;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 1728 "display-page.c"
		BoxesDisplay* _tmp1_;
		gulong _tmp2_;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->priv->display;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display_grabbed_id;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->display_grabbed_id = (gulong) 0;
#line 1739 "display-page.c"
	}
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp3_ = self->priv->display_can_grab_id;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp3_ != ((gulong) 0)) {
#line 1745 "display-page.c"
		BoxesDisplay* _tmp4_;
		gulong _tmp5_;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = self->priv->display;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp5_ = self->priv->display_can_grab_id;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp4_, _tmp5_);
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->display_can_grab_id = (gulong) 0;
#line 1756 "display-page.c"
	}
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->priv->event_box;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp7_ = gtk_bin_get_child ((GtkBin*) _tmp6_);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	widget = _tmp8_;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp9_ = self->priv->cursor_id;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp9_ != ((gulong) 0)) {
#line 1770 "display-page.c"
		GtkWidget* _tmp10_;
		GdkWindow* _tmp11_ = NULL;
		gulong _tmp12_;
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp10_ = widget;
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp11_ = gtk_widget_get_window (_tmp10_);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp12_ = self->priv->cursor_id;
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp11_, _tmp12_);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		self->priv->cursor_id = (gulong) 0;
#line 1784 "display-page.c"
	}
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp13_ = widget;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp13_ != NULL) {
#line 1790 "display-page.c"
		GtkEventBox* _tmp14_;
		GtkWidget* _tmp15_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp14_ = self->priv->event_box;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp15_ = widget;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		gtk_container_remove ((GtkContainer*) _tmp14_, _tmp15_);
#line 1799 "display-page.c"
	}
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = widget;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1805 "display-page.c"
}


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


static gboolean boxes_display_page_get_can_grab_mouse (BoxesDisplayPage* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_;
	gboolean _tmp5_;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 1835 "display-page.c"
		BoxesDisplay* _tmp2_;
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_can_grab_mouse (_tmp2_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 1847 "display-page.c"
	} else {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1851 "display-page.c"
	}
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp0_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = _tmp5_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1859 "display-page.c"
}


static gboolean boxes_display_page_get_grabbed (BoxesDisplayPage* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_;
	gboolean _tmp5_;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 1874 "display-page.c"
		BoxesDisplay* _tmp2_;
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_mouse_grabbed (_tmp2_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 1886 "display-page.c"
	} else {
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1890 "display-page.c"
	}
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_tmp5_ = _tmp0_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	result = _tmp5_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	return result;
#line 1898 "display-page.c"
}


static void boxes_display_page_class_init (BoxesDisplayPageClass * klass) {
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_parent_class = g_type_class_peek_parent (klass);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	g_type_class_add_private (klass, sizeof (BoxesDisplayPagePrivate));
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_display_page_get_property;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_display_page_finalize;
#line 27 "/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 1913 "display-page.c"
}


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


static void boxes_display_page_finalize (GObject* obj) {
	BoxesDisplayPage * self;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage);
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	boxes_display_page_toolbar_event_stop (self);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->event_box);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->box);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar_box);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->notification_grid);
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->toolbar);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (boxes_display_page_parent_class)->finalize (obj);
#line 1946 "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 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
	switch (property_id) {
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		case BOXES_DISPLAY_PAGE_WIDGET:
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		g_value_set_object (value, boxes_display_page_get_widget (self));
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		break;
#line 1973 "display-page.c"
		default:
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/display-page.vala"
		break;
#line 1979 "display-page.c"
	}
}



