/* app.c generated by valac 0.18.0.29-efcd0, the Vala compiler
 * generated from app.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <clutter/clutter.h>
#include <gtk/gtk.h>
#include <clutter-gtk/clutter-gtk.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <libvirt-gobject/libvirt-gobject.h>
#include <libcommon.h>
#include <glib/gi18n-lib.h>
#include <version.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <float.h>
#include <math.h>
#include <glib/gstdio.h>
#include <gdk/gdk.h>
#include <libgd/gd.h>


#define BOXES_TYPE_APP_PAGE (boxes_app_page_get_type ())

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

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIClass BoxesUIClass;
typedef struct _BoxesUIPrivate BoxesUIPrivate;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())

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

typedef struct _BoxesApp BoxesApp;
typedef struct _BoxesAppClass BoxesAppClass;
typedef struct _BoxesAppPrivate BoxesAppPrivate;

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

typedef struct _BoxesClutterWidget BoxesClutterWidget;
typedef struct _BoxesClutterWidgetClass BoxesClutterWidgetClass;

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

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

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

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

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

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

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

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

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

typedef struct _BoxesRevealer BoxesRevealer;
typedef struct _BoxesRevealerClass BoxesRevealerClass;

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

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;

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

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

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

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

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

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

#define BOXES_TYPE_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;

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

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;

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

typedef struct _BoxesCollectionFilter BoxesCollectionFilter;
typedef struct _BoxesCollectionFilterClass BoxesCollectionFilterClass;

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

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

#define BOXES_TYPE_SELECTION_CRITERIA (boxes_selection_criteria_get_type ())
typedef struct _BoxesCollectionPrivate BoxesCollectionPrivate;

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

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;
typedef struct _BoxesCollectionItemPrivate BoxesCollectionItemPrivate;

#define BOXES_TYPE_IPROPERTIES_PROVIDER (boxes_iproperties_provider_get_type ())
#define BOXES_IPROPERTIES_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER, BoxesIPropertiesProvider))
#define BOXES_IS_IPROPERTIES_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER))
#define BOXES_IPROPERTIES_PROVIDER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER, BoxesIPropertiesProviderIface))

typedef struct _BoxesIPropertiesProvider BoxesIPropertiesProvider;
typedef struct _BoxesIPropertiesProviderIface BoxesIPropertiesProviderIface;

#define BOXES_TYPE_PROPERTIES_PAGE (boxes_properties_page_get_type ())

#define TYPE_PROPERTY_CREATION_FLAG (property_creation_flag_get_type ())

#define BOXES_TYPE_PROPERTY (boxes_property_get_type ())
#define BOXES_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTY, BoxesProperty))
#define BOXES_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTY, BoxesPropertyClass))
#define BOXES_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTY))
#define BOXES_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTY))
#define BOXES_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTY, BoxesPropertyClass))

typedef struct _BoxesProperty BoxesProperty;
typedef struct _BoxesPropertyClass BoxesPropertyClass;
typedef struct _BoxesMachinePrivate BoxesMachinePrivate;

#define BOXES_TYPE_MACHINE_ACTOR (boxes_machine_actor_get_type ())
#define BOXES_MACHINE_ACTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActor))
#define BOXES_MACHINE_ACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActorClass))
#define BOXES_IS_MACHINE_ACTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE_ACTOR))
#define BOXES_IS_MACHINE_ACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE_ACTOR))
#define BOXES_MACHINE_ACTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActorClass))

typedef struct _BoxesMachineActor BoxesMachineActor;
typedef struct _BoxesMachineActorClass BoxesMachineActorClass;

#define BOXES_TYPE_LIBVIRT_MACHINE (boxes_libvirt_machine_get_type ())
#define BOXES_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachine))
#define BOXES_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))
#define BOXES_IS_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_IS_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_LIBVIRT_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesLibvirtMachinePrivate BoxesLibvirtMachinePrivate;

#define BOXES_TYPE_VM_CREATOR (boxes_vm_creator_get_type ())
#define BOXES_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreator))
#define BOXES_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))
#define BOXES_IS_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_VM_CREATOR))
#define BOXES_IS_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_VM_CREATOR))
#define BOXES_VM_CREATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))

typedef struct _BoxesVMCreator BoxesVMCreator;
typedef struct _BoxesVMCreatorClass BoxesVMCreatorClass;
#define _boxes_vm_creator_unref0(var) ((var == NULL) ? NULL : (var = (boxes_vm_creator_unref (var), NULL)))
typedef struct _Block1Data Block1Data;
#define __vala_GVirStoragePoolInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirStoragePoolInfo_free (var), NULL)))
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
typedef struct _BoxesAppSetupLibvirtData BoxesAppSetupLibvirtData;

#define BOXES_TYPE_REMOTE_MACHINE (boxes_remote_machine_get_type ())
#define BOXES_REMOTE_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_REMOTE_MACHINE, BoxesRemoteMachine))
#define BOXES_REMOTE_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_REMOTE_MACHINE, BoxesRemoteMachineClass))
#define BOXES_IS_REMOTE_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_REMOTE_MACHINE))
#define BOXES_IS_REMOTE_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_REMOTE_MACHINE))
#define BOXES_REMOTE_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_REMOTE_MACHINE, BoxesRemoteMachineClass))

typedef struct _BoxesRemoteMachine BoxesRemoteMachine;
typedef struct _BoxesRemoteMachineClass BoxesRemoteMachineClass;
typedef struct _BoxesAppAddCollectionSourceData BoxesAppAddCollectionSourceData;
typedef struct _BoxesAppSetupSourcesData BoxesAppSetupSourcesData;
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
typedef struct _BoxesRevealerPrivate BoxesRevealerPrivate;
typedef struct _Block2Data Block2Data;
typedef struct _BoxesCollectionViewPrivate BoxesCollectionViewPrivate;
typedef struct _Block3Data Block3Data;
typedef struct _Block4Data Block4Data;
#define _g_main_context_unref0(var) ((var == NULL) ? NULL : (var = (g_main_context_unref (var), NULL)))
typedef struct _Block5Data Block5Data;
typedef struct _Block6Data Block6Data;

typedef enum  {
	BOXES_APP_PAGE_MAIN,
	BOXES_APP_PAGE_DISPLAY
} BoxesAppPage;

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

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

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

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

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};

struct _BoxesAppPrivate {
	gchar* _uri;
	GtkApplication* application;
	GHashTable* connections;
	GHashTable* sources;
	guint configure_id;
	GBinding* status_bind;
	gulong got_error_id;
	gboolean _selection_mode;
};

typedef enum  {
	BOXES_SELECTION_CRITERIA_ALL,
	BOXES_SELECTION_CRITERIA_NONE,
	BOXES_SELECTION_CRITERIA_RUNNING
} BoxesSelectionCriteria;

struct _BoxesCollection {
	GObject parent_instance;
	BoxesCollectionPrivate * priv;
	GPtrArray* items;
};

struct _BoxesCollectionClass {
	GObjectClass parent_class;
};

struct _BoxesCollectionItem {
	BoxesUI parent_instance;
	BoxesCollectionItemPrivate * priv;
};

struct _BoxesCollectionItemClass {
	BoxesUIClass parent_class;
};

typedef enum  {
	BOXES_PROPERTIES_PAGE_LOGIN,
	BOXES_PROPERTIES_PAGE_SYSTEM,
	BOXES_PROPERTIES_PAGE_DISPLAY,
	BOXES_PROPERTIES_PAGE_DEVICES,
	BOXES_PROPERTIES_PAGE_LAST
} BoxesPropertiesPage;

typedef enum  {
	PROPERTY_CREATION_FLAG_NONE = 0,
	PROPERTY_CREATION_FLAG_NO_USB = 1 << 0
} PropertyCreationFlag;

struct _BoxesIPropertiesProviderIface {
	GTypeInterface parent_iface;
	GList* (*get_properties) (BoxesIPropertiesProvider* self, BoxesPropertiesPage page, PropertyCreationFlag flags);
};

struct _BoxesMachine {
	BoxesCollectionItem parent_instance;
	BoxesMachinePrivate * priv;
	BoxesMachineActor* machine_actor;
	BoxesCollectionSource* source;
	BoxesBoxConfig* config;
	gboolean stay_on_display;
	gboolean suspend_at_exit;
	gboolean deleted;
};

struct _BoxesMachineClass {
	BoxesCollectionItemClass parent_class;
	void (*save) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*save_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*take_screenshot) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GdkPixbuf* (*take_screenshot_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	GList* (*get_properties) (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag flags);
	void (*connect_display) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*connect_display_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*disconnect_display) (BoxesMachine* self);
	void (*delete) (BoxesMachine* self, gboolean by_user);
};

struct _BoxesLibvirtMachine {
	BoxesMachine parent_instance;
	BoxesLibvirtMachinePrivate * priv;
	GVirDomain* domain;
	GVirConfigDomain* domain_config;
	GVirConnection* connection;
	GVirStorageVol* storage_volume;
	BoxesVMCreator* vm_creator;
	gdouble* cpu_stats;
	gint cpu_stats_length1;
	gint _cpu_stats_size_;
	gdouble* io_stats;
	gint io_stats_length1;
	gint _io_stats_size_;
	gdouble* net_stats;
	gint net_stats_length1;
	gint _net_stats_size_;
};

struct _BoxesLibvirtMachineClass {
	BoxesMachineClass parent_class;
};

struct _Block1Data {
	int _ref_count_;
	BoxesApp * self;
	BoxesCollectionSource* source;
	gpointer _async_data_;
};

struct _BoxesAppSetupLibvirtData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesApp* self;
	BoxesCollectionSource* source;
	Block1Data* _data1_;
	BoxesCollectionSource* _tmp0_;
	GHashTable* _tmp1_;
	BoxesCollectionSource* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gconstpointer _tmp6_;
	gboolean _tmp7_;
	BoxesCollectionSource* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	GVirConnection* _tmp12_;
	GVirConnection* _tmp13_;
	GVirConnection* connection;
	GVirConnection* _tmp14_;
	GVirConnection* _tmp15_;
	GVirConnection* _tmp16_;
	GVirConnection* _tmp17_;
	GVirStoragePool* _tmp18_;
	GVirStoragePool* pool;
	GVirStoragePool* _tmp19_;
	GVirStoragePool* _tmp20_;
	GVirStoragePoolInfo* _tmp21_;
	GVirStoragePoolInfo* _tmp22_;
	GVirStoragePoolInfo* _tmp23_;
	GVirStoragePoolState _tmp24_;
	gboolean _tmp25_;
	GVirStoragePool* _tmp26_;
	GVirStoragePool* _tmp27_;
	GError* _error_;
	GError* _tmp28_;
	const gchar* _tmp29_;
	GHashTable* _tmp30_;
	BoxesCollectionSource* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	GVirConnection* _tmp34_;
	GVirConnection* _tmp35_;
	GHashTable* _tmp36_;
	BoxesCollectionSource* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	BoxesCollectionSource* _tmp40_;
	BoxesCollectionSource* _tmp41_;
	BoxesCollectionSource* _tmp42_;
	gchar* _tmp43_;
	gchar* _tmp44_;
	gchar* _tmp45_;
	gboolean _tmp46_;
	GVirConnection* _tmp47_;
	GList* _tmp48_;
	GList* domain_collection;
	GList* domain_it;
	GVirDomain* _tmp49_;
	GVirDomain* domain;
	BoxesCollectionSource* _tmp50_;
	GVirConnection* _tmp51_;
	GVirDomain* _tmp52_;
	GVirConnection* _tmp53_;
	GVirConnection* _tmp54_;
	GError * _inner_error_;
};

struct _BoxesAppAddCollectionSourceData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesApp* self;
	BoxesCollectionSource* source;
	BoxesCollectionSource* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	BoxesCollectionSource* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	GQuark _tmp8_;
	BoxesCollectionSource* _tmp9_;
	BoxesCollectionSource* _tmp10_;
	BoxesRemoteMachine* _tmp11_;
	BoxesRemoteMachine* machine;
	BoxesCollection* _tmp12_;
	BoxesRemoteMachine* _tmp13_;
	GError* _error_;
	GError* _tmp14_;
	const gchar* _tmp15_;
	BoxesCollectionSource* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	GError * _inner_error_;
};

struct _BoxesAppSetupSourcesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesApp* self;
	gchar* _tmp0_;
	gchar* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	GFile* _tmp6_;
	GFile* _tmp7_;
	GFile* src;
	gchar* _tmp8_;
	gchar* _tmp9_;
	GFile* _tmp10_;
	GFile* _tmp11_;
	GFile* dst;
	GFile* _tmp12_;
	GFile* _tmp13_;
	GError* _error_;
	GError* _tmp14_;
	const gchar* _tmp15_;
	BoxesCollectionSource* _tmp16_;
	BoxesCollectionSource* source;
	GError* _vala1__error_;
	GError* _tmp17_;
	const gchar* _tmp18_;
	GVirConnection* _tmp19_;
	GVirConnection* _tmp20_;
	GtkApplication* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	GFile* _tmp24_;
	GFile* _tmp25_;
	GFile* dir;
	GError * _inner_error_;
};

struct _BoxesRevealer {
	ClutterActor parent_instance;
	BoxesRevealerPrivate * priv;
	guint duration;
	gboolean resize;
};

struct _BoxesRevealerClass {
	ClutterActorClass parent_class;
};

struct _Block2Data {
	int _ref_count_;
	BoxesApp * self;
	ClutterActor* actor;
	gulong id;
	gulong completed_id;
};

struct _BoxesCollectionView {
	BoxesUI parent_instance;
	BoxesCollectionViewPrivate * priv;
	GdMainIconView* icon_view;
};

struct _BoxesCollectionViewClass {
	BoxesUIClass parent_class;
};

struct _Block3Data {
	int _ref_count_;
	BoxesApp * self;
	gint waiting_counter;
};

struct _Block4Data {
	int _ref_count_;
	Block3Data * _data3_;
	BoxesLibvirtMachine* machine;
};

struct _Block5Data {
	int _ref_count_;
	BoxesApp * self;
	GList* selected_items;
};

typedef void (*BoxesNotificationbarOKFunc) (void* user_data);
typedef void (*BoxesNotificationbarCancelFunc) (void* user_data);
struct _Block6Data {
	int _ref_count_;
	BoxesApp * self;
	BoxesMachine* machine;
};


static gpointer boxes_app_parent_class = NULL;
extern BoxesApp* boxes_app_app;
BoxesApp* boxes_app_app = NULL;

GType boxes_app_page_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_app_get_type (void) G_GNUC_CONST;
GType boxes_clutter_widget_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_revealer_get_type (void) G_GNUC_CONST;
GType boxes_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
GType boxes_collection_filter_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
#define BOXES_APP_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_APP, BoxesAppPrivate))
enum  {
	BOXES_APP_DUMMY_PROPERTY,
	BOXES_APP_ACTOR,
	BOXES_APP_FULLSCREEN,
	BOXES_APP_URI,
	BOXES_APP_DEFAULT_CONNECTION,
	BOXES_APP_DEFAULT_SOURCE,
	BOXES_APP_SELECTION_MODE,
	BOXES_APP_SELECTED_ITEMS
};
#define BOXES_APP_configure_id_timeout ((guint) 100)
BoxesApp* boxes_app_new (void);
BoxesApp* boxes_app_construct (GType object_type);
BoxesUI* boxes_ui_construct (GType object_type);
static void _g_free0_ (gpointer var);
static void _g_object_unref0_ (gpointer var);
BoxesCollectionFilter* boxes_collection_filter_new (void);
BoxesCollectionFilter* boxes_collection_filter_construct (GType object_type);
static void __lambda162_ (BoxesApp* self);
gboolean boxes_app_quit (BoxesApp* self);
static void ___lambda162__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self);
static void __lambda163_ (BoxesApp* self);
void boxes_ui_set_ui_state (BoxesUI* self, BoxesUIState value);
static void ___lambda163__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self);
static void __lambda164_ (BoxesApp* self);
void boxes_app_set_fullscreen (BoxesApp* self, gboolean value);
static void ___lambda164__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self);
static void __lambda165_ (BoxesApp* self);
static void ___lambda165__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self);
static void __lambda166_ (BoxesApp* self);
GType boxes_selection_criteria_get_type (void) G_GNUC_CONST;
void boxes_collection_view_select (BoxesCollectionView* self, BoxesSelectionCriteria selection);
static void ___lambda166__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self);
static void __lambda167_ (BoxesApp* self);
static void ___lambda167__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self);
static void __lambda168_ (BoxesApp* self);
static void ___lambda168__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self);
static void __lambda169_ (BoxesApp* self);
static void ___lambda169__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self);
static void __lambda170_ (BoxesApp* self, GApplication* app);
BoxesCollection* boxes_collection_new (void);
BoxesCollection* boxes_collection_construct (GType object_type);
static void boxes_app_setup_ui (BoxesApp* self);
static void __lambda175_ (BoxesApp* self, BoxesCollectionItem* item);
void boxes_collection_view_add_item (BoxesCollectionView* self, BoxesCollectionItem* item);
static void ___lambda175__boxes_collection_item_added (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self);
static void __lambda176_ (BoxesApp* self, BoxesCollectionItem* item);
void boxes_collection_view_remove_item (BoxesCollectionView* self, BoxesCollectionItem* item);
static void ___lambda176__boxes_collection_item_removed (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self);
static void boxes_app_setup_sources (BoxesApp* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_app_setup_sources_finish (BoxesApp* self, GAsyncResult* _res_);
static void __lambda178_ (BoxesApp* self, GObject* obj, GAsyncResult* _result_);
static void ___lambda178__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
void boxes_check_cpu_vt_capability (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_cpu_vt_capability_finish (GAsyncResult* _res_);
void boxes_check_module_kvm_loaded (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_module_kvm_loaded_finish (GAsyncResult* _res_);
static void ___lambda170__g_application_startup (GApplication* _sender, gpointer self);
static void __lambda179_ (BoxesApp* self, GApplication* app);
static void ___lambda179__g_application_activate (GApplication* _sender, gpointer self);
gint boxes_app_run (BoxesApp* self);
void boxes_app_shutdown (BoxesApp* self);
void boxes_app_open (BoxesApp* self, const gchar* name);
void boxes_collection_view_set_visible (BoxesCollectionView* self, gboolean value);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
void boxes_app_select_item (BoxesApp* self, BoxesCollectionItem* item);
gboolean boxes_app_open_uuid (BoxesApp* self, const gchar* uuid);
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_properties_page_get_type (void) G_GNUC_CONST;
GType property_creation_flag_get_type (void) G_GNUC_CONST;
GType boxes_property_get_type (void) G_GNUC_CONST;
GType boxes_iproperties_provider_get_type (void) G_GNUC_CONST;
GType boxes_machine_actor_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
BoxesLibvirtMachine* boxes_app_add_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GError** error);
BoxesLibvirtMachine* boxes_libvirt_machine_new (BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GError** error);
BoxesLibvirtMachine* boxes_libvirt_machine_construct (GType object_type, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GError** error);
GVirConnection* boxes_app_get_default_connection (BoxesApp* self);
void boxes_collection_add_item (BoxesCollection* self, BoxesCollectionItem* item);
static void boxes_app_try_add_new_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain);
static void boxes_app_try_add_existing_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain);
gpointer boxes_vm_creator_ref (gpointer instance);
void boxes_vm_creator_unref (gpointer instance);
GParamSpec* boxes_param_spec_vm_creator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void boxes_value_set_vm_creator (GValue* value, gpointer v_object);
void boxes_value_take_vm_creator (GValue* value, gpointer v_object);
gpointer boxes_value_get_vm_creator (const GValue* value);
GType boxes_vm_creator_get_type (void) G_GNUC_CONST;
gboolean boxes_vm_configurator_is_install_config (GVirConfigDomain* domain);
gboolean boxes_vm_configurator_is_live_config (GVirConfigDomain* domain);
BoxesVMCreator* boxes_vm_creator_new_for_install_completion (BoxesLibvirtMachine* machine);
BoxesVMCreator* boxes_vm_creator_construct_for_install_completion (GType object_type, BoxesLibvirtMachine* machine);
void boxes_app_delete_machine (BoxesApp* self, BoxesMachine* machine, gboolean by_user);
void boxes_machine_delete (BoxesMachine* self, gboolean by_user);
void boxes_collection_remove_item (BoxesCollection* self, BoxesCollectionItem* item);
static void boxes_app_setup_libvirt_data_free (gpointer _data);
static void boxes_app_setup_libvirt (BoxesApp* self, BoxesCollectionSource* source, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_app_setup_libvirt_finish (BoxesApp* self, GAsyncResult* _res_);
static gboolean boxes_app_setup_libvirt_co (BoxesAppSetupLibvirtData* _data_);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (void * _userdata_);
static void boxes_app_setup_libvirt_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GVirStoragePool* boxes_get_storage_pool (GVirConnection* connection);
static void _vala_GVirStoragePoolInfo_free (GVirStoragePoolInfo* self);
static void _g_list_free__g_object_unref0_ (GList* self);
static void __lambda153_ (BoxesApp* self, GVirConnection* connection, GVirDomain* domain);
static void ___lambda153__gvir_connection_domain_removed (GVirConnection* _sender, GVirDomain* dom, gpointer self);
static void __lambda154_ (Block1Data* _data1_, GVirConnection* connection, GVirDomain* domain);
static void ___lambda154__gvir_connection_domain_added (GVirConnection* _sender, GVirDomain* dom, gpointer self);
static void boxes_app_add_collection_source_data_free (gpointer _data);
void boxes_app_add_collection_source (BoxesApp* self, BoxesCollectionSource* source, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_app_add_collection_source_finish (BoxesApp* self, GAsyncResult* _res_);
static gboolean boxes_app_add_collection_source_co (BoxesAppAddCollectionSourceData* _data_);
static void boxes_app_add_collection_source_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesRemoteMachine* boxes_remote_machine_new (BoxesCollectionSource* source, GError** error);
BoxesRemoteMachine* boxes_remote_machine_construct (GType object_type, BoxesCollectionSource* source, GError** error);
GType boxes_remote_machine_get_type (void) G_GNUC_CONST;
static void boxes_app_setup_sources_data_free (gpointer _data);
static gboolean boxes_app_setup_sources_co (BoxesAppSetupSourcesData* _data_);
static void boxes_app_setup_sources_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static gboolean __lambda177_ (BoxesApp* self, const gchar* filename, GError** error);
static gboolean ___lambda177__boxes_foreach_filename_from_dir_func (const gchar* filename, gpointer self, GError** error);
static void boxes_app_save_window_geometry (BoxesApp* self);
static gboolean boxes_app_get_maximized (BoxesApp* self);
static GVariant* _variant_new1 (gint* value, gint value_length1);
static GVariant* _variant_new2 (gint* value, gint value_length1);
static gint _variant_get3 (GVariant* value);
static gint _variant_get4 (GVariant* value);
static gint _variant_get5 (GVariant* value);
static gint _variant_get6 (GVariant* value);
static gboolean __lambda171_ (BoxesApp* self);
gboolean boxes_app_get_fullscreen (BoxesApp* self);
static gboolean __lambda172_ (BoxesApp* self);
static gboolean ___lambda172__gsource_func (gpointer self);
static gboolean ___lambda171__gtk_widget_configure_event (GtkWidget* _sender, GdkEventConfigure* event, gpointer self);
static gboolean __lambda173_ (BoxesApp* self, GdkEventWindowState* event);
static gboolean ___lambda173__gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self);
BoxesClutterWidget* boxes_clutter_widget_new (void);
BoxesClutterWidget* boxes_clutter_widget_construct (GType object_type);
BoxesDisplayPage* boxes_display_page_new (void);
BoxesDisplayPage* boxes_display_page_construct (GType object_type);
GtkWidget* boxes_display_page_get_widget (BoxesDisplayPage* self);
void boxes_gdk_rgba_to_clutter_color (GdkRGBA* gdk_rgba, ClutterColor* result);
void boxes_get_boxes_bg_color (GdkRGBA* result);
static gboolean __lambda174_ (BoxesApp* self);
static gboolean ___lambda174__gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
static gboolean boxes_app_on_key_pressed (BoxesApp* self, GtkWidget* widget, GdkEventKey* event);
static gboolean _boxes_app_on_key_pressed_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self);
BoxesSidebar* boxes_sidebar_new (void);
BoxesSidebar* boxes_sidebar_construct (GType object_type);
BoxesCollectionView* boxes_collection_view_new (void);
BoxesCollectionView* boxes_collection_view_construct (GType object_type);
BoxesSearchbar* boxes_searchbar_new (void);
BoxesSearchbar* boxes_searchbar_construct (GType object_type);
BoxesTopbar* boxes_topbar_new (void);
BoxesTopbar* boxes_topbar_construct (GType object_type);
BoxesNotificationbar* boxes_notificationbar_new (void);
BoxesNotificationbar* boxes_notificationbar_construct (GType object_type);
BoxesSelectionbar* boxes_selectionbar_new (void);
BoxesSelectionbar* boxes_selectionbar_construct (GType object_type);
BoxesWizard* boxes_wizard_new (void);
BoxesWizard* boxes_wizard_construct (GType object_type);
BoxesProperties* boxes_properties_new (void);
BoxesProperties* boxes_properties_construct (GType object_type);
BoxesRevealer* boxes_revealer_new (gboolean horizontal);
BoxesRevealer* boxes_revealer_construct (GType object_type, gboolean horizontal);
ClutterActor* boxes_ui_get_actor (BoxesUI* self);
void boxes_revealer_unreveal (BoxesRevealer* self);
ClutterActor* boxes_notificationbar_get_actor (BoxesNotificationbar* self);
ClutterActor* boxes_selectionbar_get_actor (BoxesSelectionbar* self);
static void boxes_app_set_main_ui_state (BoxesApp* self);
static void boxes_app_position_item_actor_at_icon (BoxesApp* self, BoxesCollectionItem* item);
void boxes_collection_view_get_item_pos (BoxesCollectionView* self, BoxesCollectionItem* item, gfloat* x, gfloat* y);
#define BOXES_MACHINE_SCREENSHOT_WIDTH 180
static void boxes_app_real_ui_state_changed (BoxesUI* base);
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
void boxes_revealer_set_revealed (BoxesRevealer* self, gboolean value);
void boxes_topbar_set_status (BoxesTopbar* self, const gchar* value);
gboolean boxes_searchbar_get_visible (BoxesSearchbar* self);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
static void ____lambda180_ (BoxesApp* self, GtkAllocation* allocation);
static gboolean __lambda181_ (BoxesApp* self);
static gboolean ___lambda181__gsource_func (gpointer self);
static void _____lambda180__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self);
static void ____lambda182_ (Block2Data* _data2_);
void boxes_actor_remove (ClutterActor* actor);
static void _____lambda182__clutter_actor_transitions_completed (ClutterActor* _sender, gpointer self);
const gchar* boxes_ui_state_to_string (BoxesUIState self);
void boxes_app_suspend_machines (BoxesApp* self);
static Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_data_unref (void * _userdata_);
static Block4Data* block4_data_ref (Block4Data* _data4_);
static void block4_data_unref (void * _userdata_);
void boxes_libvirt_machine_suspend (BoxesLibvirtMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_libvirt_machine_suspend_finish (BoxesLibvirtMachine* self, GAsyncResult* _res_, GError** error);
static void ______lambda183_ (Block4Data* _data4_);
static void _______lambda183__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
void boxes_notificationbar_cancel (BoxesNotificationbar* self);
void boxes_wizard_cleanup (BoxesWizard* self);
void boxes_app_show_properties (BoxesApp* self);
GList* boxes_collection_view_get_selected_items (BoxesCollectionView* self);
void boxes_app_set_selection_mode (BoxesApp* self, gboolean value);
void boxes_app_remove_selected_items (BoxesApp* self);
static Block5Data* block5_data_ref (Block5Data* _data5_);
static void block5_data_unref (void * _userdata_);
static void __lambda132_ (Block5Data* _data5_);
static void ___lambda132__boxes_notificationbar_ok_func (gpointer self);
static void __lambda133_ (Block5Data* _data5_);
static void ___lambda133__boxes_notificationbar_cancel_func (gpointer self);
GdNotification* boxes_notificationbar_display_for_action (BoxesNotificationbar* self, const gchar* message, const gchar* action_label, BoxesNotificationbarOKFunc action_func, void* action_func_target, GDestroyNotify action_func_target_destroy_notify, BoxesNotificationbarCancelFunc ignore_func, void* ignore_func_target, GDestroyNotify ignore_func_target_destroy_notify, gint timeout);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
gboolean boxes_app_get_selection_mode (BoxesApp* self);
void boxes_app_connect_to (BoxesApp* self, BoxesMachine* machine, gfloat x, gfloat y);
static Block6Data* block6_data_ref (Block6Data* _data6_);
static void block6_data_unref (void * _userdata_);
void boxes_allocate_actor_no_animation (ClutterActor* actor, gfloat x, gfloat y, gfloat width, gfloat height);
#define BOXES_MACHINE_SCREENSHOT_HEIGHT 134
static void __lambda107_ (BoxesApp* self, const gchar* message);
GdNotification* boxes_notificationbar_display_error (BoxesNotificationbar* self, const gchar* message, gint timeout);
static void ___lambda107__boxes_machine_got_error (BoxesMachine* _sender, const gchar* message, gpointer self);
void boxes_machine_connect_display (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_machine_connect_display_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error);
static void __lambda108_ (Block6Data* _data6_, GObject* obj, GAsyncResult* res);
static void ___lambda108__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
const gchar* boxes_app_get_uri (BoxesApp* self);
void boxes_app_set_uri (BoxesApp* self, const gchar* value);
BoxesCollectionSource* boxes_app_get_default_source (BoxesApp* self);
GList* boxes_app_get_selected_items (BoxesApp* self);
static void boxes_app_finalize (GObject* obj);
static void _vala_boxes_app_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_app_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);


GType boxes_app_page_get_type (void) {
	static volatile gsize boxes_app_page_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_app_page_type_id__volatile)) {
		static const GEnumValue values[] = {{BOXES_APP_PAGE_MAIN, "BOXES_APP_PAGE_MAIN", "main"}, {BOXES_APP_PAGE_DISPLAY, "BOXES_APP_PAGE_DISPLAY", "display"}, {0, NULL, NULL}};
		GType boxes_app_page_type_id;
		boxes_app_page_type_id = g_enum_register_static ("BoxesAppPage", values);
		g_once_init_leave (&boxes_app_page_type_id__volatile, boxes_app_page_type_id);
	}
	return boxes_app_page_type_id__volatile;
}


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


static void _g_free0_ (gpointer var) {
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	var = (g_free (var), NULL);
#line 942 "app.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 949 "app.c"
}


static void __lambda162_ (BoxesApp* self) {
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_quit (self);
#line 956 "app.c"
}


static void ___lambda162__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self) {
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda162_ (self);
#line 963 "app.c"
}


static void __lambda163_ (BoxesApp* self) {
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_WIZARD);
#line 970 "app.c"
}


static void ___lambda163__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self) {
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda163_ (self);
#line 977 "app.c"
}


static void __lambda164_ (BoxesApp* self) {
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_set_fullscreen (self, TRUE);
#line 984 "app.c"
}


static void ___lambda164__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self) {
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda164_ (self);
#line 991 "app.c"
}


static void __lambda165_ (BoxesApp* self) {
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_PROPERTIES);
#line 998 "app.c"
}


static void ___lambda165__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self) {
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda165_ (self);
#line 1005 "app.c"
}


static void __lambda166_ (BoxesApp* self) {
	BoxesCollectionView* _tmp0_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_select (_tmp0_, BOXES_SELECTION_CRITERIA_ALL);
#line 1015 "app.c"
}


static void ___lambda166__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self) {
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda166_ (self);
#line 1022 "app.c"
}


static void __lambda167_ (BoxesApp* self) {
	BoxesCollectionView* _tmp0_;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_select (_tmp0_, BOXES_SELECTION_CRITERIA_RUNNING);
#line 1032 "app.c"
}


static void ___lambda167__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self) {
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda167_ (self);
#line 1039 "app.c"
}


static void __lambda168_ (BoxesApp* self) {
	BoxesCollectionView* _tmp0_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_select (_tmp0_, BOXES_SELECTION_CRITERIA_NONE);
#line 1049 "app.c"
}


static void ___lambda168__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self) {
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda168_ (self);
#line 1056 "app.c"
}


static void __lambda169_ (BoxesApp* self) {
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar** _tmp4_ = NULL;
	gchar** authors;
	gint authors_length1;
	gint _authors_size_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar** _tmp7_ = NULL;
	gchar** artists;
	gint artists_length1;
	gint _artists_size_;
	GtkApplicationWindow* _tmp8_;
	const gchar* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = g_strdup ("Alexander Larsson <alexl@redhat.com>");
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_strdup ("Christophe Fergeau <cfergeau@redhat.com>");
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = g_strdup ("Marc-André Lureau <marcandre.lureau@gmail.com>");
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = g_strdup ("Zeeshan Ali (Khattak) <zeeshanak@gnome.org>");
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = g_new0 (gchar*, 4 + 1);
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_[0] = _tmp0_;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_[1] = _tmp1_;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_[2] = _tmp2_;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_[3] = _tmp3_;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	authors = _tmp4_;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	authors_length1 = 4;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_authors_size_ = authors_length1;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = g_strdup ("Jon McCann <jmccann@redhat.com>");
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = g_strdup ("Jakub Steiner <jsteiner@redhat.com>");
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = g_new0 (gchar*, 2 + 1);
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_[0] = _tmp5_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_[1] = _tmp6_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	artists = _tmp7_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	artists_length1 = 2;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_artists_size_ = artists_length1;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = self->window;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = _ ("translator-credits");
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = _ ("A simple GNOME 3 application to access remote or virtual systems");
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_show_about_dialog ((GtkWindow*) _tmp8_, "artists", artists, "authors", authors, "translator-credits", _tmp9_, "comments", _tmp10_, "copyright", "Copyright 2011 Red Hat, Inc.", "license-type", GTK_LICENSE_LGPL_2_1, "logo-icon-name", "gnome-boxes", "version", BUILD_VERSION, "website", "http://live.gnome.org/Boxes", "wrap-license", TRUE, NULL);
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	artists = (_vala_array_free (artists, artists_length1, (GDestroyNotify) g_free), NULL);
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	authors = (_vala_array_free (authors, authors_length1, (GDestroyNotify) g_free), NULL);
#line 1130 "app.c"
}


static void ___lambda169__g_simple_action_activate (GSimpleAction* _sender, GVariant* parameter, gpointer self) {
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda169_ (self);
#line 1137 "app.c"
}


static void __lambda175_ (BoxesApp* self, BoxesCollectionItem* item) {
	BoxesCollectionView* _tmp0_;
	BoxesCollectionItem* _tmp1_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (item != NULL);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = item;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_add_item (_tmp0_, _tmp1_);
#line 1152 "app.c"
}


static void ___lambda175__boxes_collection_item_added (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self) {
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda175_ (self, item);
#line 1159 "app.c"
}


static void __lambda176_ (BoxesApp* self, BoxesCollectionItem* item) {
	BoxesCollectionView* _tmp0_;
	BoxesCollectionItem* _tmp1_;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (item != NULL);
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = item;
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_remove_item (_tmp0_, _tmp1_);
#line 1174 "app.c"
}


static void ___lambda176__boxes_collection_item_removed (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self) {
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda176_ (self, item);
#line 1181 "app.c"
}


static gint g_ptr_array_get_length (GPtrArray* self) {
	gint result;
	guint _tmp0_;
#line 4076 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 4076 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp0_ = self->len;
#line 4076 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	result = (gint) _tmp0_;
#line 4076 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	return result;
#line 1196 "app.c"
}


static void g_ptr_array_set_length (GPtrArray* self, gint value) {
	gint _tmp0_;
#line 4077 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_if_fail (self != NULL);
#line 4077 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp0_ = value;
#line 4077 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_ptr_array_set_size (self, _tmp0_);
#line 1208 "app.c"
}


static void __lambda178_ (BoxesApp* self, GObject* obj, GAsyncResult* _result_) {
	GAsyncResult* _tmp0_;
	BoxesCollection* _tmp1_;
	GPtrArray* _tmp2_;
	gint _tmp3_;
	gint _tmp4_;
	gboolean no_items;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (_result_ != NULL);
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _result_;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_sources_finish (self, _tmp0_);
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = self->collection;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_->items;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = g_ptr_array_get_length (_tmp2_);
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _tmp3_;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	no_items = _tmp4_ == 0;
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_emit_by_name (self, "ready", no_items);
#line 1237 "app.c"
}


static void ___lambda178__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda178_ (self, source_object, res);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_unref (self);
#line 1246 "app.c"
}


static void __lambda170_ (BoxesApp* self, GApplication* app) {
	GMenu* _tmp0_;
	GMenu* menu;
	const gchar* _tmp1_ = NULL;
	GMenu* _tmp2_;
	GMenu* display_section;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	GtkApplication* _tmp7_;
	BoxesCollection* _tmp8_;
	GSettings* _tmp9_;
	gint _tmp10_ = 0;
	BoxesCollection* _tmp11_;
	BoxesCollection* _tmp12_;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (app != NULL);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = g_menu_new ();
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	menu = _tmp0_;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _ ("New");
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (menu, _tmp1_, "app.new");
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = g_menu_new ();
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	display_section = _tmp2_;
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _ ("Properties");
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (display_section, _tmp3_, "app.display.properties");
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _ ("Fullscreen");
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (display_section, _tmp4_, "app.display.fullscreen");
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append_section (menu, NULL, (GMenuModel*) display_section);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = _ ("About Boxes");
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (menu, _tmp5_, "app.about");
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = _ ("Quit");
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (menu, _tmp6_, "app.quit");
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = self->priv->application;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_application_set_app_menu (_tmp7_, (GMenuModel*) menu);
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = boxes_collection_new ();
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->collection);
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->collection = _tmp8_;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = self->settings;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = g_settings_get_int (_tmp9_, "animation-duration");
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->duration = (guint) _tmp10_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_ui (self);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp11_ = self->collection;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp11_, "item-added", (GCallback) ___lambda175__boxes_collection_item_added, self, 0);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp12_ = self->collection;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp12_, "item-removed", (GCallback) ___lambda176__boxes_collection_item_removed, self, 0);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_sources (self, ___lambda178__gasync_ready_callback, g_object_ref (self));
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_check_cpu_vt_capability (NULL, NULL);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_check_module_kvm_loaded (NULL, NULL);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (display_section);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (menu);
#line 1334 "app.c"
}


static void ___lambda170__g_application_startup (GApplication* _sender, gpointer self) {
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda170_ (self, _sender);
#line 1341 "app.c"
}


static void __lambda179_ (BoxesApp* self, GApplication* app) {
	GtkApplicationWindow* _tmp0_;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (app != NULL);
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->window;
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_window_present ((GtkWindow*) _tmp0_);
#line 1353 "app.c"
}


static void ___lambda179__g_application_activate (GApplication* _sender, gpointer self) {
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda179_ (self, _sender);
#line 1360 "app.c"
}


BoxesApp* boxes_app_construct (GType object_type) {
	BoxesApp * self = NULL;
	BoxesApp* _tmp0_;
	GtkApplication* _tmp1_;
	GSettings* _tmp2_;
	GHashFunc _tmp3_;
	GEqualFunc _tmp4_;
	GHashTable* _tmp5_;
	GHashFunc _tmp6_;
	GEqualFunc _tmp7_;
	GHashTable* _tmp8_;
	BoxesCollectionFilter* _tmp9_;
	GSimpleAction* _tmp10_;
	GSimpleAction* action;
	GSimpleAction* _tmp11_;
	GtkApplication* _tmp12_;
	GSimpleAction* _tmp13_;
	GSimpleAction* _tmp14_;
	GSimpleAction* _tmp15_;
	GtkApplication* _tmp16_;
	GSimpleAction* _tmp17_;
	GSimpleAction* _tmp18_;
	GSimpleAction* _tmp19_;
	GtkApplication* _tmp20_;
	GSimpleAction* _tmp21_;
	GSimpleAction* _tmp22_;
	GSimpleAction* _tmp23_;
	GtkApplication* _tmp24_;
	GSimpleAction* _tmp25_;
	GSimpleAction* _tmp26_;
	GSimpleAction* _tmp27_;
	GtkApplication* _tmp28_;
	GSimpleAction* _tmp29_;
	GSimpleAction* _tmp30_;
	GSimpleAction* _tmp31_;
	GtkApplication* _tmp32_;
	GSimpleAction* _tmp33_;
	GSimpleAction* _tmp34_;
	GSimpleAction* _tmp35_;
	GtkApplication* _tmp36_;
	GSimpleAction* _tmp37_;
	GSimpleAction* _tmp38_;
	GSimpleAction* _tmp39_;
	GtkApplication* _tmp40_;
	GSimpleAction* _tmp41_;
	GtkApplication* _tmp42_;
	GtkApplication* _tmp43_;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = (BoxesApp*) boxes_ui_construct (object_type);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (boxes_app_app);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_app = _tmp0_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = gtk_application_new ("org.gnome.Boxes", 0);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->application);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->application = _tmp1_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = g_settings_new ("org.gnome.boxes");
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->settings);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->settings = _tmp2_;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = g_str_hash;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = g_str_equal;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = g_hash_table_new_full (_tmp3_, _tmp4_, _g_free0_, _g_object_unref0_);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_hash_table_unref0 (self->priv->connections);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->connections = _tmp5_;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = g_str_hash;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = g_str_equal;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = g_hash_table_new_full (_tmp6_, _tmp7_, _g_free0_, _g_object_unref0_);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_hash_table_unref0 (self->priv->sources);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->sources = _tmp8_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = boxes_collection_filter_new ();
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->filter);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->filter = _tmp9_;
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = g_simple_action_new ("quit", NULL);
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp10_;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp11_ = action;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp11_, "activate", (GCallback) ___lambda162__g_simple_action_activate, self, 0);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp12_ = self->priv->application;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = action;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp12_, (GAction*) _tmp13_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = g_simple_action_new ("new", NULL);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp14_;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp15_ = action;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp15_, "activate", (GCallback) ___lambda163__g_simple_action_activate, self, 0);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp16_ = self->priv->application;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = action;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp16_, (GAction*) _tmp17_);
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = g_simple_action_new ("display.fullscreen", NULL);
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_fullscreen);
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->action_fullscreen = _tmp18_;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp19_ = self->action_fullscreen;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp19_, "activate", (GCallback) ___lambda164__g_simple_action_activate, self, 0);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_ = self->priv->application;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = self->action_fullscreen;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp20_, (GAction*) _tmp21_);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_ = g_simple_action_new ("display.properties", NULL);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_properties);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->action_properties = _tmp22_;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp23_ = self->action_properties;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp23_, "activate", (GCallback) ___lambda165__g_simple_action_activate, self, 0);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp24_ = self->priv->application;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = self->action_properties;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp24_, (GAction*) _tmp25_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26_ = g_simple_action_new ("select-all", NULL);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp26_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp27_ = action;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp27_, "activate", (GCallback) ___lambda166__g_simple_action_activate, self, 0);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp28_ = self->priv->application;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp29_ = action;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp28_, (GAction*) _tmp29_);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp30_ = g_simple_action_new ("select-running", NULL);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp30_;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp31_ = action;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp31_, "activate", (GCallback) ___lambda167__g_simple_action_activate, self, 0);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp32_ = self->priv->application;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp33_ = action;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp32_, (GAction*) _tmp33_);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp34_ = g_simple_action_new ("select-none", NULL);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp34_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp35_ = action;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp35_, "activate", (GCallback) ___lambda168__g_simple_action_activate, self, 0);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp36_ = self->priv->application;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp37_ = action;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp36_, (GAction*) _tmp37_);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp38_ = g_simple_action_new ("about", NULL);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp38_;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp39_ = action;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp39_, "activate", (GCallback) ___lambda169__g_simple_action_activate, self, 0);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp40_ = self->priv->application;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp41_ = action;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp40_, (GAction*) _tmp41_);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp42_ = self->priv->application;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GApplication*) _tmp42_, "startup", (GCallback) ___lambda170__g_application_startup, self, G_CONNECT_AFTER);
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp43_ = self->priv->application;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GApplication*) _tmp43_, "activate", (GCallback) ___lambda179__g_application_activate, self, G_CONNECT_AFTER);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return self;
#line 1595 "app.c"
}


BoxesApp* boxes_app_new (void) {
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return boxes_app_construct (BOXES_TYPE_APP);
#line 1602 "app.c"
}


gint boxes_app_run (BoxesApp* self) {
	gint result = 0;
	GtkApplication* _tmp0_;
	gint _tmp1_ = 0;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->application;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_application_run ((GApplication*) _tmp0_, 0, NULL);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = _tmp1_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 1620 "app.c"
}


void boxes_app_shutdown (BoxesApp* self) {
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->application);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->application = NULL;
#line 1631 "app.c"
}


void boxes_app_open (BoxesApp* self, const gchar* name) {
	BoxesCollectionView* _tmp0_;
	BoxesCollection* _tmp1_;
	GPtrArray* _tmp2_;
	gpointer* _tmp3_;
	gint _tmp3__length1;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (name != NULL);
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_COLLECTION);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_set_visible (_tmp0_, FALSE);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = self->collection;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_->items;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _tmp2_->pdata;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3__length1 = (gint) _tmp2_->len;
#line 1659 "app.c"
	{
		BoxesCollectionItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection = _tmp3_;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection_length1 = _tmp3__length1;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (item_it = 0; item_it < _tmp3__length1; item_it = item_it + 1) {
#line 1671 "app.c"
			BoxesCollectionItem* _tmp4_;
			BoxesCollectionItem* item = NULL;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp4_ = _g_object_ref0 (item_collection[item_it]);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item = _tmp4_;
#line 1678 "app.c"
			{
				BoxesCollectionItem* _tmp5_;
				const gchar* _tmp6_;
				const gchar* _tmp7_;
				const gchar* _tmp8_;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp5_ = item;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = boxes_collection_item_get_name (_tmp5_);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp7_ = _tmp6_;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp8_ = name;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (g_strcmp0 (_tmp7_, _tmp8_) == 0) {
#line 1694 "app.c"
					BoxesCollectionItem* _tmp9_;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp9_ = item;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					boxes_app_select_item (self, _tmp9_);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_object_unref0 (item);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					break;
#line 1704 "app.c"
				}
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (item);
#line 1708 "app.c"
			}
		}
	}
}


gboolean boxes_app_open_uuid (BoxesApp* self, const gchar* uuid) {
	gboolean result = FALSE;
	BoxesCollectionView* _tmp0_;
	BoxesCollection* _tmp1_;
	GPtrArray* _tmp2_;
	gpointer* _tmp3_;
	gint _tmp3__length1;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (uuid != NULL, FALSE);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_COLLECTION);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_set_visible (_tmp0_, FALSE);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = self->collection;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_->items;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _tmp2_->pdata;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3__length1 = (gint) _tmp2_->len;
#line 1740 "app.c"
	{
		BoxesCollectionItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection = _tmp3_;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection_length1 = _tmp3__length1;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (item_it = 0; item_it < _tmp3__length1; item_it = item_it + 1) {
#line 1752 "app.c"
			BoxesCollectionItem* _tmp4_;
			BoxesCollectionItem* item = NULL;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp4_ = _g_object_ref0 (item_collection[item_it]);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item = _tmp4_;
#line 1759 "app.c"
			{
				BoxesCollectionItem* _tmp5_;
				BoxesCollectionItem* _tmp6_;
				BoxesMachine* _tmp7_;
				BoxesMachine* machine;
				BoxesMachine* _tmp8_;
				BoxesBoxConfig* _tmp9_;
				gchar* _tmp10_;
				gchar* _tmp11_;
				gchar* _tmp12_;
				const gchar* _tmp13_;
				gboolean _tmp14_;
				BoxesCollectionItem* _tmp15_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp5_ = item;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, BOXES_TYPE_MACHINE)) {
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_object_unref0 (item);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					continue;
#line 1781 "app.c"
				}
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = item;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp6_) : NULL);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				machine = _tmp7_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp8_ = machine;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp9_ = _tmp8_->config;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp10_ = boxes_box_config_get_uuid (_tmp9_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp11_ = _tmp10_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp12_ = _tmp11_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp13_ = uuid;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp14_ = g_strcmp0 (_tmp12_, _tmp13_) != 0;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_free0 (_tmp12_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (_tmp14_) {
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_object_unref0 (machine);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_object_unref0 (item);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					continue;
#line 1813 "app.c"
				}
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp15_ = item;
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_select_item (self, _tmp15_);
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				result = TRUE;
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (machine);
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (item);
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				return result;
#line 1827 "app.c"
			}
		}
	}
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 1835 "app.c"
}


BoxesLibvirtMachine* boxes_app_add_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GError** error) {
	BoxesLibvirtMachine* result = NULL;
	GVirDomain* _tmp0_;
	gconstpointer _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_;
	BoxesLibvirtMachine* machine;
	BoxesLibvirtMachine* _tmp3_;
	BoxesCollectionSource* _tmp4_;
	GVirConnection* _tmp5_;
	GVirDomain* _tmp6_;
	BoxesLibvirtMachine* _tmp7_;
	BoxesLibvirtMachine* _tmp8_;
	BoxesLibvirtMachine* _tmp9_;
	GVirConnection* _tmp10_;
	GVirConnection* _tmp11_;
	GVirConnection* _tmp12_;
	BoxesCollection* _tmp13_;
	BoxesLibvirtMachine* _tmp14_;
	GVirDomain* _tmp15_;
	BoxesLibvirtMachine* _tmp16_;
	BoxesLibvirtMachine* _tmp17_;
	GError * _inner_error_ = NULL;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (connection != NULL, NULL);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (domain != NULL, NULL);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = domain;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_object_get_data ((GObject*) _tmp0_, "machine");
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _g_object_ref0 ((BoxesLibvirtMachine*) _tmp1_);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	machine = _tmp2_;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = machine;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp3_ != NULL) {
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		result = machine;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return result;
#line 1885 "app.c"
	}
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = source;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = connection;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = domain;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = boxes_libvirt_machine_new (_tmp4_, _tmp5_, _tmp6_, &_inner_error_);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = _tmp7_;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_propagate_error (error, _inner_error_);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (machine);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return NULL;
#line 1905 "app.c"
	}
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (machine);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	machine = _tmp8_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = machine;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = connection;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp11_ = boxes_app_get_default_connection (self);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp12_ = _tmp11_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	((BoxesMachine*) _tmp9_)->suspend_at_exit = _tmp10_ == _tmp12_;
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = self->collection;
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = machine;
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_add_item (_tmp13_, (BoxesCollectionItem*) _tmp14_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp15_ = domain;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp16_ = machine;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = _g_object_ref0 (_tmp16_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set_data_full ((GObject*) _tmp15_, "machine", _tmp17_, g_object_unref);
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = machine;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 1939 "app.c"
}


static void boxes_app_try_add_new_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain) {
	GError * _inner_error_ = NULL;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (source != NULL);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (connection != NULL);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (domain != NULL);
#line 1953 "app.c"
	{
		BoxesCollectionSource* _tmp0_;
		GVirConnection* _tmp1_;
		GVirDomain* _tmp2_;
		BoxesLibvirtMachine* _tmp3_ = NULL;
		BoxesLibvirtMachine* _tmp4_;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = source;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp1_ = connection;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = domain;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = boxes_app_add_domain (self, _tmp0_, _tmp1_, _tmp2_, &_inner_error_);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = _tmp3_;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_tmp4_);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 1974 "app.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* _error_ = NULL;
		BoxesCollectionSource* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
		GError* _tmp9_;
		const gchar* _tmp10_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_error_ = _inner_error_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_inner_error_ = NULL;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = source;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp6_ = boxes_collection_source_get_name (_tmp5_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = _tmp6_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = _tmp7_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = _error_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = _tmp9_->message;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:236: Failed to create source '%s': %s", _tmp8_, _tmp10_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp8_);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_error_);
#line 2010 "app.c"
	}
	__finally0:
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_inner_error_);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 2021 "app.c"
	}
}


static void boxes_app_try_add_existing_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain) {
	GError * _inner_error_ = NULL;
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (source != NULL);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (connection != NULL);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (domain != NULL);
#line 2036 "app.c"
	{
		BoxesCollectionSource* _tmp0_;
		GVirConnection* _tmp1_;
		GVirDomain* _tmp2_;
		BoxesLibvirtMachine* _tmp3_ = NULL;
		BoxesLibvirtMachine* machine;
		GVirConfigDomain* _tmp4_;
		GVirConfigDomain* _tmp5_;
		GVirConfigDomain* config;
		gboolean _tmp6_ = FALSE;
		GVirConfigDomain* _tmp7_;
		gboolean _tmp8_ = FALSE;
		gboolean _tmp11_;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = source;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp1_ = connection;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = domain;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = boxes_app_add_domain (self, _tmp0_, _tmp1_, _tmp2_, &_inner_error_);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		machine = _tmp3_;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 2062 "app.c"
			goto __catch1_g_error;
		}
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = machine->domain_config;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _g_object_ref0 (_tmp4_);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		config = _tmp5_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = config;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = boxes_vm_configurator_is_install_config (_tmp7_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_tmp8_) {
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp6_ = TRUE;
#line 2079 "app.c"
		} else {
			GVirConfigDomain* _tmp9_;
			gboolean _tmp10_ = FALSE;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp9_ = config;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp10_ = boxes_vm_configurator_is_live_config (_tmp9_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp6_ = _tmp10_;
#line 2089 "app.c"
		}
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = _tmp6_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_tmp11_) {
#line 2095 "app.c"
			const gchar* _tmp12_;
			const gchar* _tmp13_;
			BoxesVMCreator* _tmp14_;
			BoxesVMCreator* _tmp15_;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp12_ = boxes_collection_item_get_name ((BoxesCollectionItem*) machine);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp13_ = _tmp12_;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_debug ("app.vala:247: Continuing installation/live session for '%s', ..", _tmp13_);
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp14_ = boxes_vm_creator_new_for_install_completion (machine);
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp15_ = _tmp14_;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_boxes_vm_creator_unref0 (_tmp15_);
#line 2112 "app.c"
		}
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (config);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (machine);
#line 2118 "app.c"
	}
	goto __finally1;
	__catch1_g_error:
	{
		GError* _error_ = NULL;
		BoxesCollectionSource* _tmp16_;
		gchar* _tmp17_;
		gchar* _tmp18_;
		gchar* _tmp19_;
		GError* _tmp20_;
		const gchar* _tmp21_;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_error_ = _inner_error_;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_inner_error_ = NULL;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp16_ = source;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp17_ = boxes_collection_source_get_name (_tmp16_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp18_ = _tmp17_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp19_ = _tmp18_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp20_ = _error_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp21_ = _tmp20_->message;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:251: Failed to create source '%s': %s", _tmp19_, _tmp21_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp19_);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_error_);
#line 2152 "app.c"
	}
	__finally1:
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_inner_error_);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 2163 "app.c"
	}
}


void boxes_app_delete_machine (BoxesApp* self, BoxesMachine* machine, gboolean by_user) {
	BoxesMachine* _tmp0_;
	gboolean _tmp1_;
	BoxesCollection* _tmp2_;
	BoxesMachine* _tmp3_;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (machine != NULL);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = machine;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = by_user;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_machine_delete (_tmp0_, _tmp1_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->collection;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = machine;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_remove_item (_tmp2_, (BoxesCollectionItem*) _tmp3_);
#line 2189 "app.c"
}


static void boxes_app_setup_libvirt_data_free (gpointer _data) {
	BoxesAppSetupLibvirtData* _data_;
	_data_ = _data;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->self);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_slice_free (BoxesAppSetupLibvirtData, _data_);
#line 2200 "app.c"
}


static void boxes_app_setup_libvirt (BoxesApp* self, BoxesCollectionSource* source, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesAppSetupLibvirtData* _data_;
	BoxesApp* _tmp0_;
	BoxesCollectionSource* _tmp1_;
	BoxesCollectionSource* _tmp2_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = g_slice_new0 (BoxesAppSetupLibvirtData);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_app_setup_libvirt);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_app_setup_libvirt_data_free);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->self = _tmp0_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = source;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->source);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->source = _tmp2_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_libvirt_co (_data_);
#line 2229 "app.c"
}


static void boxes_app_setup_libvirt_finish (BoxesApp* self, GAsyncResult* _res_) {
	BoxesAppSetupLibvirtData* _data_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2237 "app.c"
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return _data1_;
#line 2246 "app.c"
}


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 2255 "app.c"
		BoxesApp * self;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		self = _data1_->self;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data1_->source);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (self);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_slice_free (Block1Data, _data1_);
#line 2265 "app.c"
	}
}


static void boxes_app_setup_libvirt_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesAppSetupLibvirtData* _data_;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = _user_data_;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_source_object_ = source_object;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_res_ = _res_;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_libvirt_co (_data_);
#line 2280 "app.c"
}


static void _vala_GVirStoragePoolInfo_free (GVirStoragePoolInfo* self) {
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_boxed_free (gvir_storage_pool_info_get_type (), self);
#line 2287 "app.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_list_free (self);
#line 2296 "app.c"
}


static void __lambda153_ (BoxesApp* self, GVirConnection* connection, GVirDomain* domain) {
	GVirDomain* _tmp0_;
	gconstpointer _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_;
	BoxesLibvirtMachine* machine;
	BoxesLibvirtMachine* _tmp3_;
	BoxesLibvirtMachine* _tmp4_;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (connection != NULL);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (domain != NULL);
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = domain;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_object_get_data ((GObject*) _tmp0_, "machine");
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _g_object_ref0 ((BoxesLibvirtMachine*) _tmp1_);
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	machine = _tmp2_;
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = machine;
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp3_ == NULL) {
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (machine);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 2327 "app.c"
	}
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = machine;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_delete_machine (self, (BoxesMachine*) _tmp4_, FALSE);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (machine);
#line 2335 "app.c"
}


static void ___lambda153__gvir_connection_domain_removed (GVirConnection* _sender, GVirDomain* dom, gpointer self) {
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda153_ (self, _sender, dom);
#line 2342 "app.c"
}


static void __lambda154_ (Block1Data* _data1_, GVirConnection* connection, GVirDomain* domain) {
	BoxesApp * self;
	GVirDomain* _tmp0_;
	const gchar* _tmp1_ = NULL;
	BoxesCollectionSource* _tmp2_;
	GVirConnection* _tmp3_;
	GVirDomain* _tmp4_;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = _data1_->self;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (connection != NULL);
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (domain != NULL);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = domain;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = gvir_domain_get_name (_tmp0_);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_debug ("app.vala:300: New domain '%s'", _tmp1_);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _data1_->source;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = connection;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = domain;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_try_add_new_domain (self, _tmp2_, _tmp3_, _tmp4_);
#line 2373 "app.c"
}


static void ___lambda154__gvir_connection_domain_added (GVirConnection* _sender, GVirDomain* dom, gpointer self) {
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda154_ (self, _sender, dom);
#line 2380 "app.c"
}


static gboolean boxes_app_setup_libvirt_co (BoxesAppSetupLibvirtData* _data_) {
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (_data_->_state_) {
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 0:
#line 2389 "app.c"
		goto _state_0;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 1:
#line 2393 "app.c"
		goto _state_1;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 2:
#line 2397 "app.c"
		goto _state_2;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 3:
#line 2401 "app.c"
		goto _state_3;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 4:
#line 2405 "app.c"
		goto _state_4;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 5:
#line 2409 "app.c"
		goto _state_5;
		default:
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_assert_not_reached ();
#line 2414 "app.c"
	}
	_state_0:
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_ = g_slice_new0 (Block1Data);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_->_ref_count_ = 1;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_->self = g_object_ref (_data_->self);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp0_ = _data_->source;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->_data1_->source);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_->source = _data_->_tmp0_;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_->_async_data_ = _data_;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp1_ = _data_->self->priv->connections;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp2_ = _data_->_data1_->source;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp3_ = boxes_collection_source_get_name (_data_->_tmp2_);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp6_ = NULL;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp6_ = g_hash_table_lookup (_data_->_tmp1_, _data_->_tmp5_);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp7_ = ((GVirConnection*) _data_->_tmp6_) != NULL;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp5_);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_tmp7_) {
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		block1_data_unref (_data_->_data1_);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_data1_ = NULL;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_state_ == 0) {
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2459 "app.c"
		} else {
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2463 "app.c"
		}
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_object_unref (_data_->_async_result);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2469 "app.c"
	}
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp8_ = _data_->_data1_->source;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp9_ = boxes_collection_source_get_uri (_data_->_tmp8_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp12_ = gvir_connection_new (_data_->_tmp11_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp11_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->connection = _data_->_tmp13_;
#line 2487 "app.c"
	{
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp14_ = _data_->connection;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 1;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_open_async (_data_->_tmp14_, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2497 "app.c"
		_state_1:
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_open_finish (_data_->_tmp14_, _data_->_res_, &_data_->_inner_error_);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2503 "app.c"
			goto __catch2_g_error;
		}
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp15_ = _data_->connection;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 2;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_fetch_domains_async (_data_->_tmp15_, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2514 "app.c"
		_state_2:
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_fetch_domains_finish (_data_->_tmp15_, _data_->_res_, &_data_->_inner_error_);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2520 "app.c"
			goto __catch2_g_error;
		}
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp16_ = _data_->connection;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 3;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_fetch_storage_pools_async (_data_->_tmp16_, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2531 "app.c"
		_state_3:
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_fetch_storage_pools_finish (_data_->_tmp16_, _data_->_res_, &_data_->_inner_error_);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2537 "app.c"
			goto __catch2_g_error;
		}
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp17_ = _data_->connection;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp18_ = NULL;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp18_ = boxes_get_storage_pool (_data_->_tmp17_);
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->pool = _data_->_tmp18_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp19_ = _data_->pool;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_tmp19_ != NULL) {
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp20_ = _data_->pool;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp21_ = NULL;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp21_ = gvir_storage_pool_get_info (_data_->_tmp20_, &_data_->_inner_error_);
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp22_ = _data_->_tmp21_;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_data_->_inner_error_ != NULL) {
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (_data_->pool);
#line 2564 "app.c"
				goto __catch2_g_error;
			}
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp23_ = _data_->_tmp22_;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp24_ = _data_->_tmp23_->state;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp25_ = _data_->_tmp24_ == GVIR_STORAGE_POOL_STATE_INACTIVE;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			__vala_GVirStoragePoolInfo_free0 (_data_->_tmp23_);
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_data_->_tmp25_) {
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp26_ = _data_->pool;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_state_ = 4;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				gvir_storage_pool_start_async (_data_->_tmp26_, (guint) 0, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				return FALSE;
#line 2585 "app.c"
				_state_4:
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				gvir_storage_pool_start_finish (_data_->_tmp26_, _data_->_res_, &_data_->_inner_error_);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (_data_->_inner_error_ != NULL) {
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_object_unref0 (_data_->pool);
#line 2593 "app.c"
					goto __catch2_g_error;
				}
			}
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp27_ = _data_->pool;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_state_ = 5;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			gvir_storage_pool_refresh_async (_data_->_tmp27_, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			return FALSE;
#line 2605 "app.c"
			_state_5:
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			gvir_storage_pool_refresh_finish (_data_->_tmp27_, _data_->_res_, &_data_->_inner_error_);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_data_->_inner_error_ != NULL) {
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (_data_->pool);
#line 2613 "app.c"
				goto __catch2_g_error;
			}
		}
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->pool);
#line 2619 "app.c"
	}
	goto __finally2;
	__catch2_g_error:
	{
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_inner_error_ = NULL;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp28_ = _data_->_error_;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp29_ = _data_->_tmp28_->message;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:278: %s", _data_->_tmp29_);
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_data_->_error_);
#line 2636 "app.c"
	}
	__finally2:
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->connection);
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		block1_data_unref (_data_->_data1_);
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_data1_ = NULL;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2653 "app.c"
	}
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp30_ = _data_->self->priv->connections;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp31_ = _data_->_data1_->source;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp32_ = boxes_collection_source_get_name (_data_->_tmp31_);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp33_ = _data_->_tmp32_;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp34_ = _data_->connection;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp35_ = _g_object_ref0 (_data_->_tmp34_);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_hash_table_insert (_data_->_tmp30_, _data_->_tmp33_, _data_->_tmp35_);
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp36_ = _data_->self->priv->sources;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp37_ = _data_->_data1_->source;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp38_ = boxes_collection_source_get_name (_data_->_tmp37_);
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp39_ = _data_->_tmp38_;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp40_ = _data_->_data1_->source;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp41_ = _g_object_ref0 (_data_->_tmp40_);
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_hash_table_insert (_data_->_tmp36_, _data_->_tmp39_, _data_->_tmp41_);
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp42_ = _data_->_data1_->source;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp43_ = boxes_collection_source_get_name (_data_->_tmp42_);
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp44_ = _data_->_tmp43_;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp45_ = _data_->_tmp44_;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp46_ = g_strcmp0 (_data_->_tmp45_, "QEMU Session") == 0;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp45_);
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_tmp46_) {
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_object_notify ((GObject*) _data_->self, "default-connection");
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_object_notify ((GObject*) _data_->self, "default-source");
#line 2701 "app.c"
	}
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp47_ = _data_->connection;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp48_ = NULL;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp48_ = gvir_connection_get_domains (_data_->_tmp47_);
#line 2709 "app.c"
	{
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->domain_collection = _data_->_tmp48_;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (_data_->domain_it = _data_->domain_collection; _data_->domain_it != NULL; _data_->domain_it = _data_->domain_it->next) {
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp49_ = _g_object_ref0 ((GVirDomain*) _data_->domain_it->data);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->domain = _data_->_tmp49_;
#line 2719 "app.c"
			{
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp50_ = _data_->_data1_->source;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp51_ = _data_->connection;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp52_ = _data_->domain;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_try_add_existing_domain (_data_->self, _data_->_tmp50_, _data_->_tmp51_, _data_->_tmp52_);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (_data_->domain);
#line 2731 "app.c"
			}
		}
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		__g_list_free__g_object_unref0_0 (_data_->domain_collection);
#line 2736 "app.c"
	}
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp53_ = _data_->connection;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_data_->_tmp53_, "domain-removed", (GCallback) ___lambda153__gvir_connection_domain_removed, _data_->self, 0);
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp54_ = _data_->connection;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_data (_data_->_tmp54_, "domain-added", (GCallback) ___lambda154__gvir_connection_domain_added, block1_data_ref (_data_->_data1_), (GClosureNotify) block1_data_unref, 0);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->connection);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	block1_data_unref (_data_->_data1_);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_ = NULL;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_state_ == 0) {
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2756 "app.c"
	} else {
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2760 "app.c"
	}
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_unref (_data_->_async_result);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return FALSE;
#line 2766 "app.c"
}


static void boxes_app_add_collection_source_data_free (gpointer _data) {
	BoxesAppAddCollectionSourceData* _data_;
	_data_ = _data;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->source);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->self);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_slice_free (BoxesAppAddCollectionSourceData, _data_);
#line 2779 "app.c"
}


void boxes_app_add_collection_source (BoxesApp* self, BoxesCollectionSource* source, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesAppAddCollectionSourceData* _data_;
	BoxesApp* _tmp0_;
	BoxesCollectionSource* _tmp1_;
	BoxesCollectionSource* _tmp2_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = g_slice_new0 (BoxesAppAddCollectionSourceData);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_app_add_collection_source);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_app_add_collection_source_data_free);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->self = _tmp0_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = source;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->source);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->source = _tmp2_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_add_collection_source_co (_data_);
#line 2808 "app.c"
}


void boxes_app_add_collection_source_finish (BoxesApp* self, GAsyncResult* _res_) {
	BoxesAppAddCollectionSourceData* _data_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2816 "app.c"
}


static void boxes_app_add_collection_source_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesAppAddCollectionSourceData* _data_;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = _user_data_;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_source_object_ = source_object;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_res_ = _res_;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_add_collection_source_co (_data_);
#line 2830 "app.c"
}


static gboolean boxes_app_add_collection_source_co (BoxesAppAddCollectionSourceData* _data_) {
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	static GQuark _tmp7_label0 = 0;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	static GQuark _tmp7_label1 = 0;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	static GQuark _tmp7_label2 = 0;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (_data_->_state_) {
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 0:
#line 2845 "app.c"
		goto _state_0;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 1:
#line 2849 "app.c"
		goto _state_1;
		default:
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_assert_not_reached ();
#line 2854 "app.c"
	}
	_state_0:
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp0_ = _data_->source;
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp1_ = boxes_collection_source_get_enabled (_data_->_tmp0_);
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (!_data_->_tmp2_) {
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_state_ == 0) {
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2869 "app.c"
		} else {
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2873 "app.c"
		}
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_object_unref (_data_->_async_result);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2879 "app.c"
	}
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp3_ = _data_->source;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp4_ = boxes_collection_source_get_source_type (_data_->_tmp3_);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp8_ = 0U;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp8_ = (NULL == _data_->_tmp6_) ? 0 : g_quark_from_string (_data_->_tmp6_);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_free (_data_->_tmp6_);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_tmp8_ == ((0 != _tmp7_label0) ? _tmp7_label0 : (_tmp7_label0 = g_quark_from_static_string ("libvirt")))) {
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		switch (0) {
#line 2899 "app.c"
			default:
			{
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp9_ = _data_->source;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_state_ = 1;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_setup_libvirt (_data_->self, _data_->_tmp9_, boxes_app_add_collection_source_ready, _data_);
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				return FALSE;
#line 2910 "app.c"
				_state_1:
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_setup_libvirt_finish (_data_->self, _data_->_res_);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				break;
#line 2916 "app.c"
			}
		}
	} else if ((_data_->_tmp8_ == ((0 != _tmp7_label1) ? _tmp7_label1 : (_tmp7_label1 = g_quark_from_static_string ("vnc")))) || (_data_->_tmp8_ == ((0 != _tmp7_label2) ? _tmp7_label2 : (_tmp7_label2 = g_quark_from_static_string ("spice"))))) {
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		switch (0) {
#line 2922 "app.c"
			default:
			{
				{
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_tmp10_ = _data_->source;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_tmp11_ = boxes_remote_machine_new (_data_->_tmp10_, &_data_->_inner_error_);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->machine = _data_->_tmp11_;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					if (_data_->_inner_error_ != NULL) {
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						if (_data_->_inner_error_->domain == BOXES_ERROR) {
#line 2936 "app.c"
							goto __catch3_boxes_error;
						}
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						g_clear_error (&_data_->_inner_error_);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						return FALSE;
#line 2945 "app.c"
					}
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_tmp12_ = _data_->self->collection;
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_tmp13_ = _data_->machine;
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					boxes_collection_add_item (_data_->_tmp12_, (BoxesCollectionItem*) _data_->_tmp13_);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_object_unref0 (_data_->machine);
#line 2955 "app.c"
				}
				goto __finally3;
				__catch3_boxes_error:
				{
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_error_ = _data_->_inner_error_;
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_inner_error_ = NULL;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_tmp14_ = _data_->_error_;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_tmp15_ = _data_->_tmp14_->message;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					g_warning ("app.vala:320: %s", _data_->_tmp15_);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_error_free0 (_data_->_error_);
#line 2972 "app.c"
				}
				__finally3:
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (_data_->_inner_error_ != NULL) {
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					g_clear_error (&_data_->_inner_error_);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					return FALSE;
#line 2983 "app.c"
				}
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				break;
#line 2987 "app.c"
			}
		}
	} else {
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		switch (0) {
#line 2993 "app.c"
			default:
			{
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp16_ = _data_->source;
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp17_ = boxes_collection_source_get_source_type (_data_->_tmp16_);
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp18_ = _data_->_tmp17_;
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp19_ = _data_->_tmp18_;
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				g_warning ("app.vala:325: Unsupported source type %s", _data_->_tmp19_);
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_free0 (_data_->_tmp19_);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				break;
#line 3010 "app.c"
			}
		}
	}
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_state_ == 0) {
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3018 "app.c"
	} else {
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3022 "app.c"
	}
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_unref (_data_->_async_result);
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return FALSE;
#line 3028 "app.c"
}


static void boxes_app_setup_sources_data_free (gpointer _data) {
	BoxesAppSetupSourcesData* _data_;
	_data_ = _data;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->self);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_slice_free (BoxesAppSetupSourcesData, _data_);
#line 3039 "app.c"
}


static void boxes_app_setup_sources (BoxesApp* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesAppSetupSourcesData* _data_;
	BoxesApp* _tmp0_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = g_slice_new0 (BoxesAppSetupSourcesData);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_app_setup_sources);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_app_setup_sources_data_free);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->self = _tmp0_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_sources_co (_data_);
#line 3058 "app.c"
}


static void boxes_app_setup_sources_finish (BoxesApp* self, GAsyncResult* _res_) {
	BoxesAppSetupSourcesData* _data_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 3066 "app.c"
}


static void boxes_app_setup_sources_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesAppSetupSourcesData* _data_;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = _user_data_;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_source_object_ = source_object;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_res_ = _res_;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_sources_co (_data_);
#line 3080 "app.c"
}


static gboolean __lambda177_ (BoxesApp* self, const gchar* filename, GError** error) {
	gboolean result = FALSE;
	const gchar* _tmp0_;
	BoxesCollectionSource* _tmp1_;
	BoxesCollectionSource* source;
	GError * _inner_error_ = NULL;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (filename != NULL, FALSE);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = filename;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_collection_source_new_with_file (_tmp0_, &_inner_error_);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	source = _tmp1_;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_propagate_error (error, _inner_error_);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 3104 "app.c"
	}
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_add_collection_source (self, source, NULL, NULL);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (source);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3114 "app.c"
}


static gboolean ___lambda177__boxes_foreach_filename_from_dir_func (const gchar* filename, gpointer self, GError** error) {
	gboolean result;
	result = __lambda177_ (self, filename, error);
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3123 "app.c"
}


static gboolean boxes_app_setup_sources_co (BoxesAppSetupSourcesData* _data_) {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (_data_->_state_) {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 0:
#line 3132 "app.c"
		goto _state_0;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 1:
#line 3136 "app.c"
		goto _state_1;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 2:
#line 3140 "app.c"
		goto _state_2;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 3:
#line 3144 "app.c"
		goto _state_3;
		default:
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_assert_not_reached ();
#line 3149 "app.c"
	}
	_state_0:
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp0_ = NULL;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp0_ = boxes_get_user_pkgconfig_source ("QEMU Session");
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp2_ = FALSE;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp2_ = g_file_test (_data_->_tmp1_, G_FILE_TEST_IS_REGULAR);
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp3_ = !_data_->_tmp2_;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp1_);
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_tmp3_) {
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp4_ = NULL;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp4_ = boxes_get_pkgdata_source ("QEMU_Session");
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp5_ = _data_->_tmp4_;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp6_ = NULL;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp6_ = g_file_new_for_path (_data_->_tmp5_);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp7_ = _data_->_tmp6_;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_data_->_tmp5_);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->src = _data_->_tmp7_;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp8_ = NULL;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp8_ = boxes_get_user_pkgconfig_source ("QEMU Session");
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp9_ = _data_->_tmp8_;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp10_ = NULL;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp10_ = g_file_new_for_path (_data_->_tmp9_);
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp11_ = _data_->_tmp10_;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_data_->_tmp9_);
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->dst = _data_->_tmp11_;
#line 3200 "app.c"
		{
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp12_ = _data_->src;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp13_ = _data_->dst;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_state_ = 1;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_file_copy_async (_data_->_tmp12_, _data_->_tmp13_, G_FILE_COPY_NONE, G_PRIORITY_DEFAULT, NULL, NULL, NULL, boxes_app_setup_sources_ready, _data_);
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			return FALSE;
#line 3212 "app.c"
			_state_1:
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_file_copy_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_data_->_inner_error_ != NULL) {
#line 3218 "app.c"
				goto __catch4_g_error;
			}
		}
		goto __finally4;
		__catch4_g_error:
		{
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_error_ = _data_->_inner_error_;
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_inner_error_ = NULL;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp14_ = _data_->_error_;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp15_ = _data_->_tmp14_->message;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_critical ("app.vala:338: Can't setup default sources: %s", _data_->_tmp15_);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_error_free0 (_data_->_error_);
#line 3237 "app.c"
		}
		__finally4:
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (_data_->dst);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (_data_->src);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_clear_error (&_data_->_inner_error_);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			return FALSE;
#line 3252 "app.c"
		}
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->dst);
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->src);
#line 3258 "app.c"
	}
	{
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp16_ = boxes_collection_source_new_with_file ("QEMU Session", &_data_->_inner_error_);
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->source = _data_->_tmp16_;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 3267 "app.c"
			goto __catch5_g_error;
		}
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 2;
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_add_collection_source (_data_->self, _data_->source, boxes_app_setup_sources_ready, _data_);
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 3276 "app.c"
		_state_2:
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_add_collection_source_finish (_data_->self, _data_->_res_);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->source);
#line 3282 "app.c"
	}
	goto __finally5;
	__catch5_g_error:
	{
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_inner_error_ = NULL;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp17_ = _data_->_vala1__error_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp18_ = _data_->_tmp17_->message;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:346: %s", _data_->_tmp18_);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 3299 "app.c"
	}
	__finally5:
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 3310 "app.c"
	}
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp19_ = boxes_app_get_default_connection (_data_->self);
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_tmp20_ == NULL) {
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_printerr ("Missing or failing default libvirt connection\n");
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp21_ = _data_->self->priv->application;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_application_release ((GApplication*) _data_->_tmp21_);
#line 3324 "app.c"
	}
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp22_ = NULL;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp22_ = boxes_get_user_pkgconfig_source (NULL);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp23_ = _data_->_tmp22_;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp24_ = NULL;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp24_ = g_file_new_for_path (_data_->_tmp23_);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp25_ = _data_->_tmp24_;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp23_);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->dir = _data_->_tmp25_;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_state_ = 3;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_foreach_filename_from_dir (_data_->dir, ___lambda177__boxes_foreach_filename_from_dir_func, _data_->self, boxes_app_setup_sources_ready, _data_);
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return FALSE;
#line 3348 "app.c"
	_state_3:
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_foreach_filename_from_dir_finish (_data_->_res_);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->dir);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_state_ == 0) {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3358 "app.c"
	} else {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3362 "app.c"
	}
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_unref (_data_->_async_result);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return FALSE;
#line 3368 "app.c"
}


static GVariant* _variant_new1 (gint* value, gint value_length1) {
	gint* _tmp10_;
	GVariantBuilder _tmp11_;
	int _tmp12_;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = value;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_variant_builder_init (&_tmp11_, G_VARIANT_TYPE ("ai"));
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	for (_tmp12_ = 0; _tmp12_ < value_length1; _tmp12_++) {
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_variant_builder_add_value (&_tmp11_, g_variant_new_int32 (*_tmp10_));
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_++;
#line 3386 "app.c"
	}
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return g_variant_ref_sink (g_variant_builder_end (&_tmp11_));
#line 3390 "app.c"
}


static GVariant* _variant_new2 (gint* value, gint value_length1) {
	gint* _tmp22_;
	GVariantBuilder _tmp23_;
	int _tmp24_;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_ = value;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_variant_builder_init (&_tmp23_, G_VARIANT_TYPE ("ai"));
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	for (_tmp24_ = 0; _tmp24_ < value_length1; _tmp24_++) {
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_variant_builder_add_value (&_tmp23_, g_variant_new_int32 (*_tmp22_));
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp22_++;
#line 3408 "app.c"
	}
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return g_variant_ref_sink (g_variant_builder_end (&_tmp23_));
#line 3412 "app.c"
}


static void boxes_app_save_window_geometry (BoxesApp* self) {
	gint width = 0;
	gint height = 0;
	gint x = 0;
	gint y = 0;
	gboolean _tmp0_;
	gboolean _tmp1_;
	GtkApplicationWindow* _tmp2_;
	gint _tmp3_ = 0;
	gint _tmp4_ = 0;
	GSettings* _tmp5_;
	gint _tmp6_;
	gint _tmp7_;
	gint* _tmp8_ = NULL;
	gint* _tmp9_;
	gint _tmp9__length1;
	GVariant* _tmp13_;
	GtkApplicationWindow* _tmp14_;
	gint _tmp15_ = 0;
	gint _tmp16_ = 0;
	GSettings* _tmp17_;
	gint _tmp18_;
	gint _tmp19_;
	gint* _tmp20_ = NULL;
	gint* _tmp21_;
	gint _tmp21__length1;
	GVariant* _tmp25_;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = boxes_app_get_maximized (self);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp1_) {
#line 365 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 3453 "app.c"
	}
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->window;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_window_get_size ((GtkWindow*) _tmp2_, &_tmp3_, &_tmp4_);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	width = _tmp3_;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	height = _tmp4_;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = self->settings;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = width;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = height;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = g_new0 (gint, 2);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_[0] = _tmp6_;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_[1] = _tmp7_;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = _tmp8_;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9__length1 = 2;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = _variant_new1 (_tmp9_, 2);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_settings_set_value (_tmp5_, "window-size", _tmp13_);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = (g_free (_tmp9_), NULL);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = self->window;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_window_get_position ((GtkWindow*) _tmp14_, &_tmp15_, &_tmp16_);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	x = _tmp15_;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	y = _tmp16_;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = self->settings;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = x;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp19_ = y;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_ = g_new0 (gint, 2);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_[0] = _tmp18_;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_[1] = _tmp19_;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = _tmp20_;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21__length1 = 2;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = _variant_new2 (_tmp21_, 2);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_settings_set_value (_tmp17_, "window-position", _tmp25_);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = (g_free (_tmp21_), NULL);
#line 3515 "app.c"
}


static gint _variant_get3 (GVariant* value) {
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return g_variant_get_int32 (value);
#line 3522 "app.c"
}


static gint _variant_get4 (GVariant* value) {
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return g_variant_get_int32 (value);
#line 3529 "app.c"
}


static gint _variant_get5 (GVariant* value) {
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return g_variant_get_int32 (value);
#line 3536 "app.c"
}


static gint _variant_get6 (GVariant* value) {
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return g_variant_get_int32 (value);
#line 3543 "app.c"
}


static gboolean __lambda172_ (BoxesApp* self) {
	gboolean result = FALSE;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->configure_id = (guint) 0;
#line 407 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_save_window_geometry (self);
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3557 "app.c"
}


static gboolean ___lambda172__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda172_ (self);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3566 "app.c"
}


static gboolean __lambda171_ (BoxesApp* self) {
	gboolean result = FALSE;
	gboolean _tmp0_;
	gboolean _tmp1_;
	guint _tmp2_;
	guint _tmp4_ = 0U;
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = boxes_app_get_fullscreen (self);
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_;
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp1_) {
#line 401 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		result = FALSE;
#line 401 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return result;
#line 3586 "app.c"
	}
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->priv->configure_id;
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp2_ != ((guint) 0)) {
#line 3592 "app.c"
		guint _tmp3_;
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = self->priv->configure_id;
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_source_remove (_tmp3_);
#line 3598 "app.c"
	}
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = g_timeout_add_full (G_PRIORITY_DEFAULT, BOXES_APP_configure_id_timeout, ___lambda172__gsource_func, g_object_ref (self), g_object_unref);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->configure_id = _tmp4_;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3608 "app.c"
}


static gboolean ___lambda171__gtk_widget_configure_event (GtkWidget* _sender, GdkEventConfigure* event, gpointer self) {
	gboolean result;
	result = __lambda171_ (self);
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3617 "app.c"
}


static gboolean __lambda173_ (BoxesApp* self, GdkEventWindowState* event) {
	gboolean result = FALSE;
	GdkEventWindowState _tmp0_;
	GdkWindowState _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GSettings* _tmp4_;
	gboolean _tmp5_;
	gboolean _tmp6_;
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = *event;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_.changed_mask;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if ((_tmp1_ & GDK_WINDOW_STATE_FULLSCREEN) == GDK_WINDOW_STATE_FULLSCREEN) {
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_object_notify ((GObject*) self, "fullscreen");
#line 3640 "app.c"
	}
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = boxes_app_get_fullscreen (self);
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _tmp2_;
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp3_) {
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		result = FALSE;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return result;
#line 3652 "app.c"
	}
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = self->settings;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = boxes_app_get_maximized (self);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = _tmp5_;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_settings_set_boolean (_tmp4_, "window-maximized", _tmp6_);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3666 "app.c"
}


static gboolean ___lambda173__gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self) {
	gboolean result;
	result = __lambda173_ (self, event);
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3675 "app.c"
}


static gboolean __lambda174_ (BoxesApp* self) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = boxes_app_quit (self);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = _tmp0_;
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3688 "app.c"
}


static gboolean ___lambda174__gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
	gboolean result;
	result = __lambda174_ (self);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3697 "app.c"
}


static gboolean _boxes_app_on_key_pressed_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
	gboolean result;
	result = boxes_app_on_key_pressed (self, _sender, event);
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3706 "app.c"
}


static void boxes_app_setup_ui (BoxesApp* self) {
	GtkApplication* _tmp0_;
	GtkApplicationWindow* _tmp1_;
	GtkApplicationWindow* _tmp2_;
	GtkApplicationWindow* _tmp3_;
	GSettings* _tmp4_;
	GVariant* _tmp5_ = NULL;
	GVariant* size;
	GVariant* _tmp6_;
	gsize _tmp7_ = 0UL;
	GSettings* _tmp21_;
	gboolean _tmp22_ = FALSE;
	GSettings* _tmp24_;
	GVariant* _tmp25_ = NULL;
	GVariant* position;
	GVariant* _tmp26_;
	gsize _tmp27_ = 0UL;
	GtkApplicationWindow* _tmp41_;
	GtkApplicationWindow* _tmp42_;
	GtkNotebook* _tmp43_;
	GtkNotebook* _tmp44_;
	GtkNotebook* _tmp45_;
	GtkApplicationWindow* _tmp46_;
	GtkNotebook* _tmp47_;
	BoxesClutterWidget* _tmp48_;
	GtkNotebook* _tmp49_;
	BoxesClutterWidget* _tmp50_;
	BoxesDisplayPage* _tmp51_;
	GtkNotebook* _tmp52_;
	BoxesDisplayPage* _tmp53_;
	GtkWidget* _tmp54_;
	GtkWidget* _tmp55_;
	BoxesClutterWidget* _tmp56_;
	ClutterActor* _tmp57_ = NULL;
	ClutterStage* _tmp58_;
	ClutterStage* _tmp59_;
	GdkRGBA _tmp60_ = {0};
	ClutterColor _tmp61_ = {0};
	GtkApplicationWindow* _tmp62_;
	GtkApplicationWindow* _tmp63_;
	ClutterBinLayout* _tmp64_;
	ClutterStage* _tmp65_;
	ClutterBinLayout* _tmp66_;
	ClutterStage* _tmp67_;
	GtkClutterTexture* _tmp68_;
	GtkClutterTexture* background;
	GtkClutterTexture* _tmp69_;
	GtkClutterTexture* _tmp76_;
	GtkClutterTexture* _tmp77_;
	GtkClutterTexture* _tmp78_;
	ClutterStage* _tmp79_;
	GtkClutterTexture* _tmp80_;
	BoxesSidebar* _tmp81_;
	BoxesCollectionView* _tmp82_;
	BoxesSearchbar* _tmp83_;
	BoxesTopbar* _tmp84_;
	BoxesNotificationbar* _tmp85_;
	BoxesSelectionbar* _tmp86_;
	BoxesWizard* _tmp87_;
	BoxesProperties* _tmp88_;
	ClutterActor* _tmp89_;
	ClutterActor* vbox_actor;
	ClutterBoxLayout* _tmp90_;
	ClutterBoxLayout* vbox;
	ClutterStage* _tmp91_;
	BoxesRevealer* _tmp92_;
	BoxesRevealer* topbar_revealer;
	BoxesTopbar* _tmp93_;
	ClutterActor* _tmp94_;
	ClutterActor* _tmp95_;
	BoxesRevealer* _tmp96_;
	BoxesRevealer* _tmp97_;
	BoxesRevealer* _tmp98_;
	BoxesRevealer* _tmp99_;
	BoxesRevealer* _tmp100_;
	BoxesRevealer* _tmp101_;
	BoxesSearchbar* _tmp102_;
	ClutterActor* _tmp103_;
	ClutterActor* _tmp104_;
	ClutterActor* _tmp105_;
	ClutterActor* below_bin_actor;
	ClutterBinLayout* _tmp106_;
	ClutterBinLayout* below_bin;
	BoxesCollectionView* _tmp107_;
	ClutterActor* _tmp108_;
	ClutterActor* _tmp109_;
	ClutterActor* _tmp110_;
	ClutterActor* hbox_actor;
	ClutterBoxLayout* _tmp111_;
	ClutterBoxLayout* hbox;
	ClutterActor* _tmp112_;
	ClutterActor* _tmp113_;
	ClutterBinLayout* _tmp114_;
	ClutterActor* _tmp115_;
	ClutterBinLayout* _tmp116_;
	ClutterActor* _tmp117_;
	ClutterActor* _tmp118_;
	ClutterActor* _tmp119_;
	BoxesRevealer* _tmp120_;
	BoxesRevealer* _tmp121_;
	BoxesRevealer* _tmp122_;
	BoxesRevealer* _tmp123_;
	BoxesRevealer* _tmp124_;
	BoxesSidebar* _tmp125_;
	ClutterActor* _tmp126_;
	ClutterActor* _tmp127_;
	ClutterActor* _tmp128_;
	ClutterActor* content_bin_actor;
	ClutterBinLayout* _tmp129_;
	ClutterBinLayout* content_bin;
	BoxesNotificationbar* _tmp130_;
	ClutterActor* _tmp131_;
	ClutterActor* _tmp132_;
	BoxesSelectionbar* _tmp133_;
	ClutterActor* _tmp134_;
	ClutterActor* _tmp135_;
	BoxesWizard* _tmp136_;
	ClutterActor* _tmp137_;
	ClutterActor* _tmp138_;
	BoxesProperties* _tmp139_;
	ClutterActor* _tmp140_;
	ClutterActor* _tmp141_;
	BoxesProperties* _tmp142_;
	ClutterActor* _tmp143_;
	ClutterActor* _tmp144_;
	BoxesSelectionbar* _tmp145_;
	ClutterActor* _tmp146_;
	ClutterActor* _tmp147_;
	GtkNotebook* _tmp148_;
	GError * _inner_error_ = NULL;
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->application;
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = (GtkApplicationWindow*) gtk_application_window_new (_tmp0_);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp1_);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->window);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->window = _tmp1_;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->window;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_application_window_set_show_menubar (_tmp2_, FALSE);
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = self->window;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_window_set_hide_titlebar_when_maximized ((GtkWindow*) _tmp3_, TRUE);
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = self->settings;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = g_settings_get_value (_tmp4_, "window-size");
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	size = _tmp5_;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = size;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = g_variant_n_children (_tmp6_);
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp7_ == ((gsize) 2)) {
#line 3872 "app.c"
		GVariant* _tmp8_;
		GVariant* _tmp9_ = NULL;
		GVariant* _tmp10_;
		gint _tmp11_;
		gint _tmp12_;
		gint width;
		GVariant* _tmp13_;
		GVariant* _tmp14_ = NULL;
		GVariant* _tmp15_;
		gint _tmp16_;
		gint _tmp17_;
		gint height;
		GtkApplicationWindow* _tmp18_;
		gint _tmp19_;
		gint _tmp20_;
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = size;
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = g_variant_get_child_value (_tmp8_, (gsize) 0);
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = _tmp9_;
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = _variant_get3 (_tmp10_);
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp12_ = _tmp11_;
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (_tmp10_);
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		width = _tmp12_;
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp13_ = size;
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp14_ = g_variant_get_child_value (_tmp13_, (gsize) 1);
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp15_ = _tmp14_;
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp16_ = _variant_get4 (_tmp15_);
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp17_ = _tmp16_;
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (_tmp15_);
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		height = _tmp17_;
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp18_ = self->window;
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp19_ = width;
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp20_ = height;
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_set_default_size ((GtkWindow*) _tmp18_, _tmp19_, _tmp20_);
#line 3924 "app.c"
	}
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = self->settings;
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_ = g_settings_get_boolean (_tmp21_, "window-maximized");
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp22_) {
#line 3932 "app.c"
		GtkApplicationWindow* _tmp23_;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp23_ = self->window;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_maximize ((GtkWindow*) _tmp23_);
#line 3938 "app.c"
	}
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp24_ = self->settings;
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = g_settings_get_value (_tmp24_, "window-position");
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	position = _tmp25_;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26_ = position;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp27_ = g_variant_n_children (_tmp26_);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp27_ == ((gsize) 2)) {
#line 3952 "app.c"
		GVariant* _tmp28_;
		GVariant* _tmp29_ = NULL;
		GVariant* _tmp30_;
		gint _tmp31_;
		gint _tmp32_;
		gint x;
		GVariant* _tmp33_;
		GVariant* _tmp34_ = NULL;
		GVariant* _tmp35_;
		gint _tmp36_;
		gint _tmp37_;
		gint y;
		GtkApplicationWindow* _tmp38_;
		gint _tmp39_;
		gint _tmp40_;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp28_ = position;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp29_ = g_variant_get_child_value (_tmp28_, (gsize) 0);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp30_ = _tmp29_;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp31_ = _variant_get5 (_tmp30_);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp32_ = _tmp31_;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (_tmp30_);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		x = _tmp32_;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp33_ = position;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp34_ = g_variant_get_child_value (_tmp33_, (gsize) 1);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp35_ = _tmp34_;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp36_ = _variant_get6 (_tmp35_);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp37_ = _tmp36_;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (_tmp35_);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		y = _tmp37_;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp38_ = self->window;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp39_ = x;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp40_ = y;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_move ((GtkWindow*) _tmp38_, _tmp39_, _tmp40_);
#line 4004 "app.c"
	}
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp41_ = self->window;
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GtkWidget*) _tmp41_, "configure-event", (GCallback) ___lambda171__gtk_widget_configure_event, self, 0);
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp42_ = self->window;
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GtkWidget*) _tmp42_, "window-state-event", (GCallback) ___lambda173__gtk_widget_window_state_event, self, 0);
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp43_ = (GtkNotebook*) gtk_notebook_new ();
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp43_);
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->notebook);
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->notebook = _tmp43_;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp44_ = self->notebook;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_notebook_set_show_border (_tmp44_, FALSE);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp45_ = self->notebook;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_notebook_set_show_tabs (_tmp45_, FALSE);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp46_ = self->window;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp47_ = self->notebook;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_container_add ((GtkContainer*) _tmp46_, (GtkWidget*) _tmp47_);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp48_ = boxes_clutter_widget_new ();
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp48_);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->embed);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->embed = _tmp48_;
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp49_ = self->notebook;
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp50_ = self->embed;
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_notebook_append_page (_tmp49_, (GtkWidget*) _tmp50_, NULL);
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp51_ = boxes_display_page_new ();
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->display_page);
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->display_page = _tmp51_;
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp52_ = self->notebook;
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp53_ = self->display_page;
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp54_ = boxes_display_page_get_widget (_tmp53_);
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp55_ = _tmp54_;
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_notebook_append_page (_tmp52_, _tmp55_, NULL);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp56_ = self->embed;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp57_ = gtk_clutter_embed_get_stage ((GtkClutterEmbed*) _tmp56_);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp58_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp57_, clutter_stage_get_type ()) ? ((ClutterStage*) _tmp57_) : NULL);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->stage);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->stage = _tmp58_;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp59_ = self->stage;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_get_boxes_bg_color (&_tmp60_);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_gdk_rgba_to_clutter_color (&_tmp60_, &_tmp61_);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_background_color ((ClutterActor*) _tmp59_, &_tmp61_);
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp62_ = self->window;
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GtkWidget*) _tmp62_, "delete-event", (GCallback) ___lambda174__gtk_widget_delete_event, self, 0);
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp63_ = self->window;
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GtkWidget*) _tmp63_, "key-press-event", (GCallback) _boxes_app_on_key_pressed_gtk_widget_key_press_event, self, G_CONNECT_AFTER);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp64_ = (ClutterBinLayout*) clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp64_);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->stage_bin);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->stage_bin = _tmp64_;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp65_ = self->stage;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp66_ = self->stage_bin;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager ((ClutterActor*) _tmp65_, (ClutterLayoutManager*) _tmp66_);
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp67_ = self->stage;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp67_, "boxes-stage");
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp68_ = (GtkClutterTexture*) gtk_clutter_texture_new ();
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp68_);
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	background = _tmp68_;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp69_ = background;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp69_, "background");
#line 4120 "app.c"
	{
		gchar* _tmp70_ = NULL;
		gchar* _tmp71_;
		GdkPixbuf* _tmp72_;
		GdkPixbuf* _tmp73_;
		GdkPixbuf* pixbuf;
		GtkClutterTexture* _tmp74_;
		GdkPixbuf* _tmp75_;
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp70_ = boxes_get_style ("assets/boxes-dark.png");
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp71_ = _tmp70_;
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp72_ = gdk_pixbuf_new_from_file (_tmp71_, &_inner_error_);
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp73_ = _tmp72_;
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp71_);
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		pixbuf = _tmp73_;
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 4143 "app.c"
			goto __catch6_g_error;
		}
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp74_ = background;
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp75_ = pixbuf;
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_clutter_texture_set_from_pixbuf (_tmp74_, _tmp75_, &_inner_error_);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (pixbuf);
#line 4156 "app.c"
			goto __catch6_g_error;
		}
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (pixbuf);
#line 4161 "app.c"
	}
	goto __finally6;
	__catch6_g_error:
	{
		GError* e = NULL;
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		e = _inner_error_;
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_inner_error_ = NULL;
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (e);
#line 4173 "app.c"
	}
	__finally6:
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (background);
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (position);
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (size);
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_inner_error_);
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 4190 "app.c"
	}
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp76_ = background;
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_texture_set_repeat ((ClutterTexture*) _tmp76_, TRUE, TRUE);
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp77_ = background;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_x_align ((ClutterActor*) _tmp77_, CLUTTER_ACTOR_ALIGN_FILL);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp78_ = background;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_y_align ((ClutterActor*) _tmp78_, CLUTTER_ACTOR_ALIGN_FILL);
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp79_ = self->stage;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp80_ = background;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_add_child ((ClutterActor*) _tmp79_, (ClutterActor*) _tmp80_);
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp81_ = boxes_sidebar_new ();
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->sidebar);
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->sidebar = _tmp81_;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp82_ = boxes_collection_view_new ();
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->view);
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->view = _tmp82_;
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp83_ = boxes_searchbar_new ();
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->searchbar);
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->searchbar = _tmp83_;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp84_ = boxes_topbar_new ();
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->topbar);
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->topbar = _tmp84_;
#line 463 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp85_ = boxes_notificationbar_new ();
#line 463 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->notificationbar);
#line 463 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->notificationbar = _tmp85_;
#line 464 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp86_ = boxes_selectionbar_new ();
#line 464 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->selectionbar);
#line 464 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->selectionbar = _tmp86_;
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp87_ = boxes_wizard_new ();
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->wizard);
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->wizard = _tmp87_;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp88_ = boxes_properties_new ();
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->properties);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->properties = _tmp88_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp89_ = clutter_actor_new ();
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp89_);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	vbox_actor = _tmp89_;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (vbox_actor, "top-vbox");
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp90_ = (ClutterBoxLayout*) clutter_box_layout_new ();
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp90_);
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	vbox = _tmp90_;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (vbox_actor, (ClutterLayoutManager*) vbox);
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_set_vertical (vbox, TRUE);
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_x_align (vbox_actor, CLUTTER_ACTOR_ALIGN_FILL);
#line 474 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_y_align (vbox_actor, CLUTTER_ACTOR_ALIGN_FILL);
#line 476 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp91_ = self->stage;
#line 476 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_add_child ((ClutterActor*) _tmp91_, vbox_actor);
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp92_ = boxes_revealer_new (TRUE);
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp92_);
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	topbar_revealer = _tmp92_;
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) topbar_revealer, "topbar-revealer");
#line 480 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_pack (vbox, (ClutterActor*) topbar_revealer, FALSE, TRUE, TRUE, CLUTTER_BOX_ALIGNMENT_START, CLUTTER_BOX_ALIGNMENT_START);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp93_ = self->topbar;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp94_ = boxes_ui_get_actor ((BoxesUI*) _tmp93_);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp95_ = _tmp94_;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) topbar_revealer, _tmp95_, NULL);
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp96_ = boxes_revealer_new (TRUE);
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp96_);
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->searchbar_revealer);
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->searchbar_revealer = _tmp96_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp97_ = self->searchbar_revealer;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp97_->resize = TRUE;
#line 485 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp98_ = self->searchbar_revealer;
#line 485 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_revealer_unreveal (_tmp98_);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp99_ = self->searchbar_revealer;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp99_, "searchbar-revealer");
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp100_ = self->searchbar_revealer;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_pack (vbox, (ClutterActor*) _tmp100_, FALSE, TRUE, TRUE, CLUTTER_BOX_ALIGNMENT_START, CLUTTER_BOX_ALIGNMENT_START);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp101_ = self->searchbar_revealer;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp102_ = self->searchbar;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp103_ = boxes_ui_get_actor ((BoxesUI*) _tmp102_);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp104_ = _tmp103_;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) _tmp101_, _tmp104_, NULL);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp105_ = clutter_actor_new ();
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp105_);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	below_bin_actor = _tmp105_;
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (below_bin_actor, "below-bin");
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp106_ = (ClutterBinLayout*) clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp106_);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	below_bin = _tmp106_;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (below_bin_actor, (ClutterLayoutManager*) below_bin);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_pack (vbox, below_bin_actor, TRUE, TRUE, TRUE, CLUTTER_BOX_ALIGNMENT_START, CLUTTER_BOX_ALIGNMENT_START);
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp107_ = self->view;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp108_ = boxes_ui_get_actor ((BoxesUI*) _tmp107_);
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp109_ = _tmp108_;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_add_child (below_bin_actor, _tmp109_);
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp110_ = clutter_actor_new ();
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp110_);
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	hbox_actor = _tmp110_;
#line 501 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (hbox_actor, "top-hbox");
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp111_ = (ClutterBoxLayout*) clutter_box_layout_new ();
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp111_);
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	hbox = _tmp111_;
#line 503 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (hbox_actor, (ClutterLayoutManager*) hbox);
#line 504 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_x_align (hbox_actor, CLUTTER_ACTOR_ALIGN_FILL);
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_y_align (hbox_actor, CLUTTER_ACTOR_ALIGN_FILL);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_add_child (below_bin_actor, hbox_actor);
#line 509 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp112_ = clutter_actor_new ();
#line 509 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp112_);
#line 509 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->overlay_bin_actor);
#line 509 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->overlay_bin_actor = _tmp112_;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp113_ = self->overlay_bin_actor;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (_tmp113_, "overlay-bin");
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp114_ = (ClutterBinLayout*) clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER);
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp114_);
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->overlay_bin);
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->overlay_bin = _tmp114_;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp115_ = self->overlay_bin_actor;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp116_ = self->overlay_bin;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (_tmp115_, (ClutterLayoutManager*) _tmp116_);
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp117_ = self->overlay_bin_actor;
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_x_align (_tmp117_, CLUTTER_ACTOR_ALIGN_FILL);
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp118_ = self->overlay_bin_actor;
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_y_align (_tmp118_, CLUTTER_ACTOR_ALIGN_FILL);
#line 516 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp119_ = self->overlay_bin_actor;
#line 516 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_add_child (below_bin_actor, _tmp119_);
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp120_ = boxes_revealer_new (FALSE);
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp120_);
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->sidebar_revealer);
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->sidebar_revealer = _tmp120_;
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp121_ = self->sidebar_revealer;
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp121_, "sidebar-revealer");
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp122_ = self->sidebar_revealer;
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_pack (hbox, (ClutterActor*) _tmp122_, FALSE, TRUE, TRUE, CLUTTER_BOX_ALIGNMENT_START, CLUTTER_BOX_ALIGNMENT_START);
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp123_ = self->sidebar_revealer;
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_revealer_unreveal (_tmp123_);
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp124_ = self->sidebar_revealer;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp125_ = self->sidebar;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp126_ = boxes_ui_get_actor ((BoxesUI*) _tmp125_);
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp127_ = _tmp126_;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) _tmp124_, _tmp127_, NULL);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp128_ = clutter_actor_new ();
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp128_);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	content_bin_actor = _tmp128_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (content_bin_actor, "content-bin");
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp129_ = (ClutterBinLayout*) clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp129_);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	content_bin = _tmp129_;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (content_bin_actor, (ClutterLayoutManager*) content_bin);
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_pack (hbox, content_bin_actor, TRUE, TRUE, TRUE, CLUTTER_BOX_ALIGNMENT_START, CLUTTER_BOX_ALIGNMENT_START);
#line 531 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp130_ = self->notificationbar;
#line 531 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp131_ = boxes_notificationbar_get_actor (_tmp130_);
#line 531 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp132_ = _tmp131_;
#line 531 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_add_child (below_bin_actor, _tmp132_);
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp133_ = self->selectionbar;
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp134_ = boxes_selectionbar_get_actor (_tmp133_);
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp135_ = _tmp134_;
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_add_child (content_bin_actor, _tmp135_);
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp136_ = self->wizard;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp137_ = boxes_ui_get_actor ((BoxesUI*) _tmp136_);
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp138_ = _tmp137_;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) content_bin_actor, _tmp138_, NULL);
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp139_ = self->properties;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp140_ = boxes_ui_get_actor ((BoxesUI*) _tmp139_);
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp141_ = _tmp140_;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) content_bin_actor, _tmp141_, NULL);
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp142_ = self->properties;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp143_ = boxes_ui_get_actor ((BoxesUI*) _tmp142_);
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp144_ = _tmp143_;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_hide (_tmp144_);
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp145_ = self->selectionbar;
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp146_ = boxes_selectionbar_get_actor (_tmp145_);
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp147_ = _tmp146_;
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_hide (_tmp147_);
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp148_ = self->notebook;
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp148_);
#line 542 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_COLLECTION);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (content_bin);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (content_bin_actor);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (hbox);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (hbox_actor);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (below_bin);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (below_bin_actor);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (topbar_revealer);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (vbox);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (vbox_actor);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (background);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_variant_unref0 (position);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_variant_unref0 (size);
#line 4548 "app.c"
}


static void boxes_app_set_main_ui_state (BoxesApp* self) {
	GtkNotebook* _tmp0_;
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->notebook;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set (_tmp0_, "page", (gint) BOXES_APP_PAGE_MAIN, NULL);
#line 4560 "app.c"
}


static void boxes_app_position_item_actor_at_icon (BoxesApp* self, BoxesCollectionItem* item) {
	gfloat item_x = 0.0F;
	gfloat item_y = 0.0F;
	BoxesCollectionView* _tmp0_;
	BoxesCollectionItem* _tmp1_;
	gfloat _tmp2_ = 0.0F;
	gfloat _tmp3_ = 0.0F;
	BoxesCollectionItem* _tmp4_;
	ClutterActor* _tmp5_;
	ClutterActor* _tmp6_;
	ClutterActor* _tmp7_;
	ClutterActor* actor;
	guint _tmp8_ = 0U;
	guint old_duration;
#line 549 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 549 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (item != NULL);
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = item;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_get_item_pos (_tmp0_, _tmp1_, &_tmp2_, &_tmp3_);
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	item_x = _tmp2_;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	item_y = _tmp3_;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = item;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = boxes_ui_get_actor ((BoxesUI*) _tmp4_);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = _tmp5_;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	actor = _tmp7_;
#line 553 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = clutter_actor_get_easing_duration (actor);
#line 553 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	old_duration = _tmp8_;
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_easing_duration (actor, (guint) 0);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set (actor, "fixed-x", item_x, NULL);
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set (actor, "fixed-y", item_y, NULL);
#line 560 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set (actor, "natural-width", (gfloat) BOXES_MACHINE_SCREENSHOT_WIDTH, NULL);
#line 560 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set (actor, "min-width", (gfloat) BOXES_MACHINE_SCREENSHOT_WIDTH, NULL);
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_easing_duration (actor, old_duration);
#line 549 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (actor);
#line 4620 "app.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return _data2_;
#line 4629 "app.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 4638 "app.c"
		BoxesApp * self;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		self = _data2_->self;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data2_->actor);
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (self);
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_slice_free (Block2Data, _data2_);
#line 4648 "app.c"
	}
}


static gboolean __lambda181_ (BoxesApp* self) {
	gboolean result = FALSE;
	BoxesCollectionItem* _tmp0_;
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->current_item;
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_position_item_actor_at_icon (self, _tmp0_);
#line 607 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 607 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 4664 "app.c"
}


static gboolean ___lambda181__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda181_ (self);
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 4673 "app.c"
}


static void ____lambda180_ (BoxesApp* self, GtkAllocation* allocation) {
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (allocation != NULL);
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_idle_add_full (G_PRIORITY_HIGH, ___lambda181__gsource_func, g_object_ref (self), g_object_unref);
#line 4682 "app.c"
}


static void _____lambda180__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	____lambda180_ (self, allocation);
#line 4689 "app.c"
}


static void ____lambda182_ (Block2Data* _data2_) {
	BoxesApp * self;
	ClutterActor* _tmp0_;
	gulong _tmp1_;
	BoxesCollectionView* _tmp2_;
	GdMainIconView* _tmp3_;
	gulong _tmp4_;
	gboolean _tmp5_ = FALSE;
	BoxesApp* _tmp6_;
	BoxesUIState _tmp7_;
	BoxesUIState _tmp8_;
	gboolean _tmp14_;
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = _data2_->self;
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _data2_->actor;
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _data2_->completed_id;
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _tmp1_);
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->view;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _tmp2_->icon_view;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _data2_->id;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = boxes_app_app;
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp6_);
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = _tmp7_;
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp8_ == BOXES_UI_STATE_COLLECTION) {
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = TRUE;
#line 4731 "app.c"
	} else {
		BoxesApp* _tmp9_;
		BoxesCollectionItem* _tmp10_;
		ClutterActor* _tmp11_;
		ClutterActor* _tmp12_;
		ClutterActor* _tmp13_;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = boxes_app_app;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = _tmp9_->current_item;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = boxes_ui_get_actor ((BoxesUI*) _tmp10_);
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp12_ = _tmp11_;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp13_ = _data2_->actor;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _tmp12_ != _tmp13_;
#line 4750 "app.c"
	}
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = _tmp5_;
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp14_) {
#line 4756 "app.c"
		ClutterActor* _tmp15_;
#line 616 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp15_ = _data2_->actor;
#line 616 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_actor_remove (_tmp15_);
#line 4762 "app.c"
	}
}


static void _____lambda182__clutter_actor_transitions_completed (ClutterActor* _sender, gpointer self) {
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	____lambda182_ (self);
#line 4770 "app.c"
}


static void boxes_app_real_ui_state_changed (BoxesUI* base) {
	BoxesApp * self;
	GSimpleAction* _tmp0_;
	BoxesUIState _tmp1_;
	BoxesUIState _tmp2_;
	GSimpleAction* _tmp3_;
	BoxesUIState _tmp4_;
	BoxesUIState _tmp5_;
	BoxesSidebar* _tmp6_;
	BoxesUI* _tmp7_;
	BoxesSearchbar* _tmp8_;
	BoxesUI* _tmp9_;
	BoxesTopbar* _tmp10_;
	BoxesUI* _tmp11_;
	BoxesCollectionView* _tmp12_;
	BoxesUI* _tmp13_;
	BoxesProperties* _tmp14_;
	BoxesUI* _tmp15_;
	BoxesWizard* _tmp16_;
	BoxesUI* _tmp17_;
	BoxesUI** _tmp18_ = NULL;
	BoxesUIState _tmp23_;
	BoxesUIState _tmp24_;
	BoxesUIState _tmp25_;
	BoxesUIState _tmp26_;
	BoxesUIState _tmp28_;
	BoxesUIState _tmp29_;
	BoxesCollectionItem* _tmp66_;
#line 564 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = (BoxesApp*) base;
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->action_fullscreen;
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_;
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_simple_action_set_enabled (_tmp0_, _tmp2_ == BOXES_UI_STATE_DISPLAY);
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = self->action_properties;
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = _tmp4_;
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_simple_action_set_enabled (_tmp3_, _tmp5_ == BOXES_UI_STATE_DISPLAY);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = self->sidebar;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = _g_object_ref0 ((BoxesUI*) _tmp6_);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = self->searchbar;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = _g_object_ref0 ((BoxesUI*) _tmp8_);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = self->topbar;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp11_ = _g_object_ref0 ((BoxesUI*) _tmp10_);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp12_ = self->view;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = _g_object_ref0 ((BoxesUI*) _tmp12_);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = self->properties;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp15_ = _g_object_ref0 ((BoxesUI*) _tmp14_);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp16_ = self->wizard;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = _g_object_ref0 ((BoxesUI*) _tmp16_);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = g_new0 (BoxesUI*, 6 + 1);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_[0] = _tmp7_;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_[1] = _tmp9_;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_[2] = _tmp11_;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_[3] = _tmp13_;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_[4] = _tmp15_;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_[5] = _tmp17_;
#line 4858 "app.c"
	{
		BoxesUI** ui_collection = NULL;
		gint ui_collection_length1 = 0;
		gint _ui_collection_size_ = 0;
		gint ui_it = 0;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		ui_collection = _tmp18_;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		ui_collection_length1 = 6;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (ui_it = 0; ui_it < 6; ui_it = ui_it + 1) {
#line 4870 "app.c"
			BoxesUI* _tmp19_;
			BoxesUI* ui = NULL;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp19_ = _g_object_ref0 (ui_collection[ui_it]);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			ui = _tmp19_;
#line 4877 "app.c"
			{
				BoxesUI* _tmp20_;
				BoxesUIState _tmp21_;
				BoxesUIState _tmp22_;
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp20_ = ui;
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp21_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp22_ = _tmp21_;
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_ui_set_ui_state (_tmp20_, _tmp22_);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (ui);
#line 4892 "app.c"
			}
		}
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		ui_collection = (_vala_array_free (ui_collection, ui_collection_length1, (GDestroyNotify) g_object_unref), NULL);
#line 4897 "app.c"
	}
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp23_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp24_ = _tmp23_;
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp24_ != BOXES_UI_STATE_DISPLAY) {
#line 575 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_set_main_ui_state (self);
#line 4907 "app.c"
	}
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26_ = _tmp25_;
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp26_ != BOXES_UI_STATE_COLLECTION) {
#line 4915 "app.c"
		BoxesRevealer* _tmp27_;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp27_ = self->searchbar_revealer;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_revealer_set_revealed (_tmp27_, FALSE);
#line 4921 "app.c"
	}
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp28_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp29_ = _tmp28_;
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (_tmp29_) {
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_COLLECTION:
#line 4931 "app.c"
		{
			BoxesTopbar* _tmp30_;
			BoxesCollectionItem* _tmp31_;
			BoxesCollectionView* _tmp37_;
			BoxesRevealer* _tmp38_;
			BoxesSearchbar* _tmp39_;
			gboolean _tmp40_;
			gboolean _tmp41_;
			BoxesCollectionItem* _tmp42_;
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp30_ = self->topbar;
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_topbar_set_status (_tmp30_, NULL);
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (self->priv->status_bind);
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			self->priv->status_bind = NULL;
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp31_ = self->current_item;
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp31_, BOXES_TYPE_MACHINE)) {
#line 4953 "app.c"
				BoxesCollectionItem* _tmp32_;
				BoxesMachine* _tmp33_;
				BoxesMachine* machine;
				gulong _tmp34_;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp32_ = self->current_item;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp33_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp32_) : NULL);
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				machine = _tmp33_;
#line 586 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp34_ = self->priv->got_error_id;
#line 586 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (_tmp34_ != ((gulong) 0)) {
#line 4968 "app.c"
					BoxesMachine* _tmp35_;
					gulong _tmp36_;
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp35_ = machine;
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp36_ = self->priv->got_error_id;
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					g_signal_handler_disconnect ((GObject*) _tmp35_, _tmp36_);
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					self->priv->got_error_id = (gulong) 0;
#line 4979 "app.c"
				}
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (machine);
#line 4983 "app.c"
			}
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_app_set_fullscreen (self, FALSE);
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp37_ = self->view;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_collection_view_set_visible (_tmp37_, TRUE);
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp38_ = self->searchbar_revealer;
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp39_ = self->searchbar;
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp40_ = boxes_searchbar_get_visible (_tmp39_);
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp41_ = _tmp40_;
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_revealer_set_revealed (_tmp38_, _tmp41_);
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp42_ = self->current_item;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_tmp42_ != NULL) {
#line 5005 "app.c"
				Block2Data* _data2_;
				BoxesCollectionItem* _tmp43_;
				ClutterActor* _tmp44_;
				ClutterActor* _tmp45_;
				ClutterActor* _tmp46_;
				ClutterActor* _tmp47_;
				BoxesCollectionItem* _tmp48_;
				BoxesCollectionView* _tmp49_;
				GdMainIconView* _tmp50_;
				gulong _tmp51_ = 0UL;
				ClutterActor* _tmp52_;
				gulong _tmp53_ = 0UL;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data2_ = g_slice_new0 (Block2Data);
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data2_->_ref_count_ = 1;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data2_->self = g_object_ref (self);
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp43_ = self->current_item;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp44_ = boxes_ui_get_actor ((BoxesUI*) _tmp43_);
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp45_ = _tmp44_;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp46_ = _g_object_ref0 (_tmp45_);
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data2_->actor = _tmp46_;
#line 599 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp47_ = _data2_->actor;
#line 599 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				clutter_actor_show (_tmp47_);
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp48_ = self->current_item;
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_position_item_actor_at_icon (self, _tmp48_);
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp49_ = self->view;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp50_ = _tmp49_->icon_view;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp51_ = g_signal_connect_object ((GtkWidget*) _tmp50_, "size-allocate", (GCallback) _____lambda180__gtk_widget_size_allocate, self, 0);
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data2_->id = _tmp51_;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data2_->completed_id = (gulong) 0;
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp52_ = _data2_->actor;
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp53_ = g_signal_connect_data (_tmp52_, "transitions-completed", (GCallback) _____lambda182__clutter_actor_transitions_completed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data2_->completed_id = _tmp53_;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				block2_data_unref (_data2_);
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data2_ = NULL;
#line 5062 "app.c"
			}
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 5066 "app.c"
		}
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_CREDS:
#line 5070 "app.c"
		{
#line 623 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 5074 "app.c"
		}
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_WIZARD:
#line 5078 "app.c"
		{
			BoxesCollectionItem* _tmp54_;
#line 626 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp54_ = self->current_item;
#line 626 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_tmp54_ != NULL) {
#line 5085 "app.c"
				BoxesCollectionItem* _tmp55_;
				ClutterActor* _tmp56_;
				ClutterActor* _tmp57_;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp55_ = self->current_item;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp56_ = boxes_ui_get_actor ((BoxesUI*) _tmp55_);
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp57_ = _tmp56_;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_actor_remove (_tmp57_);
#line 5097 "app.c"
			}
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 5101 "app.c"
		}
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_PROPERTIES:
#line 5105 "app.c"
		{
			BoxesCollectionItem* _tmp58_;
			ClutterActor* _tmp59_;
			ClutterActor* _tmp60_;
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp58_ = self->current_item;
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp59_ = boxes_ui_get_actor ((BoxesUI*) _tmp58_);
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp60_ = _tmp59_;
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			clutter_actor_hide (_tmp60_);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 5120 "app.c"
		}
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_DISPLAY:
#line 5124 "app.c"
		{
#line 635 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 5128 "app.c"
		}
		default:
		{
			BoxesUIState _tmp61_;
			BoxesUIState _tmp62_;
			GEnumValue* _tmp63_;
			gchar* _tmp64_ = NULL;
			gchar* _tmp65_;
#line 638 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp61_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 638 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp62_ = _tmp61_;
#line 638 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp63_ = g_enum_get_value (g_type_class_ref (BOXES_TYPE_UI_STATE), _tmp62_);
#line 638 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp64_ = g_strdup_printf ("Unhandled UI state %s", (_tmp63_ != NULL) ? _tmp63_->value_name : NULL);
#line 638 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp65_ = _tmp64_;
#line 638 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_warning ("app.vala:638: %s", _tmp65_);
#line 638 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_free0 (_tmp65_);
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 5153 "app.c"
		}
	}
#line 642 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp66_ = self->current_item;
#line 642 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp66_ != NULL) {
#line 5160 "app.c"
		BoxesCollectionItem* _tmp67_;
		BoxesUIState _tmp68_;
		BoxesUIState _tmp69_;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp67_ = self->current_item;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp68_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp69_ = _tmp68_;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_ui_set_ui_state ((BoxesUI*) _tmp67_, _tmp69_);
#line 5172 "app.c"
	}
}


static Block3Data* block3_data_ref (Block3Data* _data3_) {
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_atomic_int_inc (&_data3_->_ref_count_);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return _data3_;
#line 5182 "app.c"
}


static void block3_data_unref (void * _userdata_) {
	Block3Data* _data3_;
	_data3_ = (Block3Data*) _userdata_;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
#line 5191 "app.c"
		BoxesApp * self;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		self = _data3_->self;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (self);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_slice_free (Block3Data, _data3_);
#line 5199 "app.c"
	}
}


static Block4Data* block4_data_ref (Block4Data* _data4_) {
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_atomic_int_inc (&_data4_->_ref_count_);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return _data4_;
#line 5209 "app.c"
}


static void block4_data_unref (void * _userdata_) {
	Block4Data* _data4_;
	_data4_ = (Block4Data*) _userdata_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
#line 5218 "app.c"
		BoxesApp * self;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		self = _data4_->_data3_->self;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data4_->machine);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		block3_data_unref (_data4_->_data3_);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data4_->_data3_ = NULL;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_slice_free (Block4Data, _data4_);
#line 5230 "app.c"
	}
}


static void ______lambda183_ (Block4Data* _data4_) {
	Block3Data* _data3_;
	BoxesApp * self;
	BoxesLibvirtMachine* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data3_ = _data4_->_data3_;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = _data3_->self;
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _data4_->machine;
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp0_);
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_;
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_debug ("app.vala:663: %s suspended", _tmp2_);
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _data3_->waiting_counter;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data3_->waiting_counter = _tmp3_ - 1;
#line 5258 "app.c"
}


static void _______lambda183__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	______lambda183_ (self);
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	block4_data_unref (self);
#line 5267 "app.c"
}


void boxes_app_suspend_machines (BoxesApp* self) {
	Block3Data* _data3_;
	GMainContext* _tmp0_;
	GMainContext* context;
	GMainContext* _tmp1_;
	BoxesCollection* _tmp2_;
	GPtrArray* _tmp3_;
	gpointer* _tmp4_;
	gint _tmp4__length1;
	GMainContext* _tmp13_;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data3_ = g_slice_new0 (Block3Data);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data3_->_ref_count_ = 1;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data3_->self = g_object_ref (self);
#line 647 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_debug ("app.vala:647: Suspending running boxes");
#line 649 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data3_->waiting_counter = 0;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = g_main_context_new ();
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	context = _tmp0_;
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = context;
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_main_context_push_thread_default (_tmp1_);
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->collection;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _tmp2_->items;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _tmp3_->pdata;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4__length1 = (gint) _tmp3_->len;
#line 5309 "app.c"
	{
		BoxesCollectionItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection = _tmp4_;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection_length1 = _tmp4__length1;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (item_it = 0; item_it < _tmp4__length1; item_it = item_it + 1) {
#line 5321 "app.c"
			BoxesCollectionItem* _tmp5_;
			BoxesCollectionItem* item = NULL;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp5_ = _g_object_ref0 (item_collection[item_it]);
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item = _tmp5_;
#line 5328 "app.c"
			{
				BoxesCollectionItem* _tmp6_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = item;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, BOXES_TYPE_LIBVIRT_MACHINE)) {
#line 5335 "app.c"
					Block4Data* _data4_;
					BoxesCollectionItem* _tmp7_;
					BoxesLibvirtMachine* _tmp8_;
					BoxesLibvirtMachine* _tmp9_;
					gboolean _tmp10_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data4_ = g_slice_new0 (Block4Data);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data4_->_ref_count_ = 1;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data4_->_data3_ = block3_data_ref (_data3_);
#line 658 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp7_ = item;
#line 658 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, BOXES_TYPE_LIBVIRT_MACHINE) ? ((BoxesLibvirtMachine*) _tmp7_) : NULL);
#line 658 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data4_->machine = _tmp8_;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp9_ = _data4_->machine;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp10_ = ((BoxesMachine*) _tmp9_)->suspend_at_exit;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					if (_tmp10_) {
#line 5359 "app.c"
						gint _tmp11_;
						BoxesLibvirtMachine* _tmp12_;
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_tmp11_ = _data3_->waiting_counter;
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_data3_->waiting_counter = _tmp11_ + 1;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_tmp12_ = _data4_->machine;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						boxes_libvirt_machine_suspend (_tmp12_, _______lambda183__gasync_ready_callback, block4_data_ref (_data4_));
#line 5370 "app.c"
					}
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					block4_data_unref (_data4_);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data4_ = NULL;
#line 5376 "app.c"
				}
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (item);
#line 5380 "app.c"
			}
		}
	}
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = context;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_main_context_pop_thread_default (_tmp13_);
#line 672 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	while (TRUE) {
#line 5390 "app.c"
		gint _tmp14_;
		GMainContext* _tmp15_;
#line 672 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp14_ = _data3_->waiting_counter;
#line 672 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (!(_tmp14_ > 0)) {
#line 672 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 5399 "app.c"
		}
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp15_ = context;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_main_context_iteration (_tmp15_, TRUE);
#line 5405 "app.c"
	}
#line 675 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_debug ("app.vala:675: Running boxes suspended");
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_main_context_unref0 (context);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	block3_data_unref (_data3_);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data3_ = NULL;
#line 5415 "app.c"
}


gboolean boxes_app_quit (BoxesApp* self) {
	gboolean result = FALSE;
	BoxesNotificationbar* _tmp0_;
	BoxesWizard* _tmp1_;
	GtkApplicationWindow* _tmp2_;
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->notificationbar;
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_notificationbar_cancel (_tmp0_);
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_save_window_geometry (self);
#line 681 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = self->wizard;
#line 681 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_wizard_cleanup (_tmp1_);
#line 682 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->window;
#line 682 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp2_);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 5444 "app.c"
}


void boxes_app_show_properties (BoxesApp* self) {
	BoxesCollectionView* _tmp0_;
	GList* _tmp1_ = NULL;
	GList* selected_items;
#line 700 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 701 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 701 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_collection_view_get_selected_items (_tmp0_);
#line 701 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	selected_items = _tmp1_;
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_set_selection_mode (self, FALSE);
#line 5462 "app.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection = selected_items;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 5470 "app.c"
			BoxesCollectionItem* _tmp2_;
			BoxesCollectionItem* item = NULL;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp2_ = _g_object_ref0 ((BoxesCollectionItem*) item_it->data);
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item = _tmp2_;
#line 5477 "app.c"
			{
				BoxesCollectionItem* _tmp3_;
				BoxesCollectionItem* _tmp4_;
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp3_ = item;
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp4_ = _g_object_ref0 (_tmp3_);
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (self->current_item);
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				self->current_item = _tmp4_;
#line 708 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_PROPERTIES);
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (item);
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				break;
#line 5495 "app.c"
			}
		}
	}
#line 700 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__g_list_free__g_object_unref0_0 (selected_items);
#line 5501 "app.c"
}


static Block5Data* block5_data_ref (Block5Data* _data5_) {
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_atomic_int_inc (&_data5_->_ref_count_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return _data5_;
#line 5510 "app.c"
}


static void block5_data_unref (void * _userdata_) {
	Block5Data* _data5_;
	_data5_ = (Block5Data*) _userdata_;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
#line 5519 "app.c"
		BoxesApp * self;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		self = _data5_->self;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		__g_list_free__g_object_unref0_0 (_data5_->selected_items);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (self);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_slice_free (Block5Data, _data5_);
#line 5529 "app.c"
	}
}


static void __lambda132_ (Block5Data* _data5_) {
	BoxesApp * self;
	GList* _tmp0_;
#line 726 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = _data5_->self;
#line 727 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_debug ("app.vala:727: Box deletion cancelled by user, re-adding to view");
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _data5_->selected_items;
#line 5543 "app.c"
	{
		GList* selected_collection = NULL;
		GList* selected_it = NULL;
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		selected_collection = _tmp0_;
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (selected_it = selected_collection; selected_it != NULL; selected_it = selected_it->next) {
#line 5551 "app.c"
			BoxesCollectionItem* _tmp1_;
			BoxesCollectionItem* selected = NULL;
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp1_ = _g_object_ref0 ((BoxesCollectionItem*) selected_it->data);
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			selected = _tmp1_;
#line 5558 "app.c"
			{
				BoxesCollection* _tmp2_;
				BoxesCollectionItem* _tmp3_;
#line 729 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp2_ = self->collection;
#line 729 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp3_ = selected;
#line 729 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_collection_add_item (_tmp2_, _tmp3_);
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (selected);
#line 5570 "app.c"
			}
		}
	}
}


static void ___lambda132__boxes_notificationbar_ok_func (gpointer self) {
#line 726 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda132_ (self);
#line 5580 "app.c"
}


static void __lambda133_ (Block5Data* _data5_) {
	BoxesApp * self;
	GList* _tmp0_;
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = _data5_->self;
#line 734 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_debug ("app.vala:734: Box deletion, deleting now");
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _data5_->selected_items;
#line 5593 "app.c"
	{
		GList* selected_collection = NULL;
		GList* selected_it = NULL;
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		selected_collection = _tmp0_;
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (selected_it = selected_collection; selected_it != NULL; selected_it = selected_it->next) {
#line 5601 "app.c"
			BoxesCollectionItem* _tmp1_;
			BoxesCollectionItem* selected = NULL;
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp1_ = _g_object_ref0 ((BoxesCollectionItem*) selected_it->data);
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			selected = _tmp1_;
#line 5608 "app.c"
			{
				BoxesCollectionItem* _tmp2_;
				BoxesMachine* _tmp3_;
				BoxesMachine* machine;
				BoxesMachine* _tmp4_;
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp2_ = selected;
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp2_) : NULL);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				machine = _tmp3_;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp4_ = machine;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (_tmp4_ != NULL) {
#line 5624 "app.c"
					BoxesMachine* _tmp5_;
#line 739 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp5_ = machine;
#line 739 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					boxes_machine_delete (_tmp5_, TRUE);
#line 5630 "app.c"
				}
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (machine);
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (selected);
#line 5636 "app.c"
			}
		}
	}
}


static void ___lambda133__boxes_notificationbar_cancel_func (gpointer self) {
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda133_ (self);
#line 5646 "app.c"
}


void boxes_app_remove_selected_items (BoxesApp* self) {
	Block5Data* _data5_;
	BoxesCollectionView* _tmp0_;
	GList* _tmp1_ = NULL;
	GList* _tmp2_;
	guint _tmp3_ = 0U;
	guint num_selected;
	guint _tmp4_;
	gchar* _tmp5_ = NULL;
	guint _tmp6_;
	const gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* message;
	GList* _tmp19_;
	BoxesNotificationbarOKFunc undo;
	void* undo_target;
	GDestroyNotify undo_target_destroy_notify;
	BoxesNotificationbarCancelFunc really_remove;
	void* really_remove_target;
	GDestroyNotify really_remove_target_destroy_notify;
	BoxesNotificationbar* _tmp23_;
	const gchar* _tmp24_;
	BoxesNotificationbarOKFunc _tmp25_;
	void* _tmp25__target;
	GDestroyNotify _tmp25__target_destroy_notify;
	BoxesNotificationbarCancelFunc _tmp26_;
	void* _tmp26__target;
	GDestroyNotify _tmp26__target_destroy_notify;
	GdNotification* _tmp27_ = NULL;
	GdNotification* _tmp28_;
	BoxesApp* _tmp29_;
	BoxesCollection* _tmp30_;
	GPtrArray* _tmp31_;
	gint _tmp32_;
	gint _tmp33_;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data5_ = g_slice_new0 (Block5Data);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data5_->_ref_count_ = 1;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data5_->self = g_object_ref (self);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_collection_view_get_selected_items (_tmp0_);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data5_->selected_items = _tmp1_;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _data5_->selected_items;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = g_list_length (_tmp2_);
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	num_selected = _tmp3_;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = num_selected;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp4_ == ((guint) 0)) {
#line 717 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		block5_data_unref (_data5_);
#line 717 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data5_ = NULL;
#line 717 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 5715 "app.c"
	}
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = num_selected;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp6_ == ((guint) 1)) {
#line 5721 "app.c"
		const gchar* _tmp7_ = NULL;
		GList* _tmp8_;
		gconstpointer _tmp9_;
		const gchar* _tmp10_;
		const gchar* _tmp11_;
		gchar* _tmp12_ = NULL;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = _ ("Box '%s' has been deleted");
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = _data5_->selected_items;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = _tmp8_->data;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp9_);
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = _tmp10_;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp12_ = g_strdup_printf (_tmp7_, _tmp11_);
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp5_);
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _tmp12_;
#line 5744 "app.c"
	} else {
		guint _tmp13_;
		const gchar* _tmp14_ = NULL;
		guint _tmp15_;
		gchar* _tmp16_ = NULL;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp13_ = num_selected;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp14_ = ngettext ("%u box has been deleted", "%u boxes have been deleted", (gulong) _tmp13_);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp15_ = num_selected;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp16_ = g_strdup_printf (_tmp14_, _tmp15_);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp5_);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _tmp16_;
#line 5762 "app.c"
	}
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = _tmp5_;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = g_strdup (_tmp17_);
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	message = _tmp18_;
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp19_ = _data5_->selected_items;
#line 5772 "app.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection = _tmp19_;
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 5780 "app.c"
			BoxesCollectionItem* _tmp20_;
			BoxesCollectionItem* item = NULL;
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp20_ = _g_object_ref0 ((BoxesCollectionItem*) item_it->data);
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item = _tmp20_;
#line 5787 "app.c"
			{
				BoxesCollection* _tmp21_;
				BoxesCollectionItem* _tmp22_;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp21_ = self->collection;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp22_ = item;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_collection_remove_item (_tmp21_, _tmp22_);
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (item);
#line 5799 "app.c"
			}
		}
	}
#line 726 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo = ___lambda132__boxes_notificationbar_ok_func;
#line 726 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target = block5_data_ref (_data5_);
#line 726 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target_destroy_notify = block5_data_unref;
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove = ___lambda133__boxes_notificationbar_cancel_func;
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target = block5_data_ref (_data5_);
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target_destroy_notify = block5_data_unref;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp23_ = self->notificationbar;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp24_ = message;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = undo;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25__target = undo_target;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25__target_destroy_notify = undo_target_destroy_notify;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target_destroy_notify = NULL;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26_ = really_remove;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26__target = really_remove_target;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26__target_destroy_notify = really_remove_target_destroy_notify;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target_destroy_notify = NULL;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp27_ = boxes_notificationbar_display_for_action (_tmp23_, _tmp24_, GTK_STOCK_UNDO, _tmp25_, _tmp25__target, _tmp25__target_destroy_notify, _tmp26_, _tmp26__target, _tmp26__target_destroy_notify, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp28_ = _tmp27_;
#line 743 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_tmp28_);
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp29_ = boxes_app_app;
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp30_ = _tmp29_->collection;
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp31_ = _tmp30_->items;
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp32_ = g_ptr_array_get_length (_tmp31_);
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp33_ = _tmp32_;
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp33_ == 0) {
#line 5853 "app.c"
		BoxesApp* _tmp34_;
#line 747 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp34_ = boxes_app_app;
#line 747 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_set_selection_mode (_tmp34_, FALSE);
#line 5859 "app.c"
	}
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	(really_remove_target_destroy_notify == NULL) ? NULL : (really_remove_target_destroy_notify (really_remove_target), NULL);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove = NULL;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target = NULL;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target_destroy_notify = NULL;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	(undo_target_destroy_notify == NULL) ? NULL : (undo_target_destroy_notify (undo_target), NULL);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo = NULL;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target = NULL;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target_destroy_notify = NULL;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (message);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_tmp5_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	block5_data_unref (_data5_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data5_ = NULL;
#line 5885 "app.c"
}


static gboolean boxes_app_on_key_pressed (BoxesApp* self, GtkWidget* widget, GdkEventKey* event) {
	gboolean result = FALSE;
	GdkEventKey _tmp0_;
	guint _tmp1_;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 752 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = *event;
#line 752 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_.keyval;
#line 752 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp1_ == ((guint) GDK_KEY_F11)) {
#line 5905 "app.c"
		gboolean _tmp2_;
		gboolean _tmp3_;
#line 753 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = boxes_app_get_fullscreen (self);
#line 753 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = _tmp2_;
#line 753 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_set_fullscreen (self, !_tmp3_);
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		result = TRUE;
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return result;
#line 5918 "app.c"
	} else {
		GdkEventKey _tmp4_;
		guint _tmp5_;
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = *event;
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _tmp4_.keyval;
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_tmp5_ == ((guint) GDK_KEY_Escape)) {
#line 5928 "app.c"
			gboolean _tmp6_ = FALSE;
			gboolean _tmp7_;
			gboolean _tmp8_;
			gboolean _tmp11_;
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp7_ = boxes_app_get_selection_mode (self);
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp8_ = _tmp7_;
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_tmp8_) {
#line 5939 "app.c"
				BoxesUIState _tmp9_;
				BoxesUIState _tmp10_;
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp9_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp10_ = _tmp9_;
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = _tmp10_ == BOXES_UI_STATE_COLLECTION;
#line 5948 "app.c"
			} else {
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = FALSE;
#line 5952 "app.c"
			}
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp11_ = _tmp6_;
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_tmp11_) {
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_set_selection_mode (self, FALSE);
#line 5960 "app.c"
			}
		} else {
			gboolean _tmp12_ = FALSE;
			GdkEventKey _tmp13_;
			guint _tmp14_;
			gboolean _tmp17_;
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp13_ = *event;
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp14_ = _tmp13_.keyval;
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_tmp14_ == ((guint) GDK_KEY_q)) {
#line 5973 "app.c"
				GdkEventKey _tmp15_;
				GdkModifierType _tmp16_;
#line 759 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp15_ = *event;
#line 759 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp16_ = _tmp15_.state;
#line 759 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp12_ = (_tmp16_ & GDK_MODIFIER_MASK) == GDK_CONTROL_MASK;
#line 5982 "app.c"
			} else {
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp12_ = FALSE;
#line 5986 "app.c"
			}
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp17_ = _tmp12_;
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_tmp17_) {
#line 760 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_quit (self);
#line 761 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				result = TRUE;
#line 761 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				return result;
#line 5998 "app.c"
			} else {
				gboolean _tmp18_ = FALSE;
				GdkEventKey _tmp19_;
				guint _tmp20_;
				gboolean _tmp23_;
#line 762 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp19_ = *event;
#line 762 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp20_ = _tmp19_.keyval;
#line 762 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (_tmp20_ == ((guint) GDK_KEY_a)) {
#line 6010 "app.c"
					GdkEventKey _tmp21_;
					GdkModifierType _tmp22_;
#line 763 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp21_ = *event;
#line 763 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp22_ = _tmp21_.state;
#line 763 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp18_ = (_tmp22_ & GDK_MODIFIER_MASK) == GDK_MOD1_MASK;
#line 6019 "app.c"
				} else {
#line 762 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp18_ = FALSE;
#line 6023 "app.c"
				}
#line 762 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp23_ = _tmp18_;
#line 762 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (_tmp23_) {
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					boxes_app_quit (self);
#line 765 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					result = TRUE;
#line 765 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					return result;
#line 6035 "app.c"
				}
			}
		}
	}
#line 768 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 768 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6044 "app.c"
}


static Block6Data* block6_data_ref (Block6Data* _data6_) {
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_atomic_int_inc (&_data6_->_ref_count_);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return _data6_;
#line 6053 "app.c"
}


static void block6_data_unref (void * _userdata_) {
	Block6Data* _data6_;
	_data6_ = (Block6Data*) _userdata_;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
#line 6062 "app.c"
		BoxesApp * self;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		self = _data6_->self;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data6_->machine);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (self);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_slice_free (Block6Data, _data6_);
#line 6072 "app.c"
	}
}


static void __lambda107_ (BoxesApp* self, const gchar* message) {
	BoxesApp* _tmp0_;
	BoxesNotificationbar* _tmp1_;
	const gchar* _tmp2_;
	GdNotification* _tmp3_ = NULL;
	GdNotification* _tmp4_;
#line 793 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (message != NULL);
#line 794 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = boxes_app_app;
#line 794 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_->notificationbar;
#line 794 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = message;
#line 794 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = boxes_notificationbar_display_error (_tmp1_, _tmp2_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 794 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _tmp3_;
#line 794 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_tmp4_);
#line 6097 "app.c"
}


static void ___lambda107__boxes_machine_got_error (BoxesMachine* _sender, const gchar* message, gpointer self) {
#line 793 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda107_ (self, message);
#line 6104 "app.c"
}


static void __lambda108_ (Block6Data* _data6_, GObject* obj, GAsyncResult* res) {
	BoxesApp * self;
	GError * _inner_error_ = NULL;
#line 801 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = _data6_->self;
#line 801 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (res != NULL);
#line 6115 "app.c"
	{
		BoxesMachine* _tmp0_;
		GAsyncResult* _tmp1_;
#line 803 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = _data6_->machine;
#line 803 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp1_ = res;
#line 803 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_machine_connect_display_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 803 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 6127 "app.c"
			goto __catch7_g_error;
		}
	}
	goto __finally7;
	__catch7_g_error:
	{
		GError* e = NULL;
		BoxesApp* _tmp2_;
		BoxesNotificationbar* _tmp3_;
		const gchar* _tmp4_ = NULL;
		BoxesMachine* _tmp5_;
		const gchar* _tmp6_;
		const gchar* _tmp7_;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_;
		GdNotification* _tmp10_ = NULL;
		GdNotification* _tmp11_;
		GError* _tmp12_;
		const gchar* _tmp13_;
#line 802 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		e = _inner_error_;
#line 802 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_inner_error_ = NULL;
#line 805 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_COLLECTION);
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = boxes_app_app;
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = _tmp2_->notificationbar;
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = _ ("Connection to '%s' failed");
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _data6_->machine;
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp6_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp5_);
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = _tmp6_;
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = g_strdup_printf (_tmp4_, _tmp7_);
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = _tmp8_;
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = boxes_notificationbar_display_error (_tmp3_, _tmp9_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = _tmp10_;
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_tmp11_);
#line 806 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp9_);
#line 807 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp12_ = e;
#line 807 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp13_ = _tmp12_->message;
#line 807 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_debug ("app.vala:807: connect display failed: %s", _tmp13_);
#line 802 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (e);
#line 6185 "app.c"
	}
	__finally7:
#line 802 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 802 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 802 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_inner_error_);
#line 802 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 6196 "app.c"
	}
}


static void ___lambda108__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 801 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda108_ (self, source_object, res);
#line 801 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	block6_data_unref (self);
#line 6206 "app.c"
}


void boxes_app_connect_to (BoxesApp* self, BoxesMachine* machine, gfloat x, gfloat y) {
	Block6Data* _data6_;
	BoxesMachine* _tmp0_;
	BoxesMachine* _tmp1_;
	BoxesMachine* _tmp2_;
	BoxesCollectionItem* _tmp3_;
	BoxesMachine* _tmp4_;
	ClutterActor* _tmp5_;
	ClutterActor* _tmp6_;
	ClutterActor* _tmp7_;
	ClutterActor* actor;
	ClutterActor* _tmp8_;
	ClutterActor* _tmp9_ = NULL;
	ClutterActor* _tmp16_;
	ClutterActor* _tmp17_;
	ClutterActor* _tmp18_;
	ClutterActor* _tmp19_;
	ClutterActor* _tmp20_;
	ClutterActor* _tmp21_;
	ClutterActor* _tmp22_;
	ClutterActor* _tmp23_;
	BoxesApp* _tmp24_;
	guint _tmp25_;
	BoxesMachine* _tmp26_;
	BoxesTopbar* _tmp27_;
	GBinding* _tmp28_ = NULL;
	GBinding* _tmp29_;
	BoxesMachine* _tmp30_;
	gulong _tmp31_ = 0UL;
	BoxesMachine* _tmp32_;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (machine != NULL);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data6_ = g_slice_new0 (Block6Data);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data6_->_ref_count_ = 1;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data6_->self = g_object_ref (self);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = machine;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data6_->machine);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data6_->machine = _tmp1_;
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _data6_->machine;
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _g_object_ref0 ((BoxesCollectionItem*) _tmp2_);
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->current_item);
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->current_item = _tmp3_;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _data6_->machine;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = boxes_ui_get_actor ((BoxesUI*) _tmp4_);
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = _tmp5_;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	actor = _tmp7_;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = actor;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = clutter_actor_get_parent (_tmp8_);
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp9_ == NULL) {
#line 6282 "app.c"
		BoxesApp* _tmp10_;
		ClutterActor* _tmp11_;
		ClutterActor* _tmp12_;
		ClutterActor* _tmp13_;
		gfloat _tmp14_;
		gfloat _tmp15_;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = boxes_app_app;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = _tmp10_->overlay_bin_actor;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp12_ = actor;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		clutter_actor_add_child (_tmp11_, _tmp12_);
#line 778 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp13_ = actor;
#line 778 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp14_ = x;
#line 778 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp15_ = y;
#line 778 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_allocate_actor_no_animation (_tmp13_, _tmp14_, _tmp15_, (gfloat) BOXES_MACHINE_SCREENSHOT_WIDTH, (gfloat) (BOXES_MACHINE_SCREENSHOT_HEIGHT * 2));
#line 6305 "app.c"
	}
#line 782 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp16_ = actor;
#line 782 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_show (_tmp16_);
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = actor;
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_easing_mode (_tmp17_, CLUTTER_LINEAR);
#line 784 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = actor;
#line 784 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp19_ = actor;
#line 784 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set (_tmp19_, "natural-width", (gfloat) (BOXES_MACHINE_SCREENSHOT_WIDTH * 2), NULL);
#line 784 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set (_tmp18_, "min-width", (gfloat) (BOXES_MACHINE_SCREENSHOT_WIDTH * 2), NULL);
#line 785 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_ = actor;
#line 785 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_fixed_position_set (_tmp20_, FALSE);
#line 786 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = actor;
#line 786 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_x_align (_tmp21_, CLUTTER_ACTOR_ALIGN_CENTER);
#line 787 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_ = actor;
#line 787 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_y_align (_tmp22_, CLUTTER_ACTOR_ALIGN_CENTER);
#line 788 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp23_ = actor;
#line 788 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp24_ = boxes_app_app;
#line 788 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = _tmp24_->duration;
#line 788 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_easing_duration (_tmp23_, _tmp25_);
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26_ = _data6_->machine;
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp27_ = self->topbar;
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp28_ = g_object_bind_property_with_closures ((GObject*) _tmp26_, "status", (GObject*) _tmp27_, "status", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp29_ = _g_object_ref0 (_tmp28_);
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->status_bind);
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->status_bind = _tmp29_;
#line 793 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp30_ = _data6_->machine;
#line 793 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp31_ = g_signal_connect_object (_tmp30_, "got-error", (GCallback) ___lambda107__boxes_machine_got_error, self, 0);
#line 793 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->got_error_id = _tmp31_;
#line 798 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_CREDS);
#line 801 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp32_ = _data6_->machine;
#line 801 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_machine_connect_display (_tmp32_, ___lambda108__gasync_ready_callback, block6_data_ref (_data6_));
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (actor);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	block6_data_unref (_data6_);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data6_ = NULL;
#line 6373 "app.c"
}


void boxes_app_select_item (BoxesApp* self, BoxesCollectionItem* item) {
	gboolean _tmp0_ = FALSE;
	BoxesUIState _tmp1_;
	BoxesUIState _tmp2_;
	gboolean _tmp5_;
#line 813 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 813 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (item != NULL);
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_;
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp2_ == BOXES_UI_STATE_COLLECTION) {
#line 6392 "app.c"
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = boxes_app_get_selection_mode (self);
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = _tmp3_;
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = !_tmp4_;
#line 6401 "app.c"
	} else {
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = FALSE;
#line 6405 "app.c"
	}
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = _tmp0_;
#line 814 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp5_) {
#line 6411 "app.c"
		BoxesCollectionItem* _tmp6_;
		BoxesCollectionItem* _tmp7_;
		BoxesCollectionItem* _tmp8_;
		BoxesCollectionItem* _tmp18_;
#line 815 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp6_ = item;
#line 815 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = _g_object_ref0 (_tmp6_);
#line 815 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (self->current_item);
#line 815 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		self->current_item = _tmp7_;
#line 817 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = self->current_item;
#line 817 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, BOXES_TYPE_MACHINE)) {
#line 6428 "app.c"
			BoxesCollectionItem* _tmp9_;
			BoxesMachine* _tmp10_;
			BoxesMachine* machine;
			gfloat item_x = 0.0F;
			gfloat item_y = 0.0F;
			BoxesCollectionView* _tmp11_;
			BoxesCollectionItem* _tmp12_;
			gfloat _tmp13_ = 0.0F;
			gfloat _tmp14_ = 0.0F;
			BoxesMachine* _tmp15_;
			gfloat _tmp16_;
			gfloat _tmp17_;
#line 818 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp9_ = self->current_item;
#line 818 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp9_) : NULL);
#line 818 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			machine = _tmp10_;
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp11_ = self->view;
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp12_ = item;
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_collection_view_get_item_pos (_tmp11_, _tmp12_, &_tmp13_, &_tmp14_);
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item_x = _tmp13_;
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item_y = _tmp14_;
#line 823 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp15_ = machine;
#line 823 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp16_ = item_x;
#line 823 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp17_ = item_y;
#line 823 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_app_connect_to (self, _tmp15_, _tmp16_, _tmp17_);
#line 817 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (machine);
#line 6467 "app.c"
		} else {
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_warning ("app.vala:825: unknown item, fix your code");
#line 6471 "app.c"
		}
#line 827 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp18_ = item;
#line 827 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_signal_emit_by_name (self, "item-selected", _tmp18_);
#line 6477 "app.c"
	} else {
		BoxesUIState _tmp19_;
		BoxesUIState _tmp20_;
#line 828 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp19_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 828 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp20_ = _tmp19_;
#line 828 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_tmp20_ == BOXES_UI_STATE_WIZARD) {
#line 6487 "app.c"
			BoxesCollectionItem* _tmp21_;
			BoxesCollectionItem* _tmp22_;
#line 829 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp21_ = item;
#line 829 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp22_ = _g_object_ref0 (_tmp21_);
#line 829 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (self->current_item);
#line 829 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			self->current_item = _tmp22_;
#line 831 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_PROPERTIES);
#line 6500 "app.c"
		}
	}
}


static ClutterActor* boxes_app_real_get_actor (BoxesUI* base) {
	ClutterActor* result;
	BoxesApp* self;
	ClutterStage* _tmp0_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = (BoxesApp*) base;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->stage;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = (ClutterActor*) _tmp0_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6518 "app.c"
}


gboolean boxes_app_get_fullscreen (BoxesApp* self) {
	gboolean result;
	GtkApplicationWindow* _tmp0_;
	GdkWindow* _tmp1_ = NULL;
	GdkWindowState _tmp2_ = 0;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->window;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = gtk_widget_get_window ((GtkWidget*) _tmp0_);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = gdk_window_get_state (_tmp1_);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = (_tmp2_ & GDK_WINDOW_STATE_FULLSCREEN) == GDK_WINDOW_STATE_FULLSCREEN;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6539 "app.c"
}


void boxes_app_set_fullscreen (BoxesApp* self, gboolean value) {
	gboolean _tmp0_;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = value;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp0_) {
#line 6551 "app.c"
		GtkApplicationWindow* _tmp1_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp1_ = self->window;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_fullscreen ((GtkWindow*) _tmp1_);
#line 6557 "app.c"
	} else {
		GtkApplicationWindow* _tmp2_;
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = self->window;
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_unfullscreen ((GtkWindow*) _tmp2_);
#line 6564 "app.c"
	}
}


static gboolean boxes_app_get_maximized (BoxesApp* self) {
	gboolean result;
	GtkApplicationWindow* _tmp0_;
	GdkWindow* _tmp1_ = NULL;
	GdkWindowState _tmp2_ = 0;
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->window;
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = gtk_widget_get_window ((GtkWidget*) _tmp0_);
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = gdk_window_get_state (_tmp1_);
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = (_tmp2_ & GDK_WINDOW_STATE_MAXIMIZED) == GDK_WINDOW_STATE_MAXIMIZED;
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6586 "app.c"
}


const gchar* boxes_app_get_uri (BoxesApp* self) {
	const gchar* result;
	const gchar* _tmp0_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->_uri;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = _tmp0_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6601 "app.c"
}


void boxes_app_set_uri (BoxesApp* self, const gchar* value) {
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = value;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (self->priv->_uri);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->_uri = _tmp1_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_notify ((GObject *) self, "uri");
#line 6620 "app.c"
}


GVirConnection* boxes_app_get_default_connection (BoxesApp* self) {
	GVirConnection* result;
	GHashTable* _tmp0_;
	gconstpointer _tmp1_ = NULL;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->connections;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_hash_table_lookup (_tmp0_, "QEMU Session");
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = (GVirConnection*) _tmp1_;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6638 "app.c"
}


BoxesCollectionSource* boxes_app_get_default_source (BoxesApp* self) {
	BoxesCollectionSource* result;
	GHashTable* _tmp0_;
	gconstpointer _tmp1_ = NULL;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->sources;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_hash_table_lookup (_tmp0_, "QEMU Session");
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = (BoxesCollectionSource*) _tmp1_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6656 "app.c"
}


gboolean boxes_app_get_selection_mode (BoxesApp* self) {
	gboolean result;
	gboolean _tmp0_;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->_selection_mode;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = _tmp0_;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6671 "app.c"
}


void boxes_app_set_selection_mode (BoxesApp* self, gboolean value) {
	BoxesUIState _tmp0_;
	BoxesUIState _tmp1_;
	gboolean _tmp2_;
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_;
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (_tmp1_ == BOXES_UI_STATE_COLLECTION);
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = value;
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->_selection_mode = _tmp2_;
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_notify ((GObject *) self, "selection-mode");
#line 6693 "app.c"
}


GList* boxes_app_get_selected_items (BoxesApp* self) {
	GList* result;
	BoxesCollectionView* _tmp0_;
	GList* _tmp1_ = NULL;
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->view;
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_collection_view_get_selected_items (_tmp0_);
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = _tmp1_;
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 6711 "app.c"
}


static void boxes_app_class_init (BoxesAppClass * klass) {
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_parent_class = g_type_class_peek_parent (klass);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_type_class_add_private (klass, sizeof (BoxesAppPrivate));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	BOXES_UI_CLASS (klass)->ui_state_changed = boxes_app_real_ui_state_changed;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	BOXES_UI_CLASS (klass)->get_actor = boxes_app_real_get_actor;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_app_get_property;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_app_set_property;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_app_finalize;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_APP_ACTOR, g_param_spec_object ("actor", "actor", "actor", clutter_actor_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_APP_FULLSCREEN, g_param_spec_boolean ("fullscreen", "fullscreen", "fullscreen", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_APP_URI, g_param_spec_string ("uri", "uri", "uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_APP_DEFAULT_CONNECTION, g_param_spec_object ("default-connection", "default-connection", "default-connection", gvir_connection_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_APP_DEFAULT_SOURCE, g_param_spec_object ("default-source", "default-source", "default-source", BOXES_TYPE_COLLECTION_SOURCE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_APP_SELECTION_MODE, g_param_spec_boolean ("selection-mode", "selection-mode", "selection-mode", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_APP_SELECTED_ITEMS, g_param_spec_pointer ("selected-items", "selected-items", "selected-items", G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_new ("ready", BOXES_TYPE_APP, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_new ("item_selected", BOXES_TYPE_APP, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, BOXES_TYPE_COLLECTION_ITEM);
#line 6748 "app.c"
}


static void boxes_app_instance_init (BoxesApp * self) {
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv = BOXES_APP_GET_PRIVATE (self);
#line 6755 "app.c"
}


static void boxes_app_finalize (GObject* obj) {
	BoxesApp * self;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_APP, BoxesApp);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->window);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->notebook);
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->embed);
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->stage);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->stage_bin);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->overlay_bin_actor);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->overlay_bin);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->current_item);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->searchbar);
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->topbar);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->notificationbar);
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->sidebar_revealer);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->searchbar_revealer);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->sidebar);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->selectionbar);
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->settings);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->wizard);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->properties);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->display_page);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (self->priv->_uri);
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->collection);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->filter);
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_properties);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_fullscreen);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->application);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->view);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_hash_table_unref0 (self->priv->connections);
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_hash_table_unref0 (self->priv->sources);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->status_bind);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	G_OBJECT_CLASS (boxes_app_parent_class)->finalize (obj);
#line 6823 "app.c"
}


GType boxes_app_get_type (void) {
	static volatile gsize boxes_app_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_app_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesAppClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_app_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesApp), 0, (GInstanceInitFunc) boxes_app_instance_init, NULL };
		GType boxes_app_type_id;
		boxes_app_type_id = g_type_register_static (BOXES_TYPE_UI, "BoxesApp", &g_define_type_info, 0);
		g_once_init_leave (&boxes_app_type_id__volatile, boxes_app_type_id);
	}
	return boxes_app_type_id__volatile;
}


static void _vala_boxes_app_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesApp * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_APP, BoxesApp);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (property_id) {
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_ACTOR:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_value_set_object (value, boxes_ui_get_actor ((BoxesUI*) self));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_FULLSCREEN:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_value_set_boolean (value, boxes_app_get_fullscreen (self));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_URI:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_value_set_string (value, boxes_app_get_uri (self));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_DEFAULT_CONNECTION:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_value_set_object (value, boxes_app_get_default_connection (self));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_DEFAULT_SOURCE:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_value_set_object (value, boxes_app_get_default_source (self));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_SELECTION_MODE:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_value_set_boolean (value, boxes_app_get_selection_mode (self));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_SELECTED_ITEMS:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_value_set_pointer (value, boxes_app_get_selected_items (self));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 6886 "app.c"
		default:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 6892 "app.c"
	}
}


static void _vala_boxes_app_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesApp * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_APP, BoxesApp);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (property_id) {
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_FULLSCREEN:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_set_fullscreen (self, g_value_get_boolean (value));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_URI:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_set_uri (self, g_value_get_string (value));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_APP_SELECTION_MODE:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_set_selection_mode (self, g_value_get_boolean (value));
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 6920 "app.c"
		default:
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		break;
#line 6926 "app.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}



