/* display-page.c generated by valac 0.39.5, 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 <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.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_TRANSFER_POPOVER (boxes_transfer_popover_get_type ())
#define BOXES_TRANSFER_POPOVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_TRANSFER_POPOVER, BoxesTransferPopover))
#define BOXES_TRANSFER_POPOVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_TRANSFER_POPOVER, BoxesTransferPopoverClass))
#define BOXES_IS_TRANSFER_POPOVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_TRANSFER_POPOVER))
#define BOXES_IS_TRANSFER_POPOVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_TRANSFER_POPOVER))
#define BOXES_TRANSFER_POPOVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_TRANSFER_POPOVER, BoxesTransferPopoverClass))

typedef struct _BoxesTransferPopover BoxesTransferPopover;
typedef struct _BoxesTransferPopoverClass BoxesTransferPopoverClass;

#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;
enum  {
	BOXES_DISPLAY_PAGE_0_PROPERTY,
	BOXES_DISPLAY_PAGE_NUM_PROPERTIES
};
static GParamSpec* boxes_display_page_properties[BOXES_DISPLAY_PAGE_NUM_PROPERTIES];
#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_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_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_TROUBLESHOOT_VIEW (boxes_troubleshoot_view_get_type ())
#define BOXES_TROUBLESHOOT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_TROUBLESHOOT_VIEW, BoxesTroubleshootView))
#define BOXES_TROUBLESHOOT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_TROUBLESHOOT_VIEW, BoxesTroubleshootViewClass))
#define BOXES_IS_TROUBLESHOOT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_TROUBLESHOOT_VIEW))
#define BOXES_IS_TROUBLESHOOT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_TROUBLESHOOT_VIEW))
#define BOXES_TROUBLESHOOT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_TROUBLESHOOT_VIEW, BoxesTroubleshootViewClass))

typedef struct _BoxesTroubleshootView BoxesTroubleshootView;
typedef struct _BoxesTroubleshootViewClass BoxesTroubleshootViewClass;
typedef struct _BoxesTopbarPrivate BoxesTopbarPrivate;
typedef struct _BoxesDisplayToolbarPrivate BoxesDisplayToolbarPrivate;

#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))
typedef struct _Block21Data Block21Data;

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

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;
	gulong widget_drag_motion_id;
	gulong transfer_message_box_drag_leave_id;
	gulong transfer_message_box_drag_motion_id;
	guint overlay_toolbar_invisible_timeout;
	guint size_label_timeout;
	BoxesAppWindow* window;
	BoxesDisplay* display;
	gulong can_grab_mouse_id;
	gulong mouse_grabbed_id;
	gulong keyboard_grabbed_id;
	gint width;
	gint height;
};

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,
	BOXES_UI_STATE_TROUBLESHOOT
} 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;
	BoxesSelectionbar* selectionbar;
	BoxesDisplayPage* display_page;
	BoxesEmptyBoxes* empty_boxes;
	BoxesTroubleshootView* troubleshoot_view;
	GtkStack* below_bin;
	GSettings* settings;
};

struct _BoxesAppWindowClass {
	GtkApplicationWindowClass parent_class;
};

struct _BoxesTopbar {
	GtkStack parent_instance;
	BoxesTopbarPrivate * priv;
	BoxesDisplayToolbar* display_toolbar;
	gchar* _status;
};

struct _BoxesTopbarClass {
	GtkStackClass parent_class;
};

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

struct _BoxesDisplayToolbarClass {
	GtkHeaderBarClass parent_class;
};

struct _Block21Data {
	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_transfer_popover_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))
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 __lambda202_ (BoxesDisplayPage* self,
                       GdkEventWindowState* event);
static void boxes_display_page_update_toolbar_visible (BoxesDisplayPage* self);
static gboolean ___lambda202__gtk_widget_window_state_event (GtkWidget* _sender,
                                                      GdkEventWindowState* event,
                                                      gpointer self);
void boxes_display_toolbar_setup_ui (BoxesDisplayToolbar* self,
                                     BoxesAppWindow* window);
static void _vala_array_add3 (GtkTargetEntry* * array,
                       int* length,
                       int* size,
                       const GtkTargetEntry* value);
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_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
GType boxes_troubleshoot_view_get_type (void) G_GNUC_CONST;
BoxesTransferPopover* boxes_transfer_popover_new (BoxesDisplayToolbar* toolbar);
BoxesTransferPopover* boxes_transfer_popover_construct (GType object_type,
                                                        BoxesDisplayToolbar* toolbar);
static void __lambda203_ (BoxesDisplayPage* self);
void boxes_transfer_popover_clean_up (BoxesTransferPopover* self);
static void ___lambda203__boxes_transfer_popover_all_finished (BoxesTransferPopover* _sender,
                                                        gpointer self);
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_add_transfer (BoxesDisplayPage* self,
                                      GObject* transfer_task);
void boxes_transfer_popover_add_transfer (BoxesTransferPopover* self,
                                          GObject* transfer_task);
void boxes_display_page_update_subtitle (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);
static gboolean boxes_display_page_get_mouse_grabbed (BoxesDisplayPage* self);
static gboolean boxes_display_page_get_keyboard_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);
static Block21Data* block21_data_ref (Block21Data* _data21_);
static void block21_data_unref (void * _userdata_);
GtkWidget* boxes_display_page_remove_display (BoxesDisplayPage* self);
gboolean boxes_display_get_can_transfer_files (BoxesDisplay* self);
static gboolean ___lambda102_ (BoxesDisplayPage* self);
static gboolean ____lambda102__gtk_widget_drag_motion (GtkWidget* _sender,
                                                GdkDragContext* context,
                                                gint x,
                                                gint y,
                                                guint time_,
                                                gpointer self);
static gboolean ___lambda103_ (BoxesDisplayPage* self);
static gboolean ____lambda103__gtk_widget_drag_motion (GtkWidget* _sender,
                                                GdkDragContext* context,
                                                gint x,
                                                gint y,
                                                guint time_,
                                                gpointer self);
static void ___lambda104_ (BoxesDisplayPage* self);
static void ____lambda104__gtk_widget_drag_leave (GtkWidget* _sender,
                                           GdkDragContext* context,
                                           guint time_,
                                           gpointer self);
static void __lambda105_ (BoxesDisplayPage* self);
static gboolean __lambda106_ (BoxesDisplayPage* self);
static gboolean ___lambda106__gsource_func (gpointer self);
static void ___lambda105__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
static void __lambda107_ (BoxesDisplayPage* self);
static gboolean __lambda108_ (BoxesDisplayPage* self);
static gboolean ___lambda108__gsource_func (gpointer self);
static void ___lambda107__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
static void __lambda109_ (BoxesDisplayPage* self);
static void ___lambda109__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
static gboolean __lambda110_ (BoxesDisplayPage* self);
static gboolean ___lambda110__gsource_func (gpointer self);
static gboolean __lambda111_ (Block21Data* _data21_);
static void __lambda112_ (Block21Data* _data21_);
static void ___lambda112__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
static gboolean ___lambda111__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 _____lambda204_ (BoxesDisplayPage* self);
static gboolean ______lambda204__gsource_func (gpointer self);
static gboolean _____lambda205_ (BoxesDisplayPage* self);
static gboolean ______lambda205__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 __lambda206_ (BoxesDisplayPage* self);
static void boxes_display_page_show_size_allocation (BoxesDisplayPage* self);
static gboolean ___lambda206__gsource_func (gpointer self);
static void _boxes_display_page_on_size_allocate_gtk_widget_size_allocate (GtkWidget* _sender,
                                                                    GtkAllocation* allocation,
                                                                    gpointer self);
static gboolean __lambda207_ (BoxesDisplayPage* self);
static gboolean ___lambda207__gsource_func (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);
gboolean boxes_display_get_keyboard_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 60 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return self ? g_object_ref (self) : NULL;
#line 428 "display-page.c"
}


static gboolean
__lambda202_ (BoxesDisplayPage* self,
              GdkEventWindowState* event)
{
	gboolean result = FALSE;
#line 65 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 66 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 68 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 68 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 445 "display-page.c"
}


static gboolean
___lambda202__gtk_widget_window_state_event (GtkWidget* _sender,
                                             GdkEventWindowState* event,
                                             gpointer self)
{
	gboolean result;
	result = __lambda202_ ((BoxesDisplayPage*) self, event);
#line 65 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 458 "display-page.c"
}


static void
_vala_array_add3 (GtkTargetEntry* * array,
                  int* length,
                  int* size,
                  const GtkTargetEntry* value)
{
#line 79 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if ((*length) == (*size)) {
#line 79 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 79 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		*array = g_renew (GtkTargetEntry, *array, *size);
#line 474 "display-page.c"
	}
#line 79 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	(*array)[(*length)++] = *value;
#line 478 "display-page.c"
}


static void
__lambda203_ (BoxesDisplayPage* self)
{
	BoxesTransferPopover* _tmp0_;
	BoxesTransferPopover* _tmp1_;
#line 87 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->transfer_popover;
#line 87 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_transfer_popover_clean_up (_tmp0_);
#line 88 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->transfer_popover;
#line 88 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_popover_popdown ((GtkPopover*) _tmp1_);
#line 495 "display-page.c"
}


static void
___lambda203__boxes_transfer_popover_all_finished (BoxesTransferPopover* _sender,
                                                   gpointer self)
{
#line 86 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	__lambda203_ ((BoxesDisplayPage*) self);
#line 505 "display-page.c"
}


void
boxes_display_page_setup_ui (BoxesDisplayPage* self,
                             BoxesAppWindow* window)
{
	BoxesAppWindow* _tmp0_;
	GtkEventBox* _tmp1_;
	BoxesDisplayToolbar* _tmp2_;
	BoxesDisplayToolbar* _tmp3_;
	BoxesDisplayToolbar* _tmp4_;
	BoxesDisplayToolbar* _tmp5_;
	BoxesDisplayToolbar* _tmp6_;
	BoxesDisplayToolbar* _tmp7_;
	GtkTargetEntry* target_list = NULL;
	GtkTargetEntry* _tmp8_;
	gint target_list_length1;
	gint _target_list_size_;
	GtkTargetEntry urilist_entry = {0};
	GtkTargetEntry _tmp9_ = {0};
	GtkTargetEntry* _tmp10_;
	gint _tmp10__length1;
	GtkTargetEntry _tmp11_;
	GtkBox* _tmp12_;
	GtkTargetEntry* _tmp13_;
	gint _tmp13__length1;
	BoxesTopbar* _tmp14_;
	BoxesDisplayToolbar* _tmp15_;
	BoxesTransferPopover* _tmp16_;
	BoxesTransferPopover* _tmp17_;
	BoxesTopbar* _tmp18_;
	BoxesDisplayToolbar* _tmp19_;
	BoxesTransferPopover* _tmp20_;
	BoxesTopbar* _tmp21_;
	BoxesDisplayToolbar* _tmp22_;
	GtkButton* _tmp23_;
	BoxesTransferPopover* _tmp24_;
#line 59 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 59 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (window != NULL);
#line 60 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = _g_object_ref0 (window);
#line 60 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->window);
#line 60 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->window = _tmp0_;
#line 62 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = BOXES_APP_WINDOW_TRANSITION_DURATION;
#line 63 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->event_box;
#line 63 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_set_events ((GtkWidget*) _tmp1_, (gint) (GDK_POINTER_MOTION_MASK | GDK_SCROLL_MASK));
#line 65 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_signal_connect_object ((GtkWidget*) window, "window-state-event", (GCallback) ___lambda202__gtk_widget_window_state_event, self, 0);
#line 71 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->toolbar;
#line 71 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp3_ = self->priv->overlay_toolbar;
#line 71 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp2_, "title", (GObject*) _tmp3_, "title", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 72 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp4_ = self->toolbar;
#line 72 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp5_ = self->priv->overlay_toolbar;
#line 72 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp4_, "subtitle", (GObject*) _tmp5_, "subtitle", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 74 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->toolbar;
#line 74 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_toolbar_setup_ui (_tmp6_, window);
#line 75 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp7_ = self->priv->overlay_toolbar;
#line 75 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_toolbar_setup_ui (_tmp7_, window);
#line 77 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp8_ = g_new0 (GtkTargetEntry, 0);
#line 77 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	target_list = _tmp8_;
#line 77 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	target_list_length1 = 0;
#line 77 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_target_list_size_ = target_list_length1;
#line 78 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp9_.target = "text/uri-list";
#line 78 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp9_.flags = (guint) 0;
#line 78 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp9_.info = (guint) 0;
#line 78 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	urilist_entry = _tmp9_;
#line 79 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp10_ = target_list;
#line 79 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp10__length1 = target_list_length1;
#line 79 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp11_ = urilist_entry;
#line 79 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_vala_array_add3 (&target_list, &target_list_length1, &_target_list_size_, &_tmp11_);
#line 81 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp12_ = self->transfer_message_box;
#line 81 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp13_ = target_list;
#line 81 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp13__length1 = target_list_length1;
#line 81 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_drag_dest_set ((GtkWidget*) _tmp12_, GTK_DEST_DEFAULT_DROP, _tmp13_, _tmp13__length1, GDK_ACTION_ASK);
#line 82 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp14_ = window->topbar;
#line 82 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp15_ = _tmp14_->display_toolbar;
#line 82 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp16_ = boxes_transfer_popover_new (_tmp15_);
#line 82 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_object_ref_sink (_tmp16_);
#line 82 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->transfer_popover);
#line 82 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->transfer_popover = _tmp16_;
#line 83 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp17_ = self->transfer_popover;
#line 83 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp18_ = window->topbar;
#line 83 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp19_ = _tmp18_->display_toolbar;
#line 83 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp17_, "progress", (GObject*) _tmp19_, "progress", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 84 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp20_ = self->transfer_popover;
#line 84 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp21_ = window->topbar;
#line 84 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp22_ = _tmp21_->display_toolbar;
#line 84 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp23_ = _tmp22_->transfers_button;
#line 84 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_popover_set_relative_to ((GtkPopover*) _tmp20_, (GtkWidget*) _tmp23_);
#line 86 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp24_ = self->transfer_popover;
#line 86 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_signal_connect_object (_tmp24_, "all-finished", (GCallback) ___lambda203__boxes_transfer_popover_all_finished, self, 0);
#line 59 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	target_list = (g_free (target_list), NULL);
#line 650 "display-page.c"
}


static void
boxes_display_page_update_toolbar_visible (BoxesDisplayPage* self)
{
	gboolean _tmp0_ = FALSE;
	BoxesAppWindow* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 92 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->window;
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_window_get_fullscreened (_tmp1_);
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp3_) {
#line 671 "display-page.c"
		gboolean _tmp4_;
		gboolean _tmp5_;
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp4_ = boxes_display_page_get_can_grab_mouse (self);
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp5_ = _tmp4_;
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp5_;
#line 680 "display-page.c"
	} else {
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 684 "display-page.c"
	}
#line 93 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp0_) {
#line 688 "display-page.c"
		BoxesDisplayToolbar* _tmp6_;
#line 94 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp6_ = self->toolbar;
#line 94 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp6_, TRUE);
#line 694 "display-page.c"
	} else {
		BoxesDisplayToolbar* _tmp7_;
#line 96 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp7_ = self->toolbar;
#line 96 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp7_, FALSE);
#line 701 "display-page.c"
	}
#line 98 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 705 "display-page.c"
}


void
boxes_display_page_add_transfer (BoxesDisplayPage* self,
                                 GObject* transfer_task)
{
	BoxesTransferPopover* _tmp0_;
	BoxesTransferPopover* _tmp1_;
#line 101 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 101 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (transfer_task != NULL);
#line 102 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->transfer_popover;
#line 102 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_transfer_popover_add_transfer (_tmp0_, transfer_task);
#line 103 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->transfer_popover;
#line 103 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_popover_popup ((GtkPopover*) _tmp1_);
#line 727 "display-page.c"
}


static void
boxes_display_page_set_overlay_toolbar_visible (BoxesDisplayPage* self,
                                                gboolean visible)
{
	gboolean _tmp0_ = FALSE;
	GtkEventBox* _tmp4_;
#line 106 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 107 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (visible) {
#line 741 "display-page.c"
		BoxesDisplayToolbar* _tmp1_;
		gboolean _tmp2_;
		gboolean _tmp3_;
#line 107 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->toolbar;
#line 107 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp2_ = gtk_widget_get_visible ((GtkWidget*) _tmp1_);
#line 107 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp3_ = _tmp2_;
#line 107 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp3_;
#line 753 "display-page.c"
	} else {
#line 107 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 757 "display-page.c"
	}
#line 107 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp0_) {
#line 108 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_debug ("display-page.vala:108: toolbar is visible, don't show overlay toolbar");
#line 109 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		return;
#line 765 "display-page.c"
	}
#line 112 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp4_ = self->priv->overlay_toolbar_box;
#line 112 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp4_, visible);
#line 771 "display-page.c"
}


static void
boxes_display_page_toolbar_event_stop (BoxesDisplayPage* self)
{
	guint _tmp0_;
	guint _tmp2_;
#line 119 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 120 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->toolbar_hide_id;
#line 120 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp0_ != ((guint) 0)) {
#line 786 "display-page.c"
		guint _tmp1_;
#line 121 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->priv->toolbar_hide_id;
#line 121 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp1_);
#line 792 "display-page.c"
	}
#line 122 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_hide_id = (guint) 0;
#line 123 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = self->priv->toolbar_show_id;
#line 123 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp2_ != ((guint) 0)) {
#line 800 "display-page.c"
		guint _tmp3_;
#line 124 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp3_ = self->priv->toolbar_show_id;
#line 124 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp3_);
#line 806 "display-page.c"
	}
#line 125 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_show_id = (guint) 0;
#line 810 "display-page.c"
}


void
boxes_display_page_update_subtitle (BoxesDisplayPage* self)
{
	BoxesMachine* machine = NULL;
	BoxesAppWindow* _tmp0_;
	BoxesCollectionItem* _tmp1_;
	BoxesCollectionItem* _tmp2_;
	BoxesMachine* _tmp3_;
	BoxesMachine* _tmp4_;
	gchar* hint = NULL;
	gboolean _tmp5_;
	gboolean _tmp6_;
	BoxesDisplayToolbar* _tmp13_;
	const gchar* _tmp14_;
#line 128 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 129 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->window;
#line 129 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_window_get_current_item (_tmp0_);
#line 129 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = _tmp1_;
#line 129 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp2_) : NULL);
#line 129 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	machine = _tmp3_;
#line 130 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp4_ = machine;
#line 130 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (_tmp4_ != NULL);
#line 132 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	hint = NULL;
#line 133 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_display_page_get_can_grab_mouse (self);
#line 133 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 133 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp6_) {
#line 852 "display-page.c"
		gboolean _tmp7_;
		gboolean _tmp8_;
#line 134 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp7_ = boxes_display_page_get_mouse_grabbed (self);
#line 134 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp8_ = _tmp7_;
#line 134 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		if (_tmp8_) {
#line 861 "display-page.c"
			gchar* _tmp9_;
#line 135 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp9_ = g_strdup (_ ("Press (left) Ctrl+Alt to ungrab"));
#line 135 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_g_free0 (hint);
#line 135 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			hint = _tmp9_;
#line 869 "display-page.c"
		}
	} else {
		gboolean _tmp10_;
		gboolean _tmp11_;
#line 136 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp10_ = boxes_display_page_get_keyboard_grabbed (self);
#line 136 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp11_ = _tmp10_;
#line 136 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		if (_tmp11_) {
#line 880 "display-page.c"
			gchar* _tmp12_;
#line 137 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp12_ = g_strdup (_ ("Press & release (left) Ctrl+Alt to ungrab keyboard."));
#line 137 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_g_free0 (hint);
#line 137 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			hint = _tmp12_;
#line 888 "display-page.c"
		}
	}
#line 139 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp13_ = self->toolbar;
#line 139 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp14_ = hint;
#line 139 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_header_bar_set_subtitle ((GtkHeaderBar*) _tmp13_, _tmp14_);
#line 128 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_free0 (hint);
#line 128 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (machine);
#line 901 "display-page.c"
}


void
boxes_display_page_show_display (BoxesDisplayPage* self,
                                 BoxesDisplay* display,
                                 GtkWidget* widget)
{
	BoxesAppWindow* _tmp0_;
	GtkStack* _tmp1_;
#line 142 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 142 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (display != NULL);
#line 142 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (widget != NULL);
#line 143 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_replace_display (self, display, widget);
#line 145 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->window;
#line 145 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = _tmp0_->below_bin;
#line 145 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_stack_set_visible_child_name (_tmp1_, "display-page");
#line 146 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_grab_focus (widget);
#line 928 "display-page.c"
}


static Block21Data*
block21_data_ref (Block21Data* _data21_)
{
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_atomic_int_inc (&_data21_->_ref_count_);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return _data21_;
#line 939 "display-page.c"
}


static void
block21_data_unref (void * _userdata_)
{
	Block21Data* _data21_;
	_data21_ = (Block21Data*) _userdata_;
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (g_atomic_int_dec_and_test (&_data21_->_ref_count_)) {
#line 950 "display-page.c"
		BoxesDisplayPage* self;
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self = _data21_->self;
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (_data21_->widget);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_g_object_unref0 (self);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_slice_free (Block21Data, _data21_);
#line 960 "display-page.c"
	}
}


static gboolean
___lambda102_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
	GtkBox* _tmp0_;
#line 157 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->transfer_message_box;
#line 157 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp0_, TRUE);
#line 159 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = TRUE;
#line 159 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 978 "display-page.c"
}


static gboolean
____lambda102__gtk_widget_drag_motion (GtkWidget* _sender,
                                       GdkDragContext* context,
                                       gint x,
                                       gint y,
                                       guint time_,
                                       gpointer self)
{
	gboolean result;
	result = ___lambda102_ ((BoxesDisplayPage*) self);
#line 156 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 994 "display-page.c"
}


static gboolean
___lambda103_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
#line 162 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = TRUE;
#line 162 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1006 "display-page.c"
}


static gboolean
____lambda103__gtk_widget_drag_motion (GtkWidget* _sender,
                                       GdkDragContext* context,
                                       gint x,
                                       gint y,
                                       guint time_,
                                       gpointer self)
{
	gboolean result;
	result = ___lambda103_ ((BoxesDisplayPage*) self);
#line 161 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1022 "display-page.c"
}


static void
___lambda104_ (BoxesDisplayPage* self)
{
	GtkBox* _tmp0_;
#line 165 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->transfer_message_box;
#line 165 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_hide ((GtkWidget*) _tmp0_);
#line 1034 "display-page.c"
}


static void
____lambda104__gtk_widget_drag_leave (GtkWidget* _sender,
                                      GdkDragContext* context,
                                      guint time_,
                                      gpointer self)
{
#line 164 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	___lambda104_ ((BoxesDisplayPage*) self);
#line 1046 "display-page.c"
}


static gboolean
__lambda106_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
#line 175 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_subtitle (self);
#line 176 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 176 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1060 "display-page.c"
}


static gboolean
___lambda106__gsource_func (gpointer self)
{
	gboolean result;
	result = __lambda106_ ((BoxesDisplayPage*) self);
#line 174 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1071 "display-page.c"
}


static void
__lambda105_ (BoxesDisplayPage* self)
{
#line 174 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_idle_add_full (G_PRIORITY_HIGH, ___lambda106__gsource_func, g_object_ref (self), g_object_unref);
#line 1080 "display-page.c"
}


static void
___lambda105__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
#line 170 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	__lambda105_ ((BoxesDisplayPage*) self);
#line 1091 "display-page.c"
}


static gboolean
__lambda108_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
#line 181 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_subtitle (self);
#line 182 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 182 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1105 "display-page.c"
}


static gboolean
___lambda108__gsource_func (gpointer self)
{
	gboolean result;
	result = __lambda108_ ((BoxesDisplayPage*) self);
#line 180 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1116 "display-page.c"
}


static void
__lambda107_ (BoxesDisplayPage* self)
{
#line 180 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_idle_add_full (G_PRIORITY_HIGH, ___lambda108__gsource_func, g_object_ref (self), g_object_unref);
#line 1125 "display-page.c"
}


static void
___lambda107__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
#line 179 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	__lambda107_ ((BoxesDisplayPage*) self);
#line 1136 "display-page.c"
}


static void
__lambda109_ (BoxesDisplayPage* self)
{
#line 187 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 1145 "display-page.c"
}


static void
___lambda109__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
#line 186 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	__lambda109_ ((BoxesDisplayPage*) self);
#line 1156 "display-page.c"
}


static gboolean
__lambda110_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
	BoxesAppWindow* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 192 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 193 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = (guint) 1000;
#line 194 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->window;
#line 194 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = boxes_app_window_get_fullscreened (_tmp0_);
#line 194 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = _tmp1_;
#line 194 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, _tmp2_);
#line 196 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 196 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1183 "display-page.c"
}


static gboolean
___lambda110__gsource_func (gpointer self)
{
	gboolean result;
	result = __lambda110_ ((BoxesDisplayPage*) self);
#line 191 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1194 "display-page.c"
}


static void
__lambda112_ (Block21Data* _data21_)
{
	BoxesDisplayPage* self;
	GtkEventBox* _tmp0_;
	GdkWindow* _tmp1_;
	GdkWindow* _tmp2_;
	GdkCursor* _tmp3_;
	GdkCursor* _tmp4_;
#line 207 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self = _data21_->self;
#line 208 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->event_box;
#line 208 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = gtk_widget_get_window ((GtkWidget*) _tmp0_);
#line 208 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = gtk_widget_get_window (_data21_->widget);
#line 208 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp3_ = gdk_window_get_cursor (_tmp2_);
#line 208 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp4_ = _tmp3_;
#line 208 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gdk_window_set_cursor (_tmp1_, _tmp4_);
#line 1221 "display-page.c"
}


static void
___lambda112__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
#line 207 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	__lambda112_ (self);
#line 1232 "display-page.c"
}


static gboolean
__lambda111_ (Block21Data* _data21_)
{
	BoxesDisplayPage* self;
	gboolean result = FALSE;
	gulong _tmp0_;
	GdkWindow* _tmp1_;
	gulong _tmp2_;
#line 204 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self = _data21_->self;
#line 205 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = _data21_->draw_id;
#line 205 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_signal_handler_disconnect ((GObject*) _data21_->widget, _tmp0_);
#line 207 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = gtk_widget_get_window (_data21_->widget);
#line 207 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = g_signal_connect_data ((GObject*) _tmp1_, "notify::cursor", (GCallback) ___lambda112__g_object_notify, block21_data_ref (_data21_), (GClosureNotify) block21_data_unref, 0);
#line 207 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->cursor_id = _tmp2_;
#line 211 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 211 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1260 "display-page.c"
}


static gboolean
___lambda111__gtk_widget_draw (GtkWidget* _sender,
                               cairo_t* cr,
                               gpointer self)
{
	gboolean result;
	result = __lambda111_ (self);
#line 204 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1273 "display-page.c"
}


void
boxes_display_page_replace_display (BoxesDisplayPage* self,
                                    BoxesDisplay* display,
                                    GtkWidget* widget)
{
	Block21Data* _data21_;
	GtkWidget* _tmp0_;
	GtkEventBox* _tmp1_;
	GtkWidget* _tmp2_;
	GtkWidget* _tmp3_;
	GtkWidget* _tmp4_;
	gboolean _tmp5_;
	gboolean _tmp6_;
	BoxesDisplay* _tmp12_;
	gulong _tmp13_;
	gulong _tmp14_;
	gulong _tmp15_;
	GtkEventBox* _tmp16_;
	GtkEventBox* _tmp17_;
	gulong _tmp18_;
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (display != NULL);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (widget != NULL);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_data21_ = g_slice_new0 (Block21Data);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_data21_->_ref_count_ = 1;
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_data21_->self = g_object_ref (self);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = _g_object_ref0 (widget);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (_data21_->widget);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_data21_->widget = _tmp0_;
#line 150 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->event_box;
#line 150 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = gtk_bin_get_child ((GtkBin*) _tmp1_);
#line 150 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp2_ == _data21_->widget) {
#line 151 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		block21_data_unref (_data21_);
#line 151 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_data21_ = NULL;
#line 151 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		return;
#line 1327 "display-page.c"
	}
#line 153 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp3_ = boxes_display_page_remove_display (self);
#line 153 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp4_ = _tmp3_;
#line 153 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (_tmp4_);
#line 155 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp5_ = boxes_display_get_can_transfer_files (display);
#line 155 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp6_ = _tmp5_;
#line 155 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp6_) {
#line 1341 "display-page.c"
		gulong _tmp7_;
		GtkBox* _tmp8_;
		gulong _tmp9_;
		GtkBox* _tmp10_;
		gulong _tmp11_;
#line 156 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp7_ = g_signal_connect_object (_data21_->widget, "drag-motion", (GCallback) ____lambda102__gtk_widget_drag_motion, self, 0);
#line 156 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->widget_drag_motion_id = _tmp7_;
#line 161 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp8_ = self->transfer_message_box;
#line 161 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp9_ = g_signal_connect_object ((GtkWidget*) _tmp8_, "drag-motion", (GCallback) ____lambda103__gtk_widget_drag_motion, self, 0);
#line 161 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->transfer_message_box_drag_motion_id = _tmp9_;
#line 164 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp10_ = self->transfer_message_box;
#line 164 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp11_ = g_signal_connect_object ((GtkWidget*) _tmp10_, "drag-leave", (GCallback) ____lambda104__gtk_widget_drag_leave, self, 0);
#line 164 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->transfer_message_box_drag_leave_id = _tmp11_;
#line 1363 "display-page.c"
	}
#line 169 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp12_ = _g_object_ref0 (display);
#line 169 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 169 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->display = _tmp12_;
#line 170 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp13_ = g_signal_connect_object ((GObject*) display, "notify::mouse-grabbed", (GCallback) ___lambda105__g_object_notify, self, 0);
#line 170 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->mouse_grabbed_id = _tmp13_;
#line 179 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp14_ = g_signal_connect_object ((GObject*) display, "notify::keyboard-grabbed", (GCallback) ___lambda107__g_object_notify, self, 0);
#line 179 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->keyboard_grabbed_id = _tmp14_;
#line 185 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_toolbar_visible (self);
#line 186 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp15_ = g_signal_connect_object ((GObject*) display, "notify::can-grab-mouse", (GCallback) ___lambda109__g_object_notify, self, 0);
#line 186 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->can_grab_mouse_id = _tmp15_;
#line 191 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda110__gsource_func, g_object_ref (self), g_object_unref);
#line 198 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_update_subtitle (self);
#line 199 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_set_events (_data21_->widget, gtk_widget_get_events (_data21_->widget) & (~GDK_POINTER_MOTION_MASK));
#line 200 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp16_ = self->priv->event_box;
#line 200 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_container_add ((GtkContainer*) _tmp16_, _data21_->widget);
#line 201 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp17_ = self->priv->event_box;
#line 201 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp17_);
#line 203 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_data21_->draw_id = (gulong) 0;
#line 204 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp18_ = g_signal_connect_data (_data21_->widget, "draw", (GCallback) ___lambda111__gtk_widget_draw, block21_data_ref (_data21_), (GClosureNotify) block21_data_unref, 0);
#line 204 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_data21_->draw_id = _tmp18_;
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	block21_data_unref (_data21_);
#line 149 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_data21_ = NULL;
#line 1409 "display-page.c"
}


GtkWidget*
boxes_display_page_remove_display (BoxesDisplayPage* self)
{
	GtkWidget* result = NULL;
	gulong _tmp0_;
	gulong _tmp3_;
	gulong _tmp6_;
	GtkWidget* widget = NULL;
	GtkEventBox* _tmp9_;
	GtkWidget* _tmp10_;
	GtkWidget* _tmp11_;
	gulong _tmp12_;
	gulong _tmp16_;
	gulong _tmp19_;
	GtkWidget* _tmp22_;
#line 215 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 216 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->priv->mouse_grabbed_id;
#line 216 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 1434 "display-page.c"
		BoxesDisplay* _tmp1_;
		gulong _tmp2_;
#line 217 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp1_ = self->priv->display;
#line 217 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->mouse_grabbed_id;
#line 217 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 218 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->mouse_grabbed_id = (gulong) 0;
#line 1445 "display-page.c"
	}
#line 221 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp3_ = self->priv->can_grab_mouse_id;
#line 221 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp3_ != ((gulong) 0)) {
#line 1451 "display-page.c"
		BoxesDisplay* _tmp4_;
		gulong _tmp5_;
#line 222 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp4_ = self->priv->display;
#line 222 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp5_ = self->priv->can_grab_mouse_id;
#line 222 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp4_, _tmp5_);
#line 223 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->can_grab_mouse_id = (gulong) 0;
#line 1462 "display-page.c"
	}
#line 226 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp6_ = self->priv->keyboard_grabbed_id;
#line 226 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp6_ != ((gulong) 0)) {
#line 1468 "display-page.c"
		BoxesDisplay* _tmp7_;
		gulong _tmp8_;
#line 227 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp7_ = self->priv->display;
#line 227 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp8_ = self->priv->keyboard_grabbed_id;
#line 227 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp7_, _tmp8_);
#line 228 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->keyboard_grabbed_id = (gulong) 0;
#line 1479 "display-page.c"
	}
#line 230 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 230 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->display = NULL;
#line 232 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp9_ = self->priv->event_box;
#line 232 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp10_ = gtk_bin_get_child ((GtkBin*) _tmp9_);
#line 232 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp11_ = _g_object_ref0 (_tmp10_);
#line 232 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	widget = _tmp11_;
#line 234 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp12_ = self->priv->cursor_id;
#line 234 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp12_ != ((gulong) 0)) {
#line 1497 "display-page.c"
		GtkWidget* _tmp13_;
		GdkWindow* _tmp14_;
		gulong _tmp15_;
#line 235 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp13_ = widget;
#line 235 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp14_ = gtk_widget_get_window (_tmp13_);
#line 235 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp15_ = self->priv->cursor_id;
#line 235 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp14_, _tmp15_);
#line 236 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->cursor_id = (gulong) 0;
#line 1511 "display-page.c"
	}
#line 239 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp16_ = self->priv->transfer_message_box_drag_leave_id;
#line 239 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp16_ != ((gulong) 0)) {
#line 1517 "display-page.c"
		GtkBox* _tmp17_;
		gulong _tmp18_;
#line 240 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp17_ = self->transfer_message_box;
#line 240 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp18_ = self->priv->transfer_message_box_drag_leave_id;
#line 240 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp17_, _tmp18_);
#line 241 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->transfer_message_box_drag_leave_id = (gulong) 0;
#line 1528 "display-page.c"
	}
#line 243 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp19_ = self->priv->transfer_message_box_drag_motion_id;
#line 243 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp19_ != ((gulong) 0)) {
#line 1534 "display-page.c"
		GtkBox* _tmp20_;
		gulong _tmp21_;
#line 244 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp20_ = self->transfer_message_box;
#line 244 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp21_ = self->priv->transfer_message_box_drag_motion_id;
#line 244 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_signal_handler_disconnect ((GObject*) _tmp20_, _tmp21_);
#line 245 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->transfer_message_box_drag_motion_id = (gulong) 0;
#line 1545 "display-page.c"
	}
#line 248 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp22_ = widget;
#line 248 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp22_ != NULL) {
#line 1551 "display-page.c"
		gulong _tmp23_;
		GtkEventBox* _tmp26_;
		GtkWidget* _tmp27_;
#line 249 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp23_ = self->priv->widget_drag_motion_id;
#line 249 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		if (_tmp23_ != ((gulong) 0)) {
#line 1559 "display-page.c"
			GtkWidget* _tmp24_;
			gulong _tmp25_;
#line 250 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp24_ = widget;
#line 250 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp25_ = self->priv->widget_drag_motion_id;
#line 250 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			g_signal_handler_disconnect ((GObject*) _tmp24_, _tmp25_);
#line 251 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			self->priv->widget_drag_motion_id = (gulong) 0;
#line 1570 "display-page.c"
		}
#line 254 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp26_ = self->priv->event_box;
#line 254 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp27_ = widget;
#line 254 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		gtk_container_remove ((GtkContainer*) _tmp26_, _tmp27_);
#line 1578 "display-page.c"
	}
#line 257 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = widget;
#line 257 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1584 "display-page.c"
}


static gboolean
_____lambda204_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
#line 276 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, TRUE);
#line 277 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_show_id = (guint) 0;
#line 278 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 278 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1600 "display-page.c"
}


static gboolean
______lambda204__gsource_func (gpointer self)
{
	gboolean result;
	result = _____lambda204_ ((BoxesDisplayPage*) self);
#line 275 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1611 "display-page.c"
}


static gboolean
_____lambda205_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
#line 284 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_set_overlay_toolbar_visible (self, FALSE);
#line 285 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->toolbar_hide_id = (guint) 0;
#line 286 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->overlay_toolbar_invisible_timeout = BOXES_APP_WINDOW_TRANSITION_DURATION;
#line 287 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 287 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1629 "display-page.c"
}


static gboolean
______lambda205__gsource_func (gpointer self)
{
	gboolean result;
	result = _____lambda205_ ((BoxesDisplayPage*) self);
#line 283 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1640 "display-page.c"
}


static gboolean
boxes_display_page_on_event_box_event (BoxesDisplayPage* self,
                                       GdkEvent* event)
{
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	BoxesAppWindow* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GdkEventType _tmp25_;
	GtkEventBox* _tmp26_;
	GtkWidget* _tmp27_;
#line 261 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 261 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 262 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->window;
#line 262 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = boxes_app_window_get_fullscreened (_tmp1_);
#line 262 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_;
#line 262 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp3_) {
#line 1668 "display-page.c"
		GdkEventType _tmp4_;
#line 262 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp4_ = event->type;
#line 262 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_ == GDK_MOTION_NOTIFY;
#line 1674 "display-page.c"
	} else {
#line 262 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1678 "display-page.c"
	}
#line 262 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp0_) {
#line 1682 "display-page.c"
		gdouble x = 0.0;
		GdkEventMotion* _tmp5_;
		GdkEventMotion* _tmp6_;
		gdouble _tmp7_;
		gdouble y = 0.0;
		GdkEventMotion* _tmp8_;
		GdkEventMotion* _tmp9_;
		gdouble _tmp10_;
		gboolean _tmp11_ = FALSE;
		gboolean _tmp12_ = FALSE;
		gboolean _tmp13_ = FALSE;
		gdouble _tmp14_;
#line 263 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp5_ = (GdkEventMotion *) (event);
#line 263 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp6_ = _tmp5_;
#line 263 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp7_ = _tmp6_->x;
#line 263 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		x = _tmp7_;
#line 264 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp8_ = (GdkEventMotion *) (event);
#line 264 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp9_ = _tmp8_;
#line 264 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp10_ = _tmp9_->y;
#line 264 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		y = _tmp10_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp14_ = x;
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		if (_tmp14_ >= ((gdouble) BOXES_DISPLAY_PAGE_SCREEN_EDGE_WIDTH)) {
#line 1715 "display-page.c"
			gdouble _tmp15_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp15_ = x;
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp13_ = _tmp15_ <= ((gdouble) (gtk_widget_get_allocated_width ((GtkWidget*) self) - BOXES_DISPLAY_PAGE_SCREEN_EDGE_WIDTH));
#line 1721 "display-page.c"
		} else {
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp13_ = FALSE;
#line 1725 "display-page.c"
		}
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		if (_tmp13_) {
#line 1729 "display-page.c"
			gdouble _tmp16_;
#line 266 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp16_ = y;
#line 266 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp12_ = _tmp16_ <= ((gdouble) 0);
#line 1735 "display-page.c"
		} else {
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp12_ = FALSE;
#line 1739 "display-page.c"
		}
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		if (_tmp12_) {
#line 1743 "display-page.c"
			guint _tmp17_;
#line 266 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp17_ = self->priv->toolbar_show_id;
#line 266 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp11_ = _tmp17_ == ((guint) 0);
#line 1749 "display-page.c"
		} else {
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp11_ = FALSE;
#line 1753 "display-page.c"
		}
#line 265 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		if (_tmp11_) {
#line 1757 "display-page.c"
			GdkEventMotion* _tmp18_;
			GdkEventMotion* _tmp19_;
			GdkModifierType _tmp20_;
#line 267 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			boxes_display_page_toolbar_event_stop (self);
#line 268 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp18_ = (GdkEventMotion *) (event);
#line 268 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp19_ = _tmp18_;
#line 268 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp20_ = _tmp19_->state;
#line 268 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			if ((_tmp20_ & ((((((((((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 275 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
				self->priv->toolbar_show_id = g_timeout_add_full (G_PRIORITY_DEFAULT, BOXES_APP_WINDOW_TRANSITION_DURATION, ______lambda204__gsource_func, g_object_ref (self), g_object_unref);
#line 1773 "display-page.c"
			}
		} else {
			gboolean _tmp21_ = FALSE;
			gdouble _tmp22_;
#line 281 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			_tmp22_ = y;
#line 281 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			if (_tmp22_ > ((gdouble) 5)) {
#line 1782 "display-page.c"
				guint _tmp23_;
#line 281 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
				_tmp23_ = self->priv->toolbar_hide_id;
#line 281 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
				_tmp21_ = _tmp23_ == ((guint) 0);
#line 1788 "display-page.c"
			} else {
#line 281 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
				_tmp21_ = FALSE;
#line 1792 "display-page.c"
			}
#line 281 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
			if (_tmp21_) {
#line 1796 "display-page.c"
				guint _tmp24_;
#line 282 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
				boxes_display_page_toolbar_event_stop (self);
#line 283 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
				_tmp24_ = self->priv->overlay_toolbar_invisible_timeout;
#line 283 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
				self->priv->toolbar_hide_id = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp24_, ______lambda205__gsource_func, g_object_ref (self), g_object_unref);
#line 1804 "display-page.c"
			}
		}
	}
#line 292 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp25_ = event->type;
#line 292 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp25_ == GDK_GRAB_BROKEN) {
#line 293 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		result = FALSE;
#line 293 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		return result;
#line 1816 "display-page.c"
	}
#line 295 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp26_ = self->priv->event_box;
#line 295 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp27_ = gtk_bin_get_child ((GtkBin*) _tmp26_);
#line 295 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp27_ != NULL) {
#line 1824 "display-page.c"
		GtkEventBox* _tmp28_;
		GtkWidget* _tmp29_;
#line 296 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp28_ = self->priv->event_box;
#line 296 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp29_ = gtk_bin_get_child ((GtkBin*) _tmp28_);
#line 296 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		gtk_widget_event (_tmp29_, event);
#line 1833 "display-page.c"
	}
#line 298 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 298 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1839 "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/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1852 "display-page.c"
}


static gboolean
__lambda206_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
#line 315 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_show_size_allocation (self);
#line 317 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 317 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1866 "display-page.c"
}


static gboolean
___lambda206__gsource_func (gpointer self)
{
	gboolean result;
	result = __lambda206_ ((BoxesDisplayPage*) self);
#line 312 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1877 "display-page.c"
}


static void
boxes_display_page_on_size_allocate (BoxesDisplayPage* self,
                                     GtkAllocation* allocation)
{
	gboolean _tmp0_ = FALSE;
	gint _tmp1_;
	GtkAllocation _tmp2_;
	gint _tmp3_;
	GtkAllocation _tmp7_;
	gint _tmp8_;
	GtkAllocation _tmp9_;
	gint _tmp10_;
	GtkLabel* _tmp11_;
	GtkAllocation _tmp12_;
	gint _tmp13_;
	GtkAllocation _tmp14_;
	gint _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
#line 302 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 302 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (allocation != NULL);
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->width;
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp2_ = *allocation;
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp3_ = _tmp2_.width;
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp1_ == _tmp3_) {
#line 1912 "display-page.c"
		gint _tmp4_;
		GtkAllocation _tmp5_;
		gint _tmp6_;
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp4_ = self->priv->height;
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp5_ = *allocation;
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp6_ = _tmp5_.height;
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_ == _tmp6_;
#line 1924 "display-page.c"
	} else {
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 1928 "display-page.c"
	}
#line 303 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp0_) {
#line 304 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		return;
#line 1934 "display-page.c"
	}
#line 306 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp7_ = *allocation;
#line 306 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp8_ = _tmp7_.width;
#line 306 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->width = _tmp8_;
#line 307 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp9_ = *allocation;
#line 307 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp10_ = _tmp9_.height;
#line 307 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->height = _tmp10_;
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp11_ = self->size_label;
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp12_ = *allocation;
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp13_ = _tmp12_.width;
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp14_ = *allocation;
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp15_ = _tmp14_.height;
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp16_ = g_strdup_printf (_ ("%d×%d"), _tmp13_, _tmp15_);
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp17_ = _tmp16_;
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_label_set_label (_tmp11_, _tmp17_);
#line 310 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_free0 (_tmp17_);
#line 312 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda206__gsource_func, g_object_ref (self), g_object_unref);
#line 1968 "display-page.c"
}


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


static gboolean
__lambda207_ (BoxesDisplayPage* self)
{
	gboolean result = FALSE;
	GtkLabel* _tmp0_;
#line 329 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->size_label;
#line 329 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp0_, FALSE);
#line 330 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->size_label_timeout = (guint) 0;
#line 332 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = FALSE;
#line 332 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 1998 "display-page.c"
}


static gboolean
___lambda207__gsource_func (gpointer self)
{
	gboolean result;
	result = __lambda207_ ((BoxesDisplayPage*) self);
#line 328 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 2009 "display-page.c"
}


static void
boxes_display_page_show_size_allocation (BoxesDisplayPage* self)
{
	GtkLabel* _tmp0_;
	guint _tmp1_;
#line 321 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_if_fail (self != NULL);
#line 322 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp0_ = self->size_label;
#line 322 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp0_, TRUE);
#line 324 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->size_label_timeout;
#line 324 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != ((guint) 0)) {
#line 2028 "display-page.c"
		guint _tmp2_;
#line 325 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->size_label_timeout;
#line 325 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		g_source_remove (_tmp2_);
#line 326 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		self->priv->size_label_timeout = (guint) 0;
#line 2036 "display-page.c"
	}
#line 328 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->size_label_timeout = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 3, ___lambda207__gsource_func, g_object_ref (self), g_object_unref);
#line 2040 "display-page.c"
}


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


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


static gboolean
boxes_display_page_get_can_grab_mouse (BoxesDisplayPage* self)
{
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_;
#line 38 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 2077 "display-page.c"
		BoxesDisplay* _tmp2_;
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_can_grab_mouse (_tmp2_);
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 2089 "display-page.c"
	} else {
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 2093 "display-page.c"
	}
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = _tmp0_;
#line 39 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 2099 "display-page.c"
}


static gboolean
boxes_display_page_get_mouse_grabbed (BoxesDisplayPage* self)
{
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_;
#line 43 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 2115 "display-page.c"
		BoxesDisplay* _tmp2_;
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_mouse_grabbed (_tmp2_);
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 2127 "display-page.c"
	} else {
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 2131 "display-page.c"
	}
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = _tmp0_;
#line 44 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 2137 "display-page.c"
}


static gboolean
boxes_display_page_get_keyboard_grabbed (BoxesDisplayPage* self)
{
	gboolean result;
	gboolean _tmp0_ = FALSE;
	BoxesDisplay* _tmp1_;
#line 48 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_tmp1_ = self->priv->display;
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	if (_tmp1_ != NULL) {
#line 2153 "display-page.c"
		BoxesDisplay* _tmp2_;
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp2_ = self->priv->display;
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp3_ = boxes_display_get_keyboard_grabbed (_tmp2_);
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp4_ = _tmp3_;
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = _tmp4_;
#line 2165 "display-page.c"
	} else {
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		_tmp0_ = FALSE;
#line 2169 "display-page.c"
	}
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	result = _tmp0_;
#line 49 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	return result;
#line 2175 "display-page.c"
}


static void
boxes_display_page_class_init (BoxesDisplayPageClass * klass)
{
	gint BoxesDisplayPage_private_offset;
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_parent_class = g_type_class_peek_parent (klass);
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_type_class_add_private (klass, sizeof (BoxesDisplayPagePrivate));
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_display_page_get_property;
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_display_page_finalize;
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	BoxesDisplayPage_private_offset = g_type_class_get_instance_private_offset (klass);
#line 6 "/home/fborges/checkout/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/fborges/checkout/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/fborges/checkout/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/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "transfer_message_box", FALSE, G_STRUCT_OFFSET (BoxesDisplayPage, transfer_message_box));
#line 6 "/home/fborges/checkout/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/fborges/checkout/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/fborges/checkout/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/fborges/checkout/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/fborges/checkout/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 2211 "display-page.c"
}


static void
boxes_display_page_instance_init (BoxesDisplayPage * self)
{
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv = BOXES_DISPLAY_PAGE_GET_PRIVATE (self);
#line 27 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->widget_drag_motion_id = (gulong) 0;
#line 28 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->transfer_message_box_drag_leave_id = (gulong) 0;
#line 29 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->transfer_message_box_drag_motion_id = (gulong) 0;
#line 56 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->width = -1;
#line 57 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self->priv->height = -1;
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_type_ensure (BOXES_TYPE_DISPLAY_TOOLBAR);
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	g_type_ensure (BOXES_TYPE_DISPLAY_TOOLBAR);
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 2236 "display-page.c"
}


static void
boxes_display_page_finalize (GObject * obj)
{
	BoxesDisplayPage * self;
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage);
#line 116 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	boxes_display_page_toolbar_event_stop (self);
#line 10 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->toolbar);
#line 13 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->size_label);
#line 16 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->transfer_message_box);
#line 18 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->event_box);
#line 20 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar);
#line 22 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->overlay_toolbar_box);
#line 23 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->transfer_popover);
#line 34 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->window);
#line 36 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	_g_object_unref0 (self->priv->display);
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
	G_OBJECT_CLASS (boxes_display_page_parent_class)->finalize (obj);
#line 2268 "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/fborges/checkout/gnome-boxes/src/display-page.vala"
	switch (property_id) {
#line 2296 "display-page.c"
		default:
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 6 "/home/fborges/checkout/gnome-boxes/src/display-page.vala"
		break;
#line 2302 "display-page.c"
	}
}



