/* app.c generated by valac 0.17.3.12-6a5ea3, 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 <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 <config.h>
#include <gdk/gdk.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_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_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_VIEW (boxes_collection_view_get_type ())
#define BOXES_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionView))
#define BOXES_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))
#define BOXES_IS_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_IS_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_COLLECTION_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;

#define BOXES_TYPE_COLLECTION_SOURCE (boxes_collection_source_get_type ())
#define BOXES_COLLECTION_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_SOURCE, BoxesCollectionSource))
#define BOXES_COLLECTION_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_SOURCE, BoxesCollectionSourceClass))
#define BOXES_IS_COLLECTION_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_SOURCE))
#define BOXES_IS_COLLECTION_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_SOURCE))
#define BOXES_COLLECTION_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_SOURCE, BoxesCollectionSourceClass))

typedef struct _BoxesCollectionSource BoxesCollectionSource;
typedef struct _BoxesCollectionSourceClass BoxesCollectionSourceClass;
#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_MACHINE (boxes_machine_get_type ())
#define BOXES_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE, BoxesMachine))
#define BOXES_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE, BoxesMachineClass))
#define BOXES_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE))
#define BOXES_IS_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE))
#define BOXES_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE, BoxesMachineClass))

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;

#define 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;
typedef struct _BoxesCollectionPrivate BoxesCollectionPrivate;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
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 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_DISPLAY_CONFIG (boxes_display_config_get_type ())
#define BOXES_DISPLAY_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY_CONFIG, BoxesDisplayConfig))
#define BOXES_DISPLAY_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY_CONFIG, BoxesDisplayConfigClass))
#define BOXES_IS_DISPLAY_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY_CONFIG))
#define BOXES_IS_DISPLAY_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY_CONFIG))
#define BOXES_DISPLAY_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY_CONFIG, BoxesDisplayConfigClass))

typedef struct _BoxesDisplayConfig BoxesDisplayConfig;
typedef struct _BoxesDisplayConfigClass BoxesDisplayConfigClass;
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 __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;
typedef struct _BoxesAppGetSourcesFromDirData BoxesAppGetSourcesFromDirData;
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
typedef struct _Block2Data Block2Data;

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;
	GtkClutterEmbed* embed;
	ClutterStage* stage;
	ClutterBinLayout* stage_bin;
	ClutterActor* overlay_bin_actor;
	ClutterBinLayout* overlay_bin;
	BoxesCollectionItem* current_item;
	BoxesTopbar* topbar;
	BoxesNotificationbar* notificationbar;
	BoxesRevealer* sidebar_revealer;
	BoxesRevealer* topbar_revealer;
	BoxesSidebar* sidebar;
	BoxesSelectionbar* selectionbar;
	guint duration;
	GSettings* settings;
	BoxesWizard* wizard;
	BoxesProperties* properties;
	BoxesDisplayPage* display_page;
	BoxesCollection* collection;
	GSimpleAction* action_properties;
	GSimpleAction* action_fullscreen;
	GSimpleAction* action_shutdown;
};

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};

struct _BoxesAppPrivate {
	gchar* _uri;
	GtkApplication* application;
	BoxesCollectionView* view;
	GHashTable* connections;
	GHashTable* sources;
	guint configure_id;
	gboolean _selection_mode;
};

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;

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

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

struct _BoxesMachineClass {
	BoxesCollectionItemClass parent_class;
	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);
	gchar* (*get_screenshot_prefix) (BoxesMachine* self);
	void (*connect_display) (BoxesMachine* self);
	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;
	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_;
	BoxesCollectionSource* _tmp1_;
	GHashTable* _tmp2_;
	BoxesCollectionSource* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gconstpointer _tmp7_;
	gboolean _tmp8_;
	BoxesCollectionSource* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GVirConnection* _tmp13_;
	GVirConnection* _tmp14_;
	GVirConnection* connection;
	GVirConnection* _tmp15_;
	GVirConnection* _tmp16_;
	GVirConnection* _tmp17_;
	GVirConnection* _tmp18_;
	GVirStoragePool* _tmp19_;
	GVirStoragePool* pool;
	GVirStoragePool* _tmp20_;
	GVirStoragePool* _tmp21_;
	GError* _error_;
	GError* _tmp22_;
	const gchar* _tmp23_;
	GHashTable* _tmp24_;
	BoxesCollectionSource* _tmp25_;
	gchar* _tmp26_;
	gchar* _tmp27_;
	GVirConnection* _tmp28_;
	GVirConnection* _tmp29_;
	GHashTable* _tmp30_;
	BoxesCollectionSource* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	BoxesCollectionSource* _tmp34_;
	BoxesCollectionSource* _tmp35_;
	BoxesCollectionSource* _tmp36_;
	gchar* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	gboolean _tmp40_;
	GVirConnection* _tmp41_;
	GList* _tmp42_;
	GList* domain_collection;
	GList* domain_it;
	GVirDomain* _tmp43_;
	GVirDomain* domain;
	BoxesCollectionSource* _tmp44_;
	GVirConnection* _tmp45_;
	GVirDomain* _tmp46_;
	GVirConnection* _tmp47_;
	GVirConnection* _tmp48_;
	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_;
	BoxesCollectionSource* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
};

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

struct _BoxesAppGetSourcesFromDirData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesApp* self;
	GFile* dir;
	GFile* _tmp0_;
	GFileEnumerator* _tmp1_;
	GFileEnumerator* enumerator;
	GFileEnumerator* _tmp2_;
	GList* _tmp3_;
	GList* files;
	GList* _tmp4_;
	GList* _tmp5_;
	GList* file_collection;
	GList* file_it;
	GFileInfo* _tmp6_;
	GFileInfo* file;
	GFileInfo* _tmp7_;
	const gchar* _tmp8_;
	BoxesCollectionSource* _tmp9_;
	BoxesCollectionSource* source;
	BoxesCollectionSource* _tmp10_;
	GError* _error_;
	GError* _tmp11_;
	const gchar* _tmp12_;
	GError * _inner_error_;
};

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

typedef void (*BoxesNotificationbarOKFunc) (void* user_data);
typedef void (*BoxesNotificationbarCancelFunc) (void* user_data);

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_collection_item_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_view_get_type (void) G_GNUC_CONST;
GType boxes_collection_source_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);
static void __lambda120_ (BoxesApp* self);
gboolean boxes_app_quit (BoxesApp* self);
static void ___lambda120__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self);
static void __lambda121_ (BoxesApp* self);
void boxes_ui_set_ui_state (BoxesUI* self, BoxesUIState value);
static void ___lambda121__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self);
static void __lambda122_ (BoxesApp* self);
void boxes_app_set_fullscreen (BoxesApp* self, gboolean value);
static void ___lambda122__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self);
static void __lambda123_ (BoxesApp* self);
static void ___lambda123__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self);
static void __lambda124_ (BoxesApp* self);
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
void boxes_libvirt_machine_force_shutdown (BoxesLibvirtMachine* self, gboolean confirm);
static void ___lambda124__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self);
static void __lambda125_ (BoxesApp* self);
static void ___lambda125__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self);
static void __lambda126_ (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 __lambda131_ (BoxesApp* self, BoxesCollectionItem* item);
void boxes_collection_view_add_item (BoxesCollectionView* self, BoxesCollectionItem* item);
static void ___lambda131__boxes_collection_item_added (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self);
static void __lambda132_ (BoxesApp* self, BoxesCollectionItem* item);
void boxes_collection_view_remove_item (BoxesCollectionView* self, BoxesCollectionItem* item);
static void ___lambda132__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 __lambda133_ (BoxesApp* self, GObject* obj, GAsyncResult* _result_);
static void ___lambda133__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 ___lambda126__g_application_startup (GApplication* _sender, gpointer self);
static void __lambda134_ (BoxesApp* self, GApplication* app);
static void ___lambda134__g_application_activate (GApplication* _sender, gpointer self);
gint boxes_app_run (BoxesApp* self);
gboolean 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);
gboolean boxes_app_select_item (BoxesApp* self, BoxesCollectionItem* item);
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);
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);
gchar* boxes_collection_source_get_name (BoxesCollectionSource* self);
static void boxes_app_try_add_existing_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain);
GType boxes_properties_page_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_display_config_get_type (void) G_GNUC_CONST;
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_);
gchar* boxes_collection_source_get_uri (BoxesCollectionSource* self);
static void boxes_app_setup_libvirt_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void _g_list_free__g_object_unref0_ (GList* self);
static void __lambda113_ (BoxesApp* self, GVirConnection* connection, GVirDomain* domain);
static void ___lambda113__gvir_connection_domain_removed (GVirConnection* _sender, GVirDomain* dom, gpointer self);
static void __lambda114_ (Block1Data* _data1_, GVirConnection* connection, GVirDomain* domain);
static void ___lambda114__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_);
gboolean boxes_collection_source_get_enabled (BoxesCollectionSource* self);
gchar* boxes_collection_source_get_source_type (BoxesCollectionSource* self);
static void boxes_app_add_collection_source_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesRemoteMachine* boxes_remote_machine_new (BoxesCollectionSource* source);
BoxesRemoteMachine* boxes_remote_machine_construct (GType object_type, BoxesCollectionSource* source);
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_);
gboolean boxes_has_user_pkgconfig_sources (void);
gchar* boxes_get_pkgdata_source (const gchar* file_name);
gchar* boxes_get_user_pkgconfig_source (const gchar* file_name);
static void boxes_app_setup_sources_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesCollectionSource* boxes_collection_source_new_with_file (const gchar* filename, GError** error);
BoxesCollectionSource* boxes_collection_source_construct_with_file (GType object_type, const gchar* filename, GError** error);
GVirConnection* boxes_app_get_default_connection (BoxesApp* self);
static void boxes_app_get_sources_from_dir (BoxesApp* self, GFile* dir, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_app_get_sources_from_dir_finish (BoxesApp* self, GAsyncResult* _res_);
static void boxes_app_get_sources_from_dir_data_free (gpointer _data);
static gboolean boxes_app_get_sources_from_dir_co (BoxesAppGetSourcesFromDirData* _data_);
static void boxes_app_get_sources_from_dir_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
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 __lambda127_ (BoxesApp* self);
gboolean boxes_app_get_fullscreen (BoxesApp* self);
static gboolean __lambda128_ (BoxesApp* self);
static gboolean ___lambda128__gsource_func (gpointer self);
static gboolean ___lambda127__gtk_widget_configure_event (GtkWidget* _sender, GdkEventConfigure* event, gpointer self);
static gboolean __lambda129_ (BoxesApp* self);
static gboolean ___lambda129__gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self);
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 __lambda130_ (BoxesApp* self);
static gboolean ___lambda130__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);
gchar* boxes_get_style (const gchar* file_name);
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);
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_real_ui_state_changed (BoxesUI* base);
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
void boxes_machine_disconnect_display (BoxesMachine* self);
const gchar* boxes_ui_state_to_string (BoxesUIState self);
void boxes_notificationbar_cancel (BoxesNotificationbar* self);
void boxes_libvirt_machine_suspend (BoxesLibvirtMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_libvirt_machine_suspend_finish (BoxesLibvirtMachine* self, GAsyncResult* _res_, GError** error);
void boxes_wizard_cleanup (BoxesWizard* self);
void boxes_app_remove_selected_items (BoxesApp* self);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
GList* boxes_collection_view_get_selected_items (BoxesCollectionView* self);
static void __lambda102_ (Block2Data* _data2_);
static void ___lambda102__boxes_notificationbar_ok_func (gpointer self);
static void __lambda103_ (Block2Data* _data2_);
static void ___lambda103__boxes_notificationbar_cancel_func (gpointer self);
void 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);
gboolean boxes_app_get_selection_mode (BoxesApp* self);
void boxes_app_set_selection_mode (BoxesApp* self, gboolean value);
void boxes_machine_connect_display (BoxesMachine* 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 63 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return self ? g_object_ref (self) : NULL;
#line 826 "app.c"
}


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


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


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


static void ___lambda120__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self) {
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda120_ (self);
#line 854 "app.c"
}


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


static void ___lambda121__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self) {
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda121_ (self);
#line 868 "app.c"
}


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


static void ___lambda122__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self) {
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda122_ (self);
#line 882 "app.c"
}


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


static void ___lambda123__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self) {
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda123_ (self);
#line 896 "app.c"
}


static void __lambda124_ (BoxesApp* self) {
	BoxesCollectionItem* _tmp0_;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->current_item;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_libvirt_machine_force_shutdown (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, BOXES_TYPE_LIBVIRT_MACHINE) ? ((BoxesLibvirtMachine*) _tmp0_) : NULL, TRUE);
#line 906 "app.c"
}


static void ___lambda124__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self) {
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda124_ (self);
#line 913 "app.c"
}


static void __lambda125_ (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 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = g_strdup ("Alexander Larsson <alexl@redhat.com>");
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_strdup ("Christophe Fergeau <cfergeau@redhat.com>");
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = g_strdup ("Marc-André Lureau <marcandre.lureau@gmail.com>");
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = g_strdup ("Zeeshan Ali (Khattak) <zeeshanak@gnome.org>");
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = g_new0 (gchar*, 4 + 1);
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_[0] = _tmp0_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_[1] = _tmp1_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_[2] = _tmp2_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_[3] = _tmp3_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	authors = _tmp4_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	authors_length1 = 4;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_authors_size_ = authors_length1;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = g_strdup ("Jon McCann <jmccann@redhat.com>");
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = g_strdup ("Jakub Steiner <jsteiner@redhat.com>");
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = g_new0 (gchar*, 2 + 1);
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_[0] = _tmp5_;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_[1] = _tmp6_;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	artists = _tmp7_;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	artists_length1 = 2;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_artists_size_ = artists_length1;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = self->window;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = _ ("translator-credits");
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = _ ("A simple GNOME 3 application to access remote or virtual systems");
#line 102 "/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 90 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	artists = (_vala_array_free (artists, artists_length1, (GDestroyNotify) g_free), NULL);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	authors = (_vala_array_free (authors, authors_length1, (GDestroyNotify) g_free), NULL);
#line 987 "app.c"
}


static void ___lambda125__g_simple_action_activate (GSimpleAction* _sender, GVariant* p0, gpointer self) {
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda125_ (self);
#line 994 "app.c"
}


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


static void ___lambda131__boxes_collection_item_added (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self) {
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda131_ (self, item);
#line 1016 "app.c"
}


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


static void ___lambda132__boxes_collection_item_removed (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda132_ (self, item);
#line 1038 "app.c"
}


static gint g_ptr_array_get_length (GPtrArray* self) {
	gint result;
	guint _tmp0_;
#line 4092 "../vapi/upstream/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 4092 "../vapi/upstream/glib-2.0.vapi"
	_tmp0_ = self->len;
#line 4092 "../vapi/upstream/glib-2.0.vapi"
	result = (gint) _tmp0_;
#line 4092 "../vapi/upstream/glib-2.0.vapi"
	return result;
#line 1053 "app.c"
}


static void g_ptr_array_set_length (GPtrArray* self, gint value) {
	gint _tmp0_;
#line 4093 "../vapi/upstream/glib-2.0.vapi"
	g_return_if_fail (self != NULL);
#line 4093 "../vapi/upstream/glib-2.0.vapi"
	_tmp0_ = value;
#line 4093 "../vapi/upstream/glib-2.0.vapi"
	g_ptr_array_set_size (self, _tmp0_);
#line 1065 "app.c"
}


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


static void ___lambda133__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda133_ (self, source_object, res);
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_unref (self);
#line 1103 "app.c"
}


static void __lambda126_ (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;
	const gchar* _tmp7_ = NULL;
	GtkApplication* _tmp8_;
	BoxesCollection* _tmp9_;
	GSettings* _tmp10_;
	gint _tmp11_ = 0;
	BoxesCollection* _tmp12_;
	BoxesCollection* _tmp13_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (app != NULL);
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = g_menu_new ();
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	menu = _tmp0_;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _ ("New");
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (menu, _tmp1_, "app.new");
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = g_menu_new ();
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	display_section = _tmp2_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _ ("Properties");
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (display_section, _tmp3_, "app.display.properties");
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _ ("Fullscreen");
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (display_section, _tmp4_, "app.display.fullscreen");
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = _ ("Force shutdown");
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (display_section, _tmp5_, "app.display.shutdown");
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append_section (menu, NULL, (GMenuModel*) display_section);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = _ ("About Boxes");
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (menu, _tmp6_, "app.about");
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = _ ("Quit");
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_menu_append (menu, _tmp7_, "app.quit");
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = self->priv->application;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_application_set_app_menu (_tmp8_, (GMenuModel*) menu);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = boxes_collection_new ();
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->collection);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->collection = _tmp9_;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = self->settings;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp11_ = g_settings_get_int (_tmp10_, "animation-duration");
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->duration = (guint) _tmp11_;
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_ui (self);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp12_ = self->collection;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp12_, "item-added", (GCallback) ___lambda131__boxes_collection_item_added, self, 0);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = self->collection;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp13_, "item-removed", (GCallback) ___lambda132__boxes_collection_item_removed, self, 0);
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_sources (self, ___lambda133__gasync_ready_callback, g_object_ref (self));
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_check_cpu_vt_capability (NULL, NULL);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_check_module_kvm_loaded (NULL, NULL);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (display_section);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (menu);
#line 1196 "app.c"
}


static void ___lambda126__g_application_startup (GApplication* _sender, gpointer self) {
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda126_ (self, _sender);
#line 1203 "app.c"
}


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


static void ___lambda134__g_application_activate (GApplication* _sender, gpointer self) {
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda134_ (self, _sender);
#line 1222 "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_;
	GSimpleAction* _tmp9_;
	GSimpleAction* action;
	GSimpleAction* _tmp10_;
	GtkApplication* _tmp11_;
	GSimpleAction* _tmp12_;
	GSimpleAction* _tmp13_;
	GSimpleAction* _tmp14_;
	GtkApplication* _tmp15_;
	GSimpleAction* _tmp16_;
	GSimpleAction* _tmp17_;
	GSimpleAction* _tmp18_;
	GtkApplication* _tmp19_;
	GSimpleAction* _tmp20_;
	GSimpleAction* _tmp21_;
	GSimpleAction* _tmp22_;
	GtkApplication* _tmp23_;
	GSimpleAction* _tmp24_;
	GSimpleAction* _tmp25_;
	GSimpleAction* _tmp26_;
	GtkApplication* _tmp27_;
	GSimpleAction* _tmp28_;
	GSimpleAction* _tmp29_;
	GSimpleAction* _tmp30_;
	GtkApplication* _tmp31_;
	GSimpleAction* _tmp32_;
	GtkApplication* _tmp33_;
	GtkApplication* _tmp34_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = (BoxesApp*) boxes_ui_construct (object_type);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (boxes_app_app);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_app = _tmp0_;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = gtk_application_new ("org.gnome.Boxes", 0);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->application);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->application = _tmp1_;
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = g_settings_new ("org.gnome.boxes");
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->settings);
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->settings = _tmp2_;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = g_str_hash;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = g_str_equal;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = g_hash_table_new_full (_tmp3_, _tmp4_, _g_free0_, _g_object_unref0_);
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_hash_table_unref0 (self->priv->connections);
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->connections = _tmp5_;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = g_str_hash;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = g_str_equal;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = g_hash_table_new_full (_tmp6_, _tmp7_, _g_free0_, _g_object_unref0_);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_hash_table_unref0 (self->priv->sources);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->sources = _tmp8_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = g_simple_action_new ("quit", NULL);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp9_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = action;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp10_, "activate", (GCallback) ___lambda120__g_simple_action_activate, self, 0);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp11_ = self->priv->application;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp12_ = action;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp11_, (GAction*) _tmp12_);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = g_simple_action_new ("new", NULL);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp13_;
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = action;
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp14_, "activate", (GCallback) ___lambda121__g_simple_action_activate, self, 0);
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp15_ = self->priv->application;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp16_ = action;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp15_, (GAction*) _tmp16_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = g_simple_action_new ("display.fullscreen", NULL);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_fullscreen);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->action_fullscreen = _tmp17_;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = self->action_fullscreen;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp18_, "activate", (GCallback) ___lambda122__g_simple_action_activate, self, 0);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp19_ = self->priv->application;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_ = self->action_fullscreen;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp19_, (GAction*) _tmp20_);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = g_simple_action_new ("display.properties", NULL);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_properties);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->action_properties = _tmp21_;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_ = self->action_properties;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp22_, "activate", (GCallback) ___lambda123__g_simple_action_activate, self, 0);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp23_ = self->priv->application;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp24_ = self->action_properties;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp23_, (GAction*) _tmp24_);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = g_simple_action_new ("display.shutdown", NULL);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_shutdown);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->action_shutdown = _tmp25_;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26_ = self->action_shutdown;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp26_, "activate", (GCallback) ___lambda124__g_simple_action_activate, self, 0);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp27_ = self->priv->application;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp28_ = self->action_shutdown;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp27_, (GAction*) _tmp28_);
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp29_ = g_simple_action_new ("about", NULL);
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	action = _tmp29_;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp30_ = action;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_tmp30_, "activate", (GCallback) ___lambda125__g_simple_action_activate, self, 0);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp31_ = self->priv->application;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp32_ = action;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_action_map_add_action ((GActionMap*) _tmp31_, (GAction*) _tmp32_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp33_ = self->priv->application;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GApplication*) _tmp33_, "startup", (GCallback) ___lambda126__g_application_startup, self, G_CONNECT_AFTER);
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp34_ = self->priv->application;
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GApplication*) _tmp34_, "activate", (GCallback) ___lambda134__g_application_activate, self, G_CONNECT_AFTER);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (action);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return self;
#line 1410 "app.c"
}


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


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


gboolean boxes_app_open (BoxesApp* self, const gchar* name) {
	gboolean result = FALSE;
	BoxesCollectionView* _tmp0_;
	BoxesCollection* _tmp1_;
	GPtrArray* _tmp2_;
	gpointer* _tmp3_;
	gint _tmp3__length1;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (name != NULL, FALSE);
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_COLLECTION);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->view;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_view_set_visible (_tmp0_, FALSE);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = self->collection;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_->items;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _tmp2_->pdata;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3__length1 = (gint) _tmp2_->len;
#line 1464 "app.c"
	{
		BoxesCollectionItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection = _tmp3_;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection_length1 = _tmp3__length1;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (item_it = 0; item_it < _tmp3__length1; item_it = item_it + 1) {
#line 1476 "app.c"
			BoxesCollectionItem* _tmp4_;
			BoxesCollectionItem* item = NULL;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp4_ = _g_object_ref0 (item_collection[item_it]);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item = _tmp4_;
#line 1483 "app.c"
			{
				BoxesCollectionItem* _tmp5_;
				const gchar* _tmp6_;
				const gchar* _tmp7_;
				const gchar* _tmp8_;
				BoxesCollectionItem* _tmp9_;
				gboolean _tmp10_ = FALSE;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp5_ = item;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = boxes_collection_item_get_name (_tmp5_);
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp7_ = _tmp6_;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp8_ = name;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (g_strcmp0 (_tmp7_, _tmp8_) != 0) {
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_object_unref0 (item);
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					continue;
#line 1505 "app.c"
				}
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp9_ = item;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp10_ = boxes_app_select_item (self, _tmp9_);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				result = _tmp10_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (item);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				return result;
#line 1517 "app.c"
			}
		}
	}
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 1525 "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_;
	BoxesCollection* _tmp9_;
	BoxesLibvirtMachine* _tmp10_;
	GVirDomain* _tmp11_;
	BoxesLibvirtMachine* _tmp12_;
	BoxesLibvirtMachine* _tmp13_;
	GError * _inner_error_ = NULL;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (connection != NULL, NULL);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (domain != NULL, NULL);
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = domain;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_object_get_data ((GObject*) _tmp0_, "machine");
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _g_object_ref0 ((BoxesLibvirtMachine*) _tmp1_);
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	machine = _tmp2_;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = machine;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp3_ != NULL) {
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		result = machine;
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return result;
#line 1571 "app.c"
	}
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = source;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = connection;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = domain;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = boxes_libvirt_machine_new (_tmp4_, _tmp5_, _tmp6_, &_inner_error_);
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = _tmp7_;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_propagate_error (error, _inner_error_);
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (machine);
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return NULL;
#line 1591 "app.c"
	}
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (machine);
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	machine = _tmp8_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = self->collection;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = machine;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_add_item (_tmp9_, (BoxesCollectionItem*) _tmp10_);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp11_ = domain;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp12_ = machine;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = _g_object_ref0 (_tmp12_);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set_data_full ((GObject*) _tmp11_, "machine", _tmp13_, g_object_unref);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = machine;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 1615 "app.c"
}


static void boxes_app_try_add_new_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain) {
	GError * _inner_error_ = NULL;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (source != NULL);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (connection != NULL);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (domain != NULL);
#line 1629 "app.c"
	{
		BoxesCollectionSource* _tmp0_;
		GVirConnection* _tmp1_;
		GVirDomain* _tmp2_;
		BoxesLibvirtMachine* _tmp3_ = NULL;
		BoxesLibvirtMachine* _tmp4_;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = source;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp1_ = connection;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = domain;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = boxes_app_add_domain (self, _tmp0_, _tmp1_, _tmp2_, &_inner_error_);
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = _tmp3_;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_tmp4_);
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 1650 "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 191 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_error_ = _inner_error_;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_inner_error_ = NULL;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = source;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp6_ = boxes_collection_source_get_name (_tmp5_);
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = _tmp6_;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = _tmp7_;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = _error_;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = _tmp9_->message;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:194: Failed to create source '%s': %s", _tmp8_, _tmp10_);
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp8_);
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_error_);
#line 1686 "app.c"
	}
	__finally0:
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 191 "/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 191 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_inner_error_);
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 1697 "app.c"
	}
}


static void boxes_app_try_add_existing_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain) {
	GError * _inner_error_ = NULL;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (source != NULL);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (connection != NULL);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (domain != NULL);
#line 1712 "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 201 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = source;
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp1_ = connection;
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = domain;
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = boxes_app_add_domain (self, _tmp0_, _tmp1_, _tmp2_, &_inner_error_);
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		machine = _tmp3_;
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 1738 "app.c"
			goto __catch1_g_error;
		}
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = machine->domain_config;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _g_object_ref0 (_tmp4_);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		config = _tmp5_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = config;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = boxes_vm_configurator_is_install_config (_tmp7_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_tmp8_) {
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp6_ = TRUE;
#line 1755 "app.c"
		} else {
			GVirConfigDomain* _tmp9_;
			gboolean _tmp10_ = FALSE;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp9_ = config;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp10_ = boxes_vm_configurator_is_live_config (_tmp9_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp6_ = _tmp10_;
#line 1765 "app.c"
		}
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = _tmp6_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_tmp11_) {
#line 1771 "app.c"
			const gchar* _tmp12_;
			const gchar* _tmp13_;
			BoxesVMCreator* _tmp14_;
			BoxesVMCreator* _tmp15_;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp12_ = boxes_collection_item_get_name ((BoxesCollectionItem*) machine);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp13_ = _tmp12_;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_debug ("app.vala:205: Continuing installation/live session for '%s', ..", _tmp13_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp14_ = boxes_vm_creator_new_for_install_completion (machine);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp15_ = _tmp14_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_boxes_vm_creator_unref0 (_tmp15_);
#line 1788 "app.c"
		}
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (config);
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (machine);
#line 1794 "app.c"
	}
	goto __finally1;
	__catch1_g_error:
	{
		GError* _error_ = NULL;
		BoxesCollectionSource* _tmp16_;
		gchar* _tmp17_;
		gchar* _tmp18_;
		gchar* _tmp19_;
		GError* _tmp20_;
		const gchar* _tmp21_;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_error_ = _inner_error_;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_inner_error_ = NULL;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp16_ = source;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp17_ = boxes_collection_source_get_name (_tmp16_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp18_ = _tmp17_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp19_ = _tmp18_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp20_ = _error_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp21_ = _tmp20_->message;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:209: Failed to create source '%s': %s", _tmp19_, _tmp21_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp19_);
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_error_);
#line 1828 "app.c"
	}
	__finally1:
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 200 "/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 200 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_inner_error_);
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 1839 "app.c"
	}
}


void boxes_app_delete_machine (BoxesApp* self, BoxesMachine* machine, gboolean by_user) {
	BoxesMachine* _tmp0_;
	gboolean _tmp1_;
	BoxesCollection* _tmp2_;
	BoxesMachine* _tmp3_;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (machine != NULL);
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = machine;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = by_user;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_machine_delete (_tmp0_, _tmp1_);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->collection;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = machine;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_collection_remove_item (_tmp2_, (BoxesCollectionItem*) _tmp3_);
#line 1865 "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_->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 (BoxesAppSetupLibvirtData, _data_);
#line 1878 "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"
	_data_->source = _tmp2_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_setup_libvirt_co (_data_);
#line 1905 "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 1913 "app.c"
}


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


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


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


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


static void __lambda113_ (BoxesApp* self, GVirConnection* connection, GVirDomain* domain) {
	GVirDomain* _tmp0_;
	gconstpointer _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_;
	BoxesLibvirtMachine* machine;
	BoxesLibvirtMachine* _tmp3_;
	BoxesLibvirtMachine* _tmp4_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (connection != NULL);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (domain != NULL);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = domain;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = g_object_get_data ((GObject*) _tmp0_, "machine");
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _g_object_ref0 ((BoxesLibvirtMachine*) _tmp1_);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	machine = _tmp2_;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = machine;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp3_ == NULL) {
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (machine);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 1996 "app.c"
	}
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = machine;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_delete_machine (self, (BoxesMachine*) _tmp4_, FALSE);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (machine);
#line 2004 "app.c"
}


static void ___lambda113__gvir_connection_domain_removed (GVirConnection* _sender, GVirDomain* dom, gpointer self) {
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda113_ (self, _sender, dom);
#line 2011 "app.c"
}


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


static void ___lambda114__gvir_connection_domain_added (GVirConnection* _sender, GVirDomain* dom, gpointer self) {
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda114_ (self, _sender, dom);
#line 2049 "app.c"
}


static gboolean boxes_app_setup_libvirt_co (BoxesAppSetupLibvirtData* _data_) {
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (_data_->_state_) {
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 0:
#line 2058 "app.c"
		goto _state_0;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 1:
#line 2062 "app.c"
		goto _state_1;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 2:
#line 2066 "app.c"
		goto _state_2;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 3:
#line 2070 "app.c"
		goto _state_3;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 4:
#line 2074 "app.c"
		goto _state_4;
		default:
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_assert_not_reached ();
#line 2079 "app.c"
	}
	_state_0:
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_ = g_slice_new0 (Block1Data);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_->_ref_count_ = 1;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_->self = g_object_ref (_data_->self);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp0_ = _data_->source;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp1_ = _g_object_ref0 (_data_->_tmp0_);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_->source = _data_->_tmp1_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_->_async_data_ = _data_;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp2_ = _data_->self->priv->connections;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp3_ = _data_->_data1_->source;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp4_ = boxes_collection_source_get_name (_data_->_tmp3_);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp7_ = NULL;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp7_ = g_hash_table_lookup (_data_->_tmp2_, _data_->_tmp6_);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp8_ = ((GVirConnection*) _data_->_tmp7_) != NULL;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp6_);
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_tmp8_) {
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		block1_data_unref (_data_->_data1_);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_data1_ = NULL;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_state_ == 0) {
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2124 "app.c"
		} else {
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2128 "app.c"
		}
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_object_unref (_data_->_async_result);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2134 "app.c"
	}
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp9_ = _data_->_data1_->source;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp10_ = boxes_collection_source_get_uri (_data_->_tmp9_);
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp13_ = gvir_connection_new (_data_->_tmp12_);
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp12_);
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->connection = _data_->_tmp14_;
#line 2152 "app.c"
	{
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp15_ = _data_->connection;
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 1;
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_open_async (_data_->_tmp15_, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2162 "app.c"
		_state_1:
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_open_finish (_data_->_tmp15_, _data_->_res_, &_data_->_inner_error_);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2168 "app.c"
			goto __catch2_g_error;
		}
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp16_ = _data_->connection;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 2;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_fetch_domains_async (_data_->_tmp16_, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2179 "app.c"
		_state_2:
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_fetch_domains_finish (_data_->_tmp16_, _data_->_res_, &_data_->_inner_error_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2185 "app.c"
			goto __catch2_g_error;
		}
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp17_ = _data_->connection;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 3;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_fetch_storage_pools_async (_data_->_tmp17_, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2196 "app.c"
		_state_3:
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gvir_connection_fetch_storage_pools_finish (_data_->_tmp17_, _data_->_res_, &_data_->_inner_error_);
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2202 "app.c"
			goto __catch2_g_error;
		}
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp18_ = _data_->connection;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp19_ = NULL;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp19_ = gvir_connection_find_storage_pool_by_name (_data_->_tmp18_, PACKAGE_TARNAME);
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->pool = _data_->_tmp19_;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp20_ = _data_->pool;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_tmp20_ != NULL) {
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp21_ = _data_->pool;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_state_ = 4;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			gvir_storage_pool_refresh_async (_data_->_tmp21_, NULL, boxes_app_setup_libvirt_ready, _data_);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			return FALSE;
#line 2225 "app.c"
			_state_4:
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			gvir_storage_pool_refresh_finish (_data_->_tmp21_, _data_->_res_, &_data_->_inner_error_);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_data_->_inner_error_ != NULL) {
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (_data_->pool);
#line 2233 "app.c"
				goto __catch2_g_error;
			}
		}
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->pool);
#line 2239 "app.c"
	}
	goto __finally2;
	__catch2_g_error:
	{
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_inner_error_ = NULL;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp22_ = _data_->_error_;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp23_ = _data_->_tmp22_->message;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:233: %s", _data_->_tmp23_);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_data_->_error_);
#line 2256 "app.c"
	}
	__finally2:
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->connection);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		block1_data_unref (_data_->_data1_);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_data1_ = NULL;
#line 224 "/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 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2273 "app.c"
	}
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp24_ = _data_->self->priv->connections;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp25_ = _data_->_data1_->source;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp26_ = boxes_collection_source_get_name (_data_->_tmp25_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp27_ = _data_->_tmp26_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp28_ = _data_->connection;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp29_ = _g_object_ref0 (_data_->_tmp28_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_hash_table_insert (_data_->_tmp24_, _data_->_tmp27_, _data_->_tmp29_);
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp30_ = _data_->self->priv->sources;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp31_ = _data_->_data1_->source;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp32_ = boxes_collection_source_get_name (_data_->_tmp31_);
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp33_ = _data_->_tmp32_;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp34_ = _data_->_data1_->source;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp35_ = _g_object_ref0 (_data_->_tmp34_);
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_hash_table_insert (_data_->_tmp30_, _data_->_tmp33_, _data_->_tmp35_);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp36_ = _data_->_data1_->source;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp37_ = boxes_collection_source_get_name (_data_->_tmp36_);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp38_ = _data_->_tmp37_;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp39_ = _data_->_tmp38_;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp40_ = g_strcmp0 (_data_->_tmp39_, "QEMU Session") == 0;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp39_);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_tmp40_) {
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_object_notify ((GObject*) _data_->self, "default-connection");
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_object_notify ((GObject*) _data_->self, "default-source");
#line 2321 "app.c"
	}
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp41_ = _data_->connection;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp42_ = NULL;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp42_ = gvir_connection_get_domains (_data_->_tmp41_);
#line 2329 "app.c"
	{
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->domain_collection = _data_->_tmp42_;
#line 243 "/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 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp43_ = _g_object_ref0 ((GVirDomain*) _data_->domain_it->data);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->domain = _data_->_tmp43_;
#line 2339 "app.c"
			{
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp44_ = _data_->_data1_->source;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp45_ = _data_->connection;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp46_ = _data_->domain;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_try_add_existing_domain (_data_->self, _data_->_tmp44_, _data_->_tmp45_, _data_->_tmp46_);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (_data_->domain);
#line 2351 "app.c"
			}
		}
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		__g_list_free__g_object_unref0_0 (_data_->domain_collection);
#line 2356 "app.c"
	}
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp47_ = _data_->connection;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object (_data_->_tmp47_, "domain-removed", (GCallback) ___lambda113__gvir_connection_domain_removed, _data_->self, 0);
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp48_ = _data_->connection;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_data (_data_->_tmp48_, "domain-added", (GCallback) ___lambda114__gvir_connection_domain_added, block1_data_ref (_data_->_data1_), (GClosureNotify) block1_data_unref, 0);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->connection);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	block1_data_unref (_data_->_data1_);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_data1_ = NULL;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_state_ == 0) {
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2376 "app.c"
	} else {
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2380 "app.c"
	}
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_unref (_data_->_async_result);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return FALSE;
#line 2386 "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 2399 "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"
	_data_->source = _tmp2_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_add_collection_source_co (_data_);
#line 2426 "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 2434 "app.c"
}


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


static gboolean boxes_app_add_collection_source_co (BoxesAppAddCollectionSourceData* _data_) {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	static GQuark _tmp7_label0 = 0;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	static GQuark _tmp7_label1 = 0;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	static GQuark _tmp7_label2 = 0;
#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 2463 "app.c"
		goto _state_0;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 1:
#line 2467 "app.c"
		goto _state_1;
		default:
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_assert_not_reached ();
#line 2472 "app.c"
	}
	_state_0:
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp0_ = _data_->source;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp1_ = boxes_collection_source_get_enabled (_data_->_tmp0_);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (!_data_->_tmp2_) {
#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 2487 "app.c"
		} else {
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2491 "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 2497 "app.c"
	}
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp3_ = _data_->source;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp4_ = boxes_collection_source_get_source_type (_data_->_tmp3_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp8_ = 0U;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp8_ = (NULL == _data_->_tmp6_) ? 0 : g_quark_from_string (_data_->_tmp6_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_free (_data_->_tmp6_);
#line 264 "/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 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		switch (0) {
#line 2517 "app.c"
			default:
			{
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp9_ = _data_->source;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_state_ = 1;
#line 266 "/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 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				return FALSE;
#line 2528 "app.c"
				_state_1:
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_setup_libvirt_finish (_data_->self, _data_->_res_);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				break;
#line 2534 "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 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		switch (0) {
#line 2540 "app.c"
			default:
			{
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp10_ = _data_->source;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp11_ = boxes_remote_machine_new (_data_->_tmp10_);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->machine = _data_->_tmp11_;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp12_ = _data_->self->collection;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp13_ = _data_->machine;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_collection_add_item (_data_->_tmp12_, (BoxesCollectionItem*) _data_->_tmp13_);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (_data_->machine);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				break;
#line 2559 "app.c"
			}
		}
	} else {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		switch (0) {
#line 2565 "app.c"
			default:
			{
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp14_ = _data_->source;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp15_ = boxes_collection_source_get_source_type (_data_->_tmp14_);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp16_ = _data_->_tmp15_;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->_tmp17_ = _data_->_tmp16_;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				g_warning ("app.vala:276: Unsupported source type %s", _data_->_tmp17_);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_free0 (_data_->_tmp17_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				break;
#line 2582 "app.c"
			}
		}
	}
#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 2590 "app.c"
	} else {
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2594 "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 2600 "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 2611 "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 2630 "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 2638 "app.c"
}


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


static gboolean boxes_app_setup_sources_co (BoxesAppSetupSourcesData* _data_) {
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (_data_->_state_) {
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 0:
#line 2661 "app.c"
		goto _state_0;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 1:
#line 2665 "app.c"
		goto _state_1;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 2:
#line 2669 "app.c"
		goto _state_2;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 3:
#line 2673 "app.c"
		goto _state_3;
		default:
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_assert_not_reached ();
#line 2678 "app.c"
	}
	_state_0:
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp0_ = FALSE;
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp0_ = boxes_has_user_pkgconfig_sources ();
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (!_data_->_tmp0_) {
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp1_ = NULL;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp1_ = boxes_get_pkgdata_source ("QEMU_Session");
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp2_ = _data_->_tmp1_;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp3_ = NULL;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp3_ = g_file_new_for_path (_data_->_tmp2_);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_data_->_tmp2_);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->src = _data_->_tmp4_;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp5_ = NULL;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp5_ = boxes_get_user_pkgconfig_source ("QEMU Session");
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp7_ = NULL;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp7_ = g_file_new_for_path (_data_->_tmp6_);
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp8_ = _data_->_tmp7_;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_data_->_tmp6_);
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->dst = _data_->_tmp8_;
#line 2719 "app.c"
		{
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp9_ = _data_->src;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp10_ = _data_->dst;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_state_ = 1;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_file_copy_async (_data_->_tmp9_, _data_->_tmp10_, G_FILE_COPY_NONE, G_PRIORITY_DEFAULT, NULL, NULL, NULL, boxes_app_setup_sources_ready, _data_);
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			return FALSE;
#line 2731 "app.c"
			_state_1:
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_file_copy_finish (_data_->_tmp9_, _data_->_res_, &_data_->_inner_error_);
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_data_->_inner_error_ != NULL) {
#line 2737 "app.c"
				goto __catch3_g_error;
			}
		}
		goto __finally3;
		__catch3_g_error:
		{
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_error_ = _data_->_inner_error_;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_inner_error_ = NULL;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp11_ = _data_->_error_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp12_ = _data_->_tmp11_->message;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_critical ("app.vala:289: Can't setup default sources: %s", _data_->_tmp12_);
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_error_free0 (_data_->_error_);
#line 2756 "app.c"
		}
		__finally3:
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (_data_->dst);
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (_data_->src);
#line 286 "/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 286 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_clear_error (&_data_->_inner_error_);
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			return FALSE;
#line 2771 "app.c"
		}
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->dst);
#line 283 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->src);
#line 2777 "app.c"
	}
	{
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp13_ = boxes_collection_source_new_with_file ("QEMU Session", &_data_->_inner_error_);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->source = _data_->_tmp13_;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2786 "app.c"
			goto __catch4_g_error;
		}
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 2;
#line 295 "/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 295 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2795 "app.c"
		_state_2:
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_add_collection_source_finish (_data_->self, _data_->_res_);
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->source);
#line 2801 "app.c"
	}
	goto __finally4;
	__catch4_g_error:
	{
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_inner_error_ = NULL;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp14_ = _data_->_vala1__error_;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp15_ = _data_->_tmp14_->message;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:297: %s", _data_->_tmp15_);
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 2818 "app.c"
	}
	__finally4:
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 293 "/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 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2829 "app.c"
	}
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp16_ = boxes_app_get_default_connection (_data_->self);
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_tmp17_ == NULL) {
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_printerr ("error: missing or failing default libvirt connection");
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp18_ = _data_->self->priv->application;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_application_release ((GApplication*) _data_->_tmp18_);
#line 2843 "app.c"
	}
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp19_ = NULL;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp19_ = boxes_get_user_pkgconfig_source (NULL);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp21_ = NULL;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp21_ = g_file_new_for_path (_data_->_tmp20_);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_tmp22_ = _data_->_tmp21_;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_data_->_tmp20_);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->dir = _data_->_tmp22_;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_state_ = 3;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_get_sources_from_dir (_data_->self, _data_->dir, boxes_app_setup_sources_ready, _data_);
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return FALSE;
#line 2867 "app.c"
	_state_3:
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_get_sources_from_dir_finish (_data_->self, _data_->_res_);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->dir);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_state_ == 0) {
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2877 "app.c"
	} else {
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2881 "app.c"
	}
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_unref (_data_->_async_result);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return FALSE;
#line 2887 "app.c"
}


static void boxes_app_get_sources_from_dir_data_free (gpointer _data) {
	BoxesAppGetSourcesFromDirData* _data_;
	_data_ = _data;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (_data_->dir);
#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 (BoxesAppGetSourcesFromDirData, _data_);
#line 2900 "app.c"
}


static void boxes_app_get_sources_from_dir (BoxesApp* self, GFile* dir, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesAppGetSourcesFromDirData* _data_;
	BoxesApp* _tmp0_;
	GFile* _tmp1_;
	GFile* _tmp2_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = g_slice_new0 (BoxesAppGetSourcesFromDirData);
#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_get_sources_from_dir);
#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_get_sources_from_dir_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_ = dir;
#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"
	_data_->dir = _tmp2_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_get_sources_from_dir_co (_data_);
#line 2927 "app.c"
}


static void boxes_app_get_sources_from_dir_finish (BoxesApp* self, GAsyncResult* _res_) {
	BoxesAppGetSourcesFromDirData* _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 2935 "app.c"
}


static void boxes_app_get_sources_from_dir_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesAppGetSourcesFromDirData* _data_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_ = _user_data_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_source_object_ = source_object;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data_->_res_ = _res_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_get_sources_from_dir_co (_data_);
#line 2949 "app.c"
}


static gboolean boxes_app_get_sources_from_dir_co (BoxesAppGetSourcesFromDirData* _data_) {
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (_data_->_state_) {
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 0:
#line 2958 "app.c"
		goto _state_0;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 1:
#line 2962 "app.c"
		goto _state_1;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case 2:
#line 2966 "app.c"
		goto _state_2;
		default:
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_assert_not_reached ();
#line 2971 "app.c"
	}
	_state_0:
	{
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp0_ = _data_->dir;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_state_ = 1;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_file_enumerate_children_async (_data_->_tmp0_, G_FILE_ATTRIBUTE_STANDARD_NAME, 0, G_PRIORITY_DEFAULT, NULL, boxes_app_get_sources_from_dir_ready, _data_);
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 2983 "app.c"
		_state_1:
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp1_ = NULL;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp1_ = g_file_enumerate_children_finish (_data_->_tmp0_, _data_->_res_, &_data_->_inner_error_);
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->enumerator = _data_->_tmp1_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2993 "app.c"
			goto __catch5_g_error;
		}
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		while (TRUE) {
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp2_ = _data_->enumerator;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_state_ = 2;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_file_enumerator_next_files_async (_data_->_tmp2_, 10, G_PRIORITY_DEFAULT, NULL, boxes_app_get_sources_from_dir_ready, _data_);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			return FALSE;
#line 3006 "app.c"
			_state_2:
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp3_ = NULL;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp3_ = g_file_enumerator_next_files_finish (_data_->_tmp2_, _data_->_res_, &_data_->_inner_error_);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->files = _data_->_tmp3_;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_data_->_inner_error_ != NULL) {
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (_data_->enumerator);
#line 3018 "app.c"
				goto __catch5_g_error;
			}
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp4_ = _data_->files;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_data_->_tmp4_ == NULL) {
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				__g_list_free__g_object_unref0_0 (_data_->files);
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				break;
#line 3029 "app.c"
			}
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_data_->_tmp5_ = _data_->files;
#line 3033 "app.c"
			{
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_data_->file_collection = _data_->_tmp5_;
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				for (_data_->file_it = _data_->file_collection; _data_->file_it != NULL; _data_->file_it = _data_->file_it->next) {
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->_tmp6_ = _g_object_ref0 ((GFileInfo*) _data_->file_it->data);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_data_->file = _data_->_tmp6_;
#line 3043 "app.c"
					{
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_data_->_tmp7_ = _data_->file;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_data_->_tmp8_ = NULL;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_data_->_tmp8_ = g_file_info_get_name (_data_->_tmp7_);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_data_->_tmp9_ = boxes_collection_source_new_with_file (_data_->_tmp8_, &_data_->_inner_error_);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_data_->source = _data_->_tmp9_;
#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"
							_g_object_unref0 (_data_->file);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
							__g_list_free__g_object_unref0_0 (_data_->files);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
							_g_object_unref0 (_data_->enumerator);
#line 3063 "app.c"
							goto __catch5_g_error;
						}
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_data_->_tmp10_ = _data_->source;
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						boxes_app_add_collection_source (_data_->self, _data_->_tmp10_, NULL, NULL);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_g_object_unref0 (_data_->source);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_g_object_unref0 (_data_->file);
#line 3074 "app.c"
					}
				}
			}
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			__g_list_free__g_object_unref0_0 (_data_->files);
#line 3080 "app.c"
		}
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (_data_->enumerator);
#line 3084 "app.c"
	}
	goto __finally5;
	__catch5_g_error:
	{
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_inner_error_ = NULL;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp11_ = _data_->_error_;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data_->_tmp12_ = _data_->_tmp11_->message;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_warning ("app.vala:322: %s", _data_->_tmp12_);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (_data_->_error_);
#line 3101 "app.c"
	}
	__finally5:
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 309 "/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 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return FALSE;
#line 3112 "app.c"
	}
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_data_->_state_ == 0) {
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3118 "app.c"
	} else {
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3122 "app.c"
	}
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_unref (_data_->_async_result);
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return FALSE;
#line 3128 "app.c"
}


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


static GVariant* _variant_new2 (gint* value, gint value_length1) {
	gint* _tmp22_;
	GVariantBuilder _tmp23_;
	int _tmp24_;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_ = value;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_variant_builder_init (&_tmp23_, G_VARIANT_TYPE ("ai"));
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	for (_tmp24_ = 0; _tmp24_ < value_length1; _tmp24_++) {
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_variant_builder_add_value (&_tmp23_, g_variant_new_int32 (*_tmp22_));
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp22_++;
#line 3168 "app.c"
	}
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return g_variant_ref_sink (g_variant_builder_end (&_tmp23_));
#line 3172 "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 326 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = boxes_app_get_maximized (self);
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_;
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp1_) {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 3213 "app.c"
	}
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->window;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_window_get_size ((GtkWindow*) _tmp2_, &_tmp3_, &_tmp4_);
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	width = _tmp3_;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	height = _tmp4_;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = self->settings;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = width;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = height;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = g_new0 (gint, 2);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_[0] = _tmp6_;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_[1] = _tmp7_;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = _tmp8_;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9__length1 = 2;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = _variant_new1 (_tmp9_, 2);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_settings_set_value (_tmp5_, "window-size", _tmp13_);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp9_ = (g_free (_tmp9_), NULL);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = self->window;
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_window_get_position ((GtkWindow*) _tmp14_, &_tmp15_, &_tmp16_);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	x = _tmp15_;
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	y = _tmp16_;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = self->settings;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = x;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp19_ = y;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_ = g_new0 (gint, 2);
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_[0] = _tmp18_;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_[1] = _tmp19_;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = _tmp20_;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21__length1 = 2;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = _variant_new2 (_tmp21_, 2);
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_settings_set_value (_tmp17_, "window-position", _tmp25_);
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = (g_free (_tmp21_), NULL);
#line 3275 "app.c"
}


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


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


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


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


static gboolean __lambda128_ (BoxesApp* self) {
	gboolean result = FALSE;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->configure_id = (guint) 0;
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_save_window_geometry (self);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3317 "app.c"
}


static gboolean ___lambda128__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda128_ (self);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3326 "app.c"
}


static gboolean __lambda127_ (BoxesApp* self) {
	gboolean result = FALSE;
	gboolean _tmp0_;
	gboolean _tmp1_;
	guint _tmp2_;
	guint _tmp4_ = 0U;
#line 365 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = boxes_app_get_fullscreen (self);
#line 365 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_;
#line 365 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp1_) {
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		result = FALSE;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return result;
#line 3346 "app.c"
	}
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->priv->configure_id;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp2_ != ((guint) 0)) {
#line 3352 "app.c"
		guint _tmp3_;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = self->priv->configure_id;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_source_remove (_tmp3_);
#line 3358 "app.c"
	}
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = g_timeout_add_full (G_PRIORITY_DEFAULT, BOXES_APP_configure_id_timeout, ___lambda128__gsource_func, g_object_ref (self), g_object_unref);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->configure_id = _tmp4_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3368 "app.c"
}


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


static gboolean __lambda129_ (BoxesApp* self) {
	gboolean result = FALSE;
	gboolean _tmp0_;
	gboolean _tmp1_;
	GSettings* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = boxes_app_get_fullscreen (self);
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp1_) {
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		result = FALSE;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return result;
#line 3398 "app.c"
	}
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->settings;
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = boxes_app_get_maximized (self);
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _tmp3_;
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_settings_set_boolean (_tmp2_, "window-maximized", _tmp4_);
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3412 "app.c"
}


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


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


static gboolean ___lambda130__gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
	gboolean result;
	result = __lambda130_ (self);
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3443 "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 402 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 3452 "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_;
	GtkClutterEmbed* _tmp48_;
	GtkNotebook* _tmp49_;
	GtkClutterEmbed* _tmp50_;
	BoxesDisplayPage* _tmp51_;
	GtkNotebook* _tmp52_;
	BoxesDisplayPage* _tmp53_;
	GtkWidget* _tmp54_;
	GtkWidget* _tmp55_;
	GtkClutterEmbed* _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_;
	ClutterBinLayout* _tmp77_;
	GtkClutterTexture* _tmp78_;
	BoxesSidebar* _tmp79_;
	BoxesCollectionView* _tmp80_;
	BoxesTopbar* _tmp81_;
	BoxesNotificationbar* _tmp82_;
	BoxesSelectionbar* _tmp83_;
	BoxesWizard* _tmp84_;
	BoxesProperties* _tmp85_;
	ClutterActor* _tmp86_;
	ClutterActor* vbox_actor;
	ClutterBoxLayout* _tmp87_;
	ClutterBoxLayout* vbox;
	ClutterBinLayout* _tmp88_;
	BoxesRevealer* _tmp89_;
	BoxesRevealer* _tmp90_;
	BoxesRevealer* _tmp91_;
	BoxesRevealer* _tmp92_;
	BoxesTopbar* _tmp93_;
	ClutterActor* _tmp94_;
	ClutterActor* _tmp95_;
	ClutterActor* _tmp96_;
	ClutterActor* below_bin_actor;
	ClutterBinLayout* _tmp97_;
	ClutterBinLayout* below_bin;
	BoxesCollectionView* _tmp98_;
	ClutterActor* _tmp99_;
	ClutterActor* _tmp100_;
	ClutterActor* _tmp101_;
	ClutterActor* hbox_actor;
	ClutterBoxLayout* _tmp102_;
	ClutterBoxLayout* hbox;
	ClutterActor* _tmp103_;
	ClutterActor* _tmp104_;
	ClutterBinLayout* _tmp105_;
	ClutterActor* _tmp106_;
	ClutterBinLayout* _tmp107_;
	ClutterActor* _tmp108_;
	BoxesRevealer* _tmp109_;
	BoxesRevealer* _tmp110_;
	BoxesRevealer* _tmp111_;
	BoxesRevealer* _tmp112_;
	BoxesRevealer* _tmp113_;
	BoxesSidebar* _tmp114_;
	ClutterActor* _tmp115_;
	ClutterActor* _tmp116_;
	ClutterActor* _tmp117_;
	ClutterActor* content_bin_actor;
	ClutterBinLayout* _tmp118_;
	ClutterBinLayout* content_bin;
	BoxesNotificationbar* _tmp119_;
	ClutterActor* _tmp120_;
	ClutterActor* _tmp121_;
	BoxesSelectionbar* _tmp122_;
	ClutterActor* _tmp123_;
	ClutterActor* _tmp124_;
	BoxesWizard* _tmp125_;
	ClutterActor* _tmp126_;
	ClutterActor* _tmp127_;
	BoxesProperties* _tmp128_;
	ClutterActor* _tmp129_;
	ClutterActor* _tmp130_;
	BoxesProperties* _tmp131_;
	ClutterActor* _tmp132_;
	ClutterActor* _tmp133_;
	BoxesSelectionbar* _tmp134_;
	ClutterActor* _tmp135_;
	ClutterActor* _tmp136_;
	GtkNotebook* _tmp137_;
	GError * _inner_error_ = NULL;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->application;
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = (GtkApplicationWindow*) gtk_application_window_new (_tmp0_);
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp1_);
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->window);
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->window = _tmp1_;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->window;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_application_window_set_show_menubar (_tmp2_, FALSE);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = self->window;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_window_set_hide_titlebar_when_maximized ((GtkWindow*) _tmp3_, TRUE);
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = self->settings;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = g_settings_get_value (_tmp4_, "window-size");
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	size = _tmp5_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = size;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = g_variant_n_children (_tmp6_);
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp7_ == ((gsize) 2)) {
#line 3606 "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 347 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = size;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = g_variant_get_child_value (_tmp8_, (gsize) 0);
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = _tmp9_;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = _variant_get3 (_tmp10_);
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp12_ = _tmp11_;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (_tmp10_);
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		width = _tmp12_;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp13_ = size;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp14_ = g_variant_get_child_value (_tmp13_, (gsize) 1);
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp15_ = _tmp14_;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp16_ = _variant_get4 (_tmp15_);
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp17_ = _tmp16_;
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (_tmp15_);
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		height = _tmp17_;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp18_ = self->window;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp19_ = width;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp20_ = height;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_set_default_size ((GtkWindow*) _tmp18_, _tmp19_, _tmp20_);
#line 3658 "app.c"
	}
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = self->settings;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_ = g_settings_get_boolean (_tmp21_, "window-maximized");
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp22_) {
#line 3666 "app.c"
		GtkApplicationWindow* _tmp23_;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp23_ = self->window;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_maximize ((GtkWindow*) _tmp23_);
#line 3672 "app.c"
	}
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp24_ = self->settings;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = g_settings_get_value (_tmp24_, "window-position");
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	position = _tmp25_;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26_ = position;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp27_ = g_variant_n_children (_tmp26_);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp27_ == ((gsize) 2)) {
#line 3686 "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 358 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp28_ = position;
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp29_ = g_variant_get_child_value (_tmp28_, (gsize) 0);
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp30_ = _tmp29_;
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp31_ = _variant_get5 (_tmp30_);
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp32_ = _tmp31_;
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (_tmp30_);
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		x = _tmp32_;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp33_ = position;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp34_ = g_variant_get_child_value (_tmp33_, (gsize) 1);
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp35_ = _tmp34_;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp36_ = _variant_get6 (_tmp35_);
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp37_ = _tmp36_;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (_tmp35_);
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		y = _tmp37_;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp38_ = self->window;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp39_ = x;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp40_ = y;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_move ((GtkWindow*) _tmp38_, _tmp39_, _tmp40_);
#line 3738 "app.c"
	}
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp41_ = self->window;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GtkWidget*) _tmp41_, "configure-event", (GCallback) ___lambda127__gtk_widget_configure_event, self, 0);
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp42_ = self->window;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GtkWidget*) _tmp42_, "window-state-event", (GCallback) ___lambda129__gtk_widget_window_state_event, self, 0);
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp43_ = (GtkNotebook*) gtk_notebook_new ();
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp43_);
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->notebook);
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->notebook = _tmp43_;
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp44_ = self->notebook;
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_notebook_set_show_border (_tmp44_, FALSE);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp45_ = self->notebook;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_notebook_set_show_tabs (_tmp45_, FALSE);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp46_ = self->window;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp47_ = self->notebook;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_container_add ((GtkContainer*) _tmp46_, (GtkWidget*) _tmp47_);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp48_ = (GtkClutterEmbed*) gtk_clutter_embed_new ();
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp48_);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->embed);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->embed = _tmp48_;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp49_ = self->notebook;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp50_ = self->embed;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_notebook_append_page (_tmp49_, (GtkWidget*) _tmp50_, NULL);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp51_ = boxes_display_page_new ();
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->display_page);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->display_page = _tmp51_;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp52_ = self->notebook;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp53_ = self->display_page;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp54_ = boxes_display_page_get_widget (_tmp53_);
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp55_ = _tmp54_;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_notebook_append_page (_tmp52_, _tmp55_, NULL);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp56_ = self->embed;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp57_ = gtk_clutter_embed_get_stage (_tmp56_);
#line 397 "/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 397 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->stage);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->stage = _tmp58_;
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp59_ = self->stage;
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_get_boxes_bg_color (&_tmp60_);
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_gdk_rgba_to_clutter_color (&_tmp60_, &_tmp61_);
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_background_color ((ClutterActor*) _tmp59_, &_tmp61_);
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp62_ = self->window;
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_signal_connect_object ((GtkWidget*) _tmp62_, "delete-event", (GCallback) ___lambda130__gtk_widget_delete_event, self, 0);
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp63_ = self->window;
#line 402 "/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, 0);
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp64_ = (ClutterBinLayout*) clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FIXED, CLUTTER_BIN_ALIGNMENT_FIXED);
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp64_);
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->stage_bin);
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->stage_bin = _tmp64_;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp65_ = self->stage;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp66_ = self->stage_bin;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager ((ClutterActor*) _tmp65_, (ClutterLayoutManager*) _tmp66_);
#line 407 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp67_ = self->stage;
#line 407 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp67_, "boxes-stage");
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp68_ = (GtkClutterTexture*) gtk_clutter_texture_new ();
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp68_);
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	background = _tmp68_;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp69_ = background;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp69_, "background");
#line 3854 "app.c"
	{
		gchar* _tmp70_ = NULL;
		gchar* _tmp71_;
		GdkPixbuf* _tmp72_;
		GdkPixbuf* _tmp73_;
		GdkPixbuf* pixbuf;
		GtkClutterTexture* _tmp74_;
		GdkPixbuf* _tmp75_;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp70_ = boxes_get_style ("assets/boxes-dark.png");
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp71_ = _tmp70_;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp72_ = gdk_pixbuf_new_from_file (_tmp71_, &_inner_error_);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp73_ = _tmp72_;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp71_);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		pixbuf = _tmp73_;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 3877 "app.c"
			goto __catch6_g_error;
		}
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp74_ = background;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp75_ = pixbuf;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_clutter_texture_set_from_pixbuf (_tmp74_, _tmp75_, &_inner_error_);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_inner_error_ != NULL) {
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (pixbuf);
#line 3890 "app.c"
			goto __catch6_g_error;
		}
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (pixbuf);
#line 3895 "app.c"
	}
	goto __finally6;
	__catch6_g_error:
	{
		GError* e = NULL;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		e = _inner_error_;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_inner_error_ = NULL;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_error_free0 (e);
#line 3907 "app.c"
	}
	__finally6:
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_inner_error_ != NULL) {
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (background);
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (position);
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_variant_unref0 (size);
#line 411 "/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 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_clear_error (&_inner_error_);
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 3924 "app.c"
	}
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp76_ = background;
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_texture_set_repeat ((ClutterTexture*) _tmp76_, TRUE, TRUE);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp77_ = self->stage_bin;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp78_ = background;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_bin_layout_add (_tmp77_, (ClutterActor*) _tmp78_, CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp79_ = boxes_sidebar_new ();
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->sidebar);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->sidebar = _tmp79_;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp80_ = boxes_collection_view_new ();
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->view);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->priv->view = _tmp80_;
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp81_ = boxes_topbar_new ();
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->topbar);
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->topbar = _tmp81_;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp82_ = boxes_notificationbar_new ();
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->notificationbar);
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->notificationbar = _tmp82_;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp83_ = boxes_selectionbar_new ();
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->selectionbar);
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->selectionbar = _tmp83_;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp84_ = boxes_wizard_new ();
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->wizard);
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->wizard = _tmp84_;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp85_ = boxes_properties_new ();
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->properties);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->properties = _tmp85_;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp86_ = clutter_actor_new ();
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp86_);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	vbox_actor = _tmp86_;
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (vbox_actor, "top-vbox");
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp87_ = (ClutterBoxLayout*) clutter_box_layout_new ();
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp87_);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	vbox = _tmp87_;
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (vbox_actor, (ClutterLayoutManager*) vbox);
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_set_vertical (vbox, TRUE);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp88_ = self->stage_bin;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_bin_layout_add (_tmp88_, vbox_actor, CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp89_ = boxes_revealer_new (TRUE);
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp89_);
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->topbar_revealer);
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->topbar_revealer = _tmp89_;
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp90_ = self->topbar_revealer;
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp90_, "topbar-revealer");
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp91_ = self->topbar_revealer;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_pack (vbox, (ClutterActor*) _tmp91_, FALSE, TRUE, TRUE, CLUTTER_BOX_ALIGNMENT_START, CLUTTER_BOX_ALIGNMENT_START);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp92_ = self->topbar_revealer;
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp93_ = self->topbar;
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp94_ = boxes_ui_get_actor ((BoxesUI*) _tmp93_);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp95_ = _tmp94_;
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) _tmp92_, _tmp95_, NULL);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp96_ = clutter_actor_new ();
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp96_);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	below_bin_actor = _tmp96_;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (below_bin_actor, "below-bin");
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp97_ = (ClutterBinLayout*) clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FIXED, CLUTTER_BIN_ALIGNMENT_FIXED);
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp97_);
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	below_bin = _tmp97_;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (below_bin_actor, (ClutterLayoutManager*) below_bin);
#line 450 "/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 452 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp98_ = self->priv->view;
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp99_ = boxes_ui_get_actor ((BoxesUI*) _tmp98_);
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp100_ = _tmp99_;
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_bin_layout_add (below_bin, _tmp100_, CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp101_ = clutter_actor_new ();
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp101_);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	hbox_actor = _tmp101_;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (hbox_actor, "top-hbox");
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp102_ = (ClutterBoxLayout*) clutter_box_layout_new ();
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp102_);
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	hbox = _tmp102_;
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (hbox_actor, (ClutterLayoutManager*) hbox);
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_bin_layout_add (below_bin, hbox_actor, CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp103_ = clutter_actor_new ();
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp103_);
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->overlay_bin_actor);
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->overlay_bin_actor = _tmp103_;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp104_ = self->overlay_bin_actor;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (_tmp104_, "overlay-bin");
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp105_ = (ClutterBinLayout*) clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FIXED, CLUTTER_BIN_ALIGNMENT_FIXED);
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp105_);
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->overlay_bin);
#line 467 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->overlay_bin = _tmp105_;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp106_ = self->overlay_bin_actor;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp107_ = self->overlay_bin;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (_tmp106_, (ClutterLayoutManager*) _tmp107_);
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp108_ = self->overlay_bin_actor;
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_bin_layout_add (below_bin, _tmp108_, CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 474 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp109_ = boxes_revealer_new (FALSE);
#line 474 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp109_);
#line 474 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->sidebar_revealer);
#line 474 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self->sidebar_revealer = _tmp109_;
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp110_ = self->sidebar_revealer;
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp110_, "sidebar-revealer");
#line 476 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp111_ = self->sidebar_revealer;
#line 476 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_box_layout_pack (hbox, (ClutterActor*) _tmp111_, FALSE, TRUE, TRUE, CLUTTER_BOX_ALIGNMENT_START, CLUTTER_BOX_ALIGNMENT_START);
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp112_ = self->sidebar_revealer;
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_revealer_unreveal (_tmp112_);
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp113_ = self->sidebar_revealer;
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp114_ = self->sidebar;
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp115_ = boxes_ui_get_actor ((BoxesUI*) _tmp114_);
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp116_ = _tmp115_;
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) _tmp113_, _tmp116_, NULL);
#line 480 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp117_ = clutter_actor_new ();
#line 480 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp117_);
#line 480 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	content_bin_actor = _tmp117_;
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_name (content_bin_actor, "content-bin");
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp118_ = (ClutterBinLayout*) clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FILL, CLUTTER_BIN_ALIGNMENT_FILL);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_ref_sink (_tmp118_);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	content_bin = _tmp118_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_set_layout_manager (content_bin_actor, (ClutterLayoutManager*) content_bin);
#line 485 "/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 487 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp119_ = self->notificationbar;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp120_ = boxes_notificationbar_get_actor (_tmp119_);
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp121_ = _tmp120_;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_bin_layout_add (below_bin, _tmp121_, CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_START);
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp122_ = self->selectionbar;
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp123_ = boxes_selectionbar_get_actor (_tmp122_);
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp124_ = _tmp123_;
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_bin_layout_add (content_bin, _tmp124_, CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_END);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp125_ = self->wizard;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp126_ = boxes_ui_get_actor ((BoxesUI*) _tmp125_);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp127_ = _tmp126_;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) content_bin_actor, _tmp127_, NULL);
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp128_ = self->properties;
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp129_ = boxes_ui_get_actor ((BoxesUI*) _tmp128_);
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp130_ = _tmp129_;
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_container_add ((ClutterContainer*) content_bin_actor, _tmp130_, NULL);
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp131_ = self->properties;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp132_ = boxes_ui_get_actor ((BoxesUI*) _tmp131_);
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp133_ = _tmp132_;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_hide (_tmp133_);
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp134_ = self->selectionbar;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp135_ = boxes_selectionbar_get_actor (_tmp134_);
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp136_ = _tmp135_;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	clutter_actor_hide (_tmp136_);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp137_ = self->notebook;
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp137_);
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_COLLECTION);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (content_bin);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (content_bin_actor);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (hbox);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (hbox_actor);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (below_bin);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (below_bin_actor);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (vbox);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (vbox_actor);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (background);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_variant_unref0 (position);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_variant_unref0 (size);
#line 4224 "app.c"
}


static void boxes_app_set_main_ui_state (BoxesApp* self) {
	GtkNotebook* _tmp0_;
#line 501 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->notebook;
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_set (_tmp0_, "page", (gint) BOXES_APP_PAGE_MAIN, NULL);
#line 4236 "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_;
	gboolean _tmp6_ = FALSE;
	BoxesUIState _tmp7_;
	BoxesUIState _tmp8_;
	GSimpleAction* _tmp10_;
	gboolean _tmp11_;
	BoxesSidebar* _tmp12_;
	BoxesUI* _tmp13_;
	BoxesTopbar* _tmp14_;
	BoxesUI* _tmp15_;
	BoxesCollectionView* _tmp16_;
	BoxesUI* _tmp17_;
	BoxesWizard* _tmp18_;
	BoxesUI* _tmp19_;
	BoxesProperties* _tmp20_;
	BoxesUI* _tmp21_;
	BoxesUI** _tmp22_ = NULL;
	BoxesUIState _tmp27_;
	BoxesUIState _tmp28_;
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = (BoxesApp*) base;
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->action_fullscreen;
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_;
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_simple_action_set_enabled (_tmp0_, _tmp2_ == BOXES_UI_STATE_DISPLAY);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = self->action_properties;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = _tmp4_;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_simple_action_set_enabled (_tmp3_, _tmp5_ == BOXES_UI_STATE_DISPLAY);
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp7_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp8_ = _tmp7_;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp8_ == BOXES_UI_STATE_DISPLAY) {
#line 4290 "app.c"
		BoxesCollectionItem* _tmp9_;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = self->current_item;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp6_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, BOXES_TYPE_LIBVIRT_MACHINE);
#line 4296 "app.c"
	} else {
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp6_ = FALSE;
#line 4300 "app.c"
	}
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp10_ = self->action_shutdown;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp11_ = _tmp6_;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_simple_action_set_enabled (_tmp10_, _tmp11_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp12_ = self->sidebar;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp13_ = _g_object_ref0 ((BoxesUI*) _tmp12_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = self->topbar;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp15_ = _g_object_ref0 ((BoxesUI*) _tmp14_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp16_ = self->priv->view;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = _g_object_ref0 ((BoxesUI*) _tmp16_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = self->wizard;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp19_ = _g_object_ref0 ((BoxesUI*) _tmp18_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp20_ = self->properties;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp21_ = _g_object_ref0 ((BoxesUI*) _tmp20_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_ = g_new0 (BoxesUI*, 5 + 1);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_[0] = _tmp13_;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_[1] = _tmp15_;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_[2] = _tmp17_;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_[3] = _tmp19_;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp22_[4] = _tmp21_;
#line 4340 "app.c"
	{
		BoxesUI** ui_collection = NULL;
		gint ui_collection_length1 = 0;
		gint _ui_collection_size_ = 0;
		gint ui_it = 0;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		ui_collection = _tmp22_;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		ui_collection_length1 = 5;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (ui_it = 0; ui_it < 5; ui_it = ui_it + 1) {
#line 4352 "app.c"
			BoxesUI* _tmp23_;
			BoxesUI* ui = NULL;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp23_ = _g_object_ref0 (ui_collection[ui_it]);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			ui = _tmp23_;
#line 4359 "app.c"
			{
				BoxesUI* _tmp24_;
				BoxesUIState _tmp25_;
				BoxesUIState _tmp26_;
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp24_ = ui;
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp25_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp26_ = _tmp25_;
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_ui_set_ui_state (_tmp24_, _tmp26_);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (ui);
#line 4374 "app.c"
			}
		}
#line 510 "/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 4379 "app.c"
	}
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp27_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp28_ = _tmp27_;
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	switch (_tmp28_) {
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_COLLECTION:
#line 4389 "app.c"
		{
			BoxesCollectionItem* _tmp29_;
			BoxesCollectionView* _tmp33_;
#line 516 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_app_set_main_ui_state (self);
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp29_ = self->current_item;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, BOXES_TYPE_MACHINE)) {
#line 4399 "app.c"
				BoxesCollectionItem* _tmp30_;
				BoxesMachine* _tmp31_;
				BoxesMachine* machine;
				BoxesMachine* _tmp32_;
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp30_ = self->current_item;
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp31_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp30_) : NULL);
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				machine = _tmp31_;
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp32_ = machine;
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_machine_disconnect_display (_tmp32_);
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (machine);
#line 4416 "app.c"
			}
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_app_set_fullscreen (self, FALSE);
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp33_ = self->priv->view;
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_collection_view_set_visible (_tmp33_, TRUE);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 4426 "app.c"
		}
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_CREDS:
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_PROPERTIES:
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_WIZARD:
#line 4434 "app.c"
		{
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_app_set_main_ui_state (self);
#line 530 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 4440 "app.c"
		}
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		case BOXES_UI_STATE_DISPLAY:
#line 4444 "app.c"
		{
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 4448 "app.c"
		}
		default:
		{
			BoxesUIState _tmp34_;
			BoxesUIState _tmp35_;
			GEnumValue* _tmp36_;
			gchar* _tmp37_ = NULL;
			gchar* _tmp38_;
#line 536 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp34_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 536 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp35_ = _tmp34_;
#line 536 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp36_ = g_enum_get_value (g_type_class_ref (BOXES_TYPE_UI_STATE), _tmp35_);
#line 536 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp37_ = g_strdup_printf ("Unhandled UI state %s", (_tmp36_ != NULL) ? _tmp36_->value_name : NULL);
#line 536 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp38_ = _tmp37_;
#line 536 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_warning ("app.vala:536: %s", _tmp38_);
#line 536 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_free0 (_tmp38_);
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			break;
#line 4473 "app.c"
		}
	}
}


gboolean boxes_app_quit (BoxesApp* self) {
	gboolean result = FALSE;
	BoxesNotificationbar* _tmp0_;
	GtkApplicationWindow* _tmp1_;
	BoxesCollection* _tmp2_;
	GPtrArray* _tmp3_;
	gpointer* _tmp4_;
	gint _tmp4__length1;
	BoxesWizard* _tmp14_;
#line 541 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 542 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->notificationbar;
#line 542 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_notificationbar_cancel (_tmp0_);
#line 543 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_app_save_window_geometry (self);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = self->window;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp1_);
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = self->collection;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = _tmp2_->items;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = _tmp3_->pdata;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4__length1 = (gint) _tmp3_->len;
#line 4508 "app.c"
	{
		BoxesCollectionItem** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection = _tmp4_;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection_length1 = _tmp4__length1;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (item_it = 0; item_it < _tmp4__length1; item_it = item_it + 1) {
#line 4520 "app.c"
			BoxesCollectionItem* _tmp5_;
			BoxesCollectionItem* item = NULL;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp5_ = _g_object_ref0 (item_collection[item_it]);
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item = _tmp5_;
#line 4527 "app.c"
			{
				BoxesCollectionItem* _tmp6_;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = item;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, BOXES_TYPE_LIBVIRT_MACHINE)) {
#line 4534 "app.c"
					BoxesCollectionItem* _tmp7_;
					BoxesLibvirtMachine* _tmp8_;
					BoxesLibvirtMachine* machine;
					BoxesLibvirtMachine* _tmp9_;
					GVirConnection* _tmp10_;
					GVirConnection* _tmp11_;
					GVirConnection* _tmp12_;
#line 548 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp7_ = item;
#line 548 "/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 548 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					machine = _tmp8_;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp9_ = machine;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp10_ = _tmp9_->connection;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp11_ = boxes_app_get_default_connection (self);
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp12_ = _tmp11_;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					if (_tmp10_ == _tmp12_) {
#line 4558 "app.c"
						BoxesLibvirtMachine* _tmp13_;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						_tmp13_ = machine;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
						boxes_libvirt_machine_suspend (_tmp13_, NULL, NULL);
#line 4564 "app.c"
					}
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_g_object_unref0 (machine);
#line 4568 "app.c"
				}
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (item);
#line 4572 "app.c"
			}
		}
	}
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp14_ = self->wizard;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_wizard_cleanup (_tmp14_);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 4584 "app.c"
}


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


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


static void __lambda102_ (Block2Data* _data2_) {
	BoxesApp * self;
	GList* _tmp0_;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = _data2_->self;
#line 586 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_debug ("app.vala:586: Box deletion cancelled by user, re-adding to view");
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _data2_->selected_items;
#line 4626 "app.c"
	{
		GList* selected_collection = NULL;
		GList* selected_it = NULL;
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		selected_collection = _tmp0_;
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (selected_it = selected_collection; selected_it != NULL; selected_it = selected_it->next) {
#line 4634 "app.c"
			BoxesCollectionItem* _tmp1_;
			BoxesCollectionItem* selected = NULL;
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp1_ = _g_object_ref0 ((BoxesCollectionItem*) selected_it->data);
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			selected = _tmp1_;
#line 4641 "app.c"
			{
				BoxesCollectionView* _tmp2_;
				BoxesCollectionItem* _tmp3_;
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp2_ = self->priv->view;
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp3_ = selected;
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_collection_view_add_item (_tmp2_, _tmp3_);
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (selected);
#line 4653 "app.c"
			}
		}
	}
}


static void ___lambda102__boxes_notificationbar_ok_func (gpointer self) {
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda102_ (self);
#line 4663 "app.c"
}


static void __lambda103_ (Block2Data* _data2_) {
	BoxesApp * self;
	GList* _tmp0_;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	self = _data2_->self;
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_debug ("app.vala:593: Box deletion, deleting now");
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = _data2_->selected_items;
#line 4676 "app.c"
	{
		GList* selected_collection = NULL;
		GList* selected_it = NULL;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		selected_collection = _tmp0_;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (selected_it = selected_collection; selected_it != NULL; selected_it = selected_it->next) {
#line 4684 "app.c"
			BoxesCollectionItem* _tmp1_;
			BoxesCollectionItem* selected = NULL;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp1_ = _g_object_ref0 ((BoxesCollectionItem*) selected_it->data);
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			selected = _tmp1_;
#line 4691 "app.c"
			{
				BoxesCollectionItem* _tmp2_;
				BoxesMachine* _tmp3_;
				BoxesMachine* machine;
				BoxesMachine* _tmp4_;
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp2_ = selected;
#line 595 "/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 595 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				machine = _tmp3_;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp4_ = machine;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				if (_tmp4_ != NULL) {
#line 4707 "app.c"
					BoxesMachine* _tmp5_;
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					_tmp5_ = machine;
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
					boxes_machine_delete (_tmp5_, TRUE);
#line 4713 "app.c"
				}
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (machine);
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (selected);
#line 4719 "app.c"
			}
		}
	}
}


static void ___lambda103__boxes_notificationbar_cancel_func (gpointer self) {
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	__lambda103_ (self);
#line 4729 "app.c"
}


void boxes_app_remove_selected_items (BoxesApp* self) {
	Block2Data* _data2_;
	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;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data2_->_ref_count_ = 1;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data2_->self = g_object_ref (self);
#line 573 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->view;
#line 573 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_collection_view_get_selected_items (_tmp0_);
#line 573 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data2_->selected_items = _tmp1_;
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _data2_->selected_items;
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp3_ = g_list_length (_tmp2_);
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	num_selected = _tmp3_;
#line 575 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp4_ = num_selected;
#line 575 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp4_ == ((guint) 0)) {
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		block2_data_unref (_data2_);
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_data2_ = NULL;
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return;
#line 4791 "app.c"
	}
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp6_ = num_selected;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp6_ == ((guint) 1)) {
#line 4797 "app.c"
		const gchar* _tmp7_ = NULL;
		GList* _tmp8_;
		gconstpointer _tmp9_;
		const gchar* _tmp10_;
		const gchar* _tmp11_;
		gchar* _tmp12_ = NULL;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = _ ("Box '%s' has been deleted");
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = _data2_->selected_items;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp9_ = _tmp8_->data;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp10_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp9_);
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp11_ = _tmp10_;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp12_ = g_strdup_printf (_tmp7_, _tmp11_);
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp5_);
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _tmp12_;
#line 4820 "app.c"
	} else {
		guint _tmp13_;
		const gchar* _tmp14_ = NULL;
		guint _tmp15_;
		gchar* _tmp16_ = NULL;
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp13_ = num_selected;
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp14_ = ngettext ("%u box has been deleted", "%u boxes have been deleted", (gulong) _tmp13_);
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp15_ = num_selected;
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp16_ = g_strdup_printf (_tmp14_, _tmp15_);
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_free0 (_tmp5_);
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _tmp16_;
#line 4838 "app.c"
	}
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp17_ = _tmp5_;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp18_ = g_strdup (_tmp17_);
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	message = _tmp18_;
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp19_ = _data2_->selected_items;
#line 4848 "app.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		item_collection = _tmp19_;
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 4856 "app.c"
			BoxesCollectionItem* _tmp20_;
			BoxesCollectionItem* item = NULL;
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp20_ = _g_object_ref0 ((BoxesCollectionItem*) item_it->data);
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			item = _tmp20_;
#line 4863 "app.c"
			{
				BoxesCollectionView* _tmp21_;
				BoxesCollectionItem* _tmp22_;
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp21_ = self->priv->view;
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp22_ = item;
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_collection_view_remove_item (_tmp21_, _tmp22_);
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_g_object_unref0 (item);
#line 4875 "app.c"
			}
		}
	}
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo = ___lambda102__boxes_notificationbar_ok_func;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target = block2_data_ref (_data2_);
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target_destroy_notify = block2_data_unref;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove = ___lambda103__boxes_notificationbar_cancel_func;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target = block2_data_ref (_data2_);
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target_destroy_notify = block2_data_unref;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp23_ = self->notificationbar;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp24_ = message;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25_ = undo;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25__target = undo_target;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp25__target_destroy_notify = undo_target_destroy_notify;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target_destroy_notify = NULL;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26_ = really_remove;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26__target = really_remove_target;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp26__target_destroy_notify = really_remove_target_destroy_notify;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target_destroy_notify = NULL;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	boxes_notificationbar_display_for_action (_tmp23_, _tmp24_, GTK_STOCK_UNDO, _tmp25_, _tmp25__target, _tmp25__target_destroy_notify, _tmp26_, _tmp26__target, _tmp26__target_destroy_notify);
#line 572 "/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 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove = NULL;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target = NULL;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	really_remove_target_destroy_notify = NULL;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	(undo_target_destroy_notify == NULL) ? NULL : (undo_target_destroy_notify (undo_target), NULL);
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo = NULL;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target = NULL;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	undo_target_destroy_notify = NULL;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (message);
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (_tmp5_);
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	block2_data_unref (_data2_);
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_data2_ = NULL;
#line 4937 "app.c"
}


static gboolean boxes_app_on_key_pressed (BoxesApp* self, GtkWidget* widget, GdkEventKey* event) {
	gboolean result = FALSE;
	GdkEventKey _tmp0_;
	guint _tmp1_;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = *event;
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = _tmp0_.keyval;
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp1_ == ((guint) GDK_KEY_F11)) {
#line 4957 "app.c"
		gboolean _tmp2_;
		gboolean _tmp3_;
#line 607 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = boxes_app_get_fullscreen (self);
#line 607 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = _tmp2_;
#line 607 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		boxes_app_set_fullscreen (self, !_tmp3_);
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		result = TRUE;
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		return result;
#line 4970 "app.c"
	} else {
		GdkEventKey _tmp4_;
		guint _tmp5_;
#line 609 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = *event;
#line 609 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp5_ = _tmp4_.keyval;
#line 609 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (_tmp5_ == ((guint) GDK_KEY_Escape)) {
#line 4980 "app.c"
			gboolean _tmp6_ = FALSE;
			gboolean _tmp7_;
			gboolean _tmp8_;
			gboolean _tmp11_;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp7_ = boxes_app_get_selection_mode (self);
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp8_ = _tmp7_;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_tmp8_) {
#line 4991 "app.c"
				BoxesUIState _tmp9_;
				BoxesUIState _tmp10_;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp9_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp10_ = _tmp9_;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = _tmp10_ == BOXES_UI_STATE_COLLECTION;
#line 5000 "app.c"
			} else {
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				_tmp6_ = FALSE;
#line 5004 "app.c"
			}
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp11_ = _tmp6_;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			if (_tmp11_) {
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
				boxes_app_set_selection_mode (self, FALSE);
#line 5012 "app.c"
			}
		}
	}
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 5020 "app.c"
}


gboolean boxes_app_select_item (BoxesApp* self, BoxesCollectionItem* item) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	BoxesUIState _tmp1_;
	BoxesUIState _tmp2_;
	gboolean _tmp5_;
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (item != NULL, FALSE);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp2_ = _tmp1_;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp2_ == BOXES_UI_STATE_COLLECTION) {
#line 5040 "app.c"
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp3_ = boxes_app_get_selection_mode (self);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp4_ = _tmp3_;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = !_tmp4_;
#line 5049 "app.c"
	} else {
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp0_ = FALSE;
#line 5053 "app.c"
	}
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp5_ = _tmp0_;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp5_) {
#line 5059 "app.c"
		BoxesCollectionItem* _tmp6_;
		BoxesCollectionItem* _tmp7_;
		BoxesCollectionItem* _tmp8_;
		BoxesCollectionItem* _tmp12_;
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp6_ = item;
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp7_ = _g_object_ref0 (_tmp6_);
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_g_object_unref0 (self->current_item);
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		self->current_item = _tmp7_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp8_ = self->current_item;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, BOXES_TYPE_MACHINE)) {
#line 5076 "app.c"
			BoxesCollectionItem* _tmp9_;
			BoxesMachine* _tmp10_;
			BoxesMachine* machine;
			BoxesMachine* _tmp11_;
#line 622 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp9_ = self->current_item;
#line 622 "/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 622 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			machine = _tmp10_;
#line 624 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_tmp11_ = machine;
#line 624 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_machine_connect_display (_tmp11_);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			boxes_ui_set_ui_state ((BoxesUI*) self, BOXES_UI_STATE_CREDS);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			_g_object_unref0 (machine);
#line 5095 "app.c"
		} else {
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
			g_warning ("app.vala:627: unknown item, fix your code");
#line 5099 "app.c"
		}
#line 629 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp12_ = item;
#line 629 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		g_signal_emit_by_name (self, "item-selected", _tmp12_);
#line 5105 "app.c"
	}
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = FALSE;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 5111 "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 5127 "app.c"
}


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


void boxes_app_set_fullscreen (BoxesApp* self, gboolean value) {
	gboolean _tmp0_;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_if_fail (self != NULL);
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = value;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	if (_tmp0_) {
#line 5160 "app.c"
		GtkApplicationWindow* _tmp1_;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp1_ = self->window;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_fullscreen ((GtkWindow*) _tmp1_);
#line 5166 "app.c"
	} else {
		GtkApplicationWindow* _tmp2_;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		_tmp2_ = self->window;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
		gtk_window_unfullscreen ((GtkWindow*) _tmp2_);
#line 5173 "app.c"
	}
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_object_notify ((GObject *) self, "fullscreen");
#line 5177 "app.c"
}


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


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


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


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


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


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


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


GList* boxes_app_get_selected_items (BoxesApp* self) {
	GList* result;
	BoxesCollectionView* _tmp0_;
	GList* _tmp1_ = NULL;
#line 569 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 569 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp0_ = self->priv->view;
#line 569 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_tmp1_ = boxes_collection_view_get_selected_items (_tmp0_);
#line 569 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	result = _tmp1_;
#line 569 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	return result;
#line 5323 "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 5360 "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 5367 "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 25 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->notebook);
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->embed);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->stage);
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->stage_bin);
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->overlay_bin_actor);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->overlay_bin);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->current_item);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->topbar);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->notificationbar);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->sidebar_revealer);
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->topbar_revealer);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->sidebar);
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->selectionbar);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->settings);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->wizard);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->properties);
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->display_page);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_free0 (self->priv->_uri);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->collection);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_properties);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_fullscreen);
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->action_shutdown);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->application);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_object_unref0 (self->priv->view);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_hash_table_unref0 (self->priv->connections);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	_g_hash_table_unref0 (self->priv->sources);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/app.vala"
	G_OBJECT_CLASS (boxes_app_parent_class)->finalize (obj);
#line 5431 "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 5494 "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 5500 "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 5528 "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 5534 "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);
}



