/* machine.c generated by valac 0.23.1.44-805c3, the Vala compiler
 * generated from machine.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 <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libcommon.h>
#include <stdlib.h>
#include <string.h>
#include <cairo.h>
#include <gtk/gtk.h>
#include <clutter-gtk/clutter-gtk.h>
#include <glib/gi18n-lib.h>
#include <float.h>
#include <math.h>
#include <gdk/gdk.h>
#include <glib/gstdio.h>
#include <libgd/gd.h>


#define BOXES_TYPE_UI (boxes_ui_get_type ())
#define BOXES_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UI, BoxesUI))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_UI_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_UI, BoxesUIIface))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIIface BoxesUIIface;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())

#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;
typedef struct _BoxesCollectionItemPrivate BoxesCollectionItemPrivate;

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

typedef struct _BoxesIPropertiesProvider BoxesIPropertiesProvider;
typedef struct _BoxesIPropertiesProviderIface BoxesIPropertiesProviderIface;

#define BOXES_TYPE_PROPERTIES_PAGE (boxes_properties_page_get_type ())

#define TYPE_PROPERTY_CREATION_FLAG (property_creation_flag_get_type ())

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

typedef struct _BoxesProperty BoxesProperty;
typedef struct _BoxesPropertyClass BoxesPropertyClass;

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

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;
typedef struct _BoxesMachinePrivate BoxesMachinePrivate;

#define BOXES_MACHINE_TYPE_CONNECT_FLAGS (boxes_machine_connect_flags_get_type ())

#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_MACHINE_TYPE_MACHINE_STATE (boxes_machine_machine_state_get_type ())

#define BOXES_TYPE_DISPLAY (boxes_display_get_type ())
#define BOXES_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY, BoxesDisplay))
#define BOXES_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY, BoxesDisplayClass))
#define BOXES_IS_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY))
#define BOXES_IS_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY))
#define BOXES_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY, BoxesDisplayClass))

typedef struct _BoxesDisplay BoxesDisplay;
typedef struct _BoxesDisplayClass BoxesDisplayClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

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

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

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

typedef struct _BoxesClutterWidget BoxesClutterWidget;
typedef struct _BoxesClutterWidgetClass BoxesClutterWidgetClass;

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

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

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

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

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

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

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

typedef struct _BoxesRevealer BoxesRevealer;
typedef struct _BoxesRevealerClass BoxesRevealerClass;

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

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;

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

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

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

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

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

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

#define BOXES_TYPE_DISPLAY_PAGE (boxes_display_page_get_type ())
#define BOXES_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage))
#define BOXES_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))
#define BOXES_IS_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_IS_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_DISPLAY_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

#define BOXES_TYPE_EMPTY_BOXES (boxes_empty_boxes_get_type ())
#define BOXES_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxes))
#define BOXES_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))
#define BOXES_IS_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_IS_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_EMPTY_BOXES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;

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

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;

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

typedef struct _BoxesCollectionFilter BoxesCollectionFilter;
typedef struct _BoxesCollectionFilterClass BoxesCollectionFilterClass;

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

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesMachineSaveData BoxesMachineSaveData;
typedef struct _BoxesMachineSaveRealData BoxesMachineSaveRealData;
typedef struct _BoxesMachineTakeScreenshotData BoxesMachineTakeScreenshotData;
typedef struct _BoxesDisplayPrivate BoxesDisplayPrivate;
typedef struct _BoxesMachineUpdateScreenshotData BoxesMachineUpdateScreenshotData;
#define _cairo_pattern_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_pattern_destroy (var), NULL)))
#define _cairo_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_destroy (var), NULL)))
#define _cairo_surface_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_surface_destroy (var), NULL)))
#define _gtk_icon_info_free0(var) ((var == NULL) ? NULL : (var = (gtk_icon_info_free (var), NULL)))
typedef struct _BoxesMachineActorPrivate BoxesMachineActorPrivate;
typedef struct _BoxesSidebarPrivate BoxesSidebarPrivate;

#define BOXES_TYPE_MINI_GRAPH (boxes_mini_graph_get_type ())
#define BOXES_MINI_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MINI_GRAPH, BoxesMiniGraph))
#define BOXES_MINI_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MINI_GRAPH, BoxesMiniGraphClass))
#define BOXES_IS_MINI_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MINI_GRAPH))
#define BOXES_IS_MINI_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MINI_GRAPH))
#define BOXES_MINI_GRAPH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MINI_GRAPH, BoxesMiniGraphClass))

typedef struct _BoxesMiniGraph BoxesMiniGraph;
typedef struct _BoxesMiniGraphClass BoxesMiniGraphClass;
typedef struct _Block39Data Block39Data;
typedef struct _Block40Data Block40Data;

#define BOXES_TYPE_APP_PAGE (boxes_app_page_get_type ())
typedef struct _Block41Data Block41Data;

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 _BoxesUIIface {
	GTypeInterface parent_iface;
	ClutterActor* (*get_actor) (BoxesUI* self);
	BoxesUIState (*get_previous_ui_state) (BoxesUI* self);
	void (*set_previous_ui_state) (BoxesUI* self, BoxesUIState value);
	BoxesUIState (*get_ui_state) (BoxesUI* self);
	void (*set_ui_state) (BoxesUI* self, BoxesUIState value);
};

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

struct _BoxesCollectionItemClass {
	GObjectClass parent_class;
	gint (*compare) (BoxesCollectionItem* self, BoxesCollectionItem* other);
	ClutterActor* (*get_item_actor) (BoxesCollectionItem* self);
};

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

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

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

typedef enum  {
	BOXES_MACHINE_CONNECT_FLAGS_NONE = 0,
	BOXES_MACHINE_CONNECT_FLAGS_IGNORE_SAVED_STATE = 1 << 0
} BoxesMachineConnectFlags;

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

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

typedef enum  {
	BOXES_MACHINE_MACHINE_STATE_UNKNOWN,
	BOXES_MACHINE_MACHINE_STATE_STOPPED,
	BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED,
	BOXES_MACHINE_MACHINE_STATE_RUNNING,
	BOXES_MACHINE_MACHINE_STATE_PAUSED,
	BOXES_MACHINE_MACHINE_STATE_SAVED,
	BOXES_MACHINE_MACHINE_STATE_SLEEPING
} BoxesMachineMachineState;

struct _BoxesMachinePrivate {
	BoxesMachineActor* machine_actor;
	GdkPixbuf* _pixbuf;
	gchar* _info;
	gchar* _status;
	gboolean _can_save;
	gboolean _can_delete;
	gboolean _under_construction;
	gulong show_id;
	gulong hide_id;
	guint show_timeout_id;
	gulong disconnected_id;
	gulong need_password_id;
	gulong need_username_id;
	gulong ui_state_id;
	gulong got_error_id;
	guint screenshot_id;
	gboolean updating_screenshot;
	GCancellable* _connecting_cancellable;
	GdkPixbuf* orig_pixbuf;
	BoxesMachineMachineState _state;
	BoxesDisplay* _display;
	gint screenshot_counter;
};

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

struct _BoxesAppClass {
	GObjectClass parent_class;
};

struct _BoxesMachineSaveData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesMachine* self;
	BoxesMachineMachineState _tmp0_;
	BoxesMachineMachineState _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* info;
	const gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	const gchar* _tmp7_;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	const gchar* _tmp15_;
	GError * _inner_error_;
};

struct _BoxesMachineSaveRealData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesMachine* self;
};

struct _BoxesMachineTakeScreenshotData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesMachine* self;
	GdkPixbuf* result;
	BoxesDisplay* _tmp0_;
	BoxesDisplay* _tmp1_;
	GdkPixbuf* _tmp2_;
	BoxesDisplay* _tmp3_;
	BoxesDisplay* _tmp4_;
	GdkPixbuf* _tmp5_;
	GdkPixbuf* _tmp6_;
	GError * _inner_error_;
};

struct _BoxesDisplay {
	GObject parent_instance;
	BoxesDisplayPrivate * priv;
	gboolean connected;
	GHashTable* displays;
};

struct _BoxesDisplayClass {
	GObjectClass parent_class;
	GtkWidget* (*get_display) (BoxesDisplay* self, gint n);
	GdkPixbuf* (*get_pixbuf) (BoxesDisplay* self, gint n, GError** error);
	void (*set_enable_inputs) (BoxesDisplay* self, GtkWidget* widget, gboolean enable);
	void (*set_enable_audio) (BoxesDisplay* self, gboolean enable);
	gboolean (*should_keep_alive) (BoxesDisplay* self);
	void (*connect_it) (BoxesDisplay* self, GError** error);
	void (*disconnect_it) (BoxesDisplay* self);
	void (*collect_logs) (BoxesDisplay* self, GString* builder);
	GList* (*get_properties) (BoxesDisplay* self, BoxesPropertiesPage page, PropertyCreationFlag* flags);
	const gchar* (*get_protocol) (BoxesDisplay* self);
	gchar* (*get_uri) (BoxesDisplay* self);
};

struct _BoxesMachineUpdateScreenshotData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesMachine* self;
	gboolean force_save;
	gboolean first_check;
	gboolean _tmp0_;
	GdkPixbuf* large_screenshot;
	GdkPixbuf* _tmp1_;
	GdkPixbuf* _tmp2_;
	GdkPixbuf* _tmp3_;
	gboolean _tmp4_;
	GdkPixbuf* _tmp5_;
	GdkPixbuf* _tmp6_;
	GdkPixbuf* _tmp7_;
	GError* _error_;
	GdkPixbuf* _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp10_;
	gint _tmp11_;
	GdkPixbuf* _tmp12_;
	GError * _inner_error_;
};

struct _BoxesMachineActor {
	GObject parent_instance;
	BoxesMachineActorPrivate * priv;
	ClutterActor* _actor;
};

struct _BoxesMachineActorClass {
	GObjectClass parent_class;
};

struct _BoxesMachineActorPrivate {
	BoxesUIState _previous_ui_state;
	BoxesUIState _ui_state;
	GtkClutterTexture* screenshot;
	GtkClutterActor* gtk_vbox;
	ClutterActor* thumbnail;
	GtkClutterTexture* thumbnail_screenshot;
	GtkLabel* label;
	GtkBox* vbox;
	GtkEntry* password_entry;
	BoxesMachine* machine;
	gulong track_screenshot_id;
};

struct _BoxesSidebar {
	GtkNotebook parent_instance;
	BoxesSidebarPrivate * priv;
	GtkWidget* screenshot_placeholder;
	GtkListStore* props_listmodel;
	GtkTreeSelection* props_selection;
	GtkButton* shutdown_button;
	BoxesMiniGraph* cpu_graph;
	BoxesMiniGraph* io_graph;
	BoxesMiniGraph* net_graph;
};

struct _BoxesSidebarClass {
	GtkNotebookClass parent_class;
};

struct _Block39Data {
	int _ref_count_;
	BoxesMachineActor* self;
	BoxesMachine* machine;
};

typedef void (*BoxesActorFunc) (ClutterActor* actor, void* user_data);
struct _Block40Data {
	int _ref_count_;
	BoxesMachineActor* self;
	BoxesActorFunc update_screenshot_alloc;
	gpointer update_screenshot_alloc_target;
	GDestroyNotify update_screenshot_alloc_target_destroy_notify;
};

typedef enum  {
	BOXES_APP_PAGE_MAIN,
	BOXES_APP_PAGE_DISPLAY
} BoxesAppPage;

struct _Block41Data {
	int _ref_count_;
	BoxesMachineActor* self;
	gulong completed_id;
};


static gpointer boxes_machine_parent_class = NULL;
static cairo_surface_t* boxes_machine_grid_surface;
static cairo_surface_t* boxes_machine_grid_surface = NULL;
static GdkPixbuf* boxes_machine_default_fallback;
static GdkPixbuf* boxes_machine_default_fallback = NULL;
extern BoxesApp* boxes_app_app;
static BoxesIPropertiesProviderIface* boxes_machine_boxes_iproperties_provider_parent_iface = NULL;
static gpointer boxes_machine_actor_parent_class = NULL;
static BoxesUIIface* boxes_machine_actor_boxes_ui_parent_iface = NULL;

GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_properties_page_get_type (void) G_GNUC_CONST;
GType property_creation_flag_get_type (void) G_GNUC_CONST;
GType boxes_property_get_type (void) G_GNUC_CONST;
GType boxes_iproperties_provider_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_machine_connect_flags_get_type (void) G_GNUC_CONST;
GType boxes_machine_actor_get_type (void) G_GNUC_CONST;
GType boxes_machine_machine_state_get_type (void) G_GNUC_CONST;
GType boxes_display_get_type (void) G_GNUC_CONST;
#define BOXES_MACHINE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_MACHINE, BoxesMachinePrivate))
enum  {
	BOXES_MACHINE_DUMMY_PROPERTY,
	BOXES_MACHINE_ITEM_ACTOR,
	BOXES_MACHINE_PIXBUF,
	BOXES_MACHINE_INFO,
	BOXES_MACHINE_STATUS,
	BOXES_MACHINE_CAN_SAVE,
	BOXES_MACHINE_CAN_DELETE,
	BOXES_MACHINE_UNDER_CONSTRUCTION,
	BOXES_MACHINE_CONNECTING_CANCELLABLE,
	BOXES_MACHINE_STATE,
	BOXES_MACHINE_DISPLAY
};
#define BOXES_MACHINE_SCREENSHOT_WIDTH 180
#define BOXES_MACHINE_SCREENSHOT_HEIGHT 134
void boxes_machine_show_display (BoxesMachine* self);
BoxesDisplay* boxes_machine_get_display (BoxesMachine* self);
GtkWidget* boxes_display_get_display (BoxesDisplay* self, gint n);
GType boxes_app_get_type (void) G_GNUC_CONST;
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
void boxes_ui_set_state (BoxesUI* self, BoxesUIState new_state);
GType boxes_clutter_widget_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_revealer_get_type (void) G_GNUC_CONST;
GType boxes_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
GType boxes_collection_filter_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
static gboolean ___lambda13_ (BoxesMachine* self);
static gboolean ____lambda13__gsource_func (gpointer self);
void boxes_display_page_show_display (BoxesDisplayPage* self, BoxesDisplay* display, GtkWidget* widget);
void boxes_machine_actor_update_thumbnail (BoxesMachineActor* self, GtkWidget* display_widget, gboolean zoom);
BoxesMachine* boxes_machine_construct (GType object_type, BoxesCollectionSource* source, const gchar* name);
BoxesCollectionItem* boxes_collection_item_construct (GType object_type);
void boxes_collection_item_set_name (BoxesCollectionItem* self, const gchar* value);
void boxes_machine_set_connecting_cancellable (BoxesMachine* self, GCancellable* value);
static GdkPixbuf* boxes_machine_draw_fallback_vm (gint width, gint height, gboolean force);
void boxes_machine_set_pixbuf (BoxesMachine* self, GdkPixbuf* value);
BoxesMachineActor* boxes_machine_actor_new (BoxesMachine* machine);
BoxesMachineActor* boxes_machine_actor_construct (GType object_type, BoxesMachine* machine);
static void boxes_machine_ui_state_changed (BoxesMachine* self);
static void _boxes_machine_ui_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda152_ (BoxesMachine* self);
void boxes_machine_set_screenshot_enable (BoxesMachine* self, gboolean enable);
static void ___lambda152__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
void boxes_machine_load_screenshot (BoxesMachine* self);
static gchar* boxes_machine_get_screenshot_filename (BoxesMachine* self, GError** error);
static void boxes_machine_set_screenshot (BoxesMachine* self, GdkPixbuf* large_screenshot, gboolean save);
static void boxes_machine_update_screenshot (BoxesMachine* self, gboolean force_save, gboolean first_check, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_machine_update_screenshot_finish (BoxesMachine* self, GAsyncResult* _res_);
static gboolean ___lambda46_ (BoxesMachine* self);
static gboolean ____lambda46__gsource_func (gpointer self);
static void boxes_machine_save_data_free (gpointer _data);
void boxes_machine_save (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_machine_save_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error);
static gboolean boxes_machine_save_co (BoxesMachineSaveData* _data_);
BoxesMachineMachineState boxes_machine_get_state (BoxesMachine* self);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
const gchar* boxes_machine_get_info (BoxesMachine* self);
void boxes_machine_set_info (BoxesMachine* self, const gchar* value);
void boxes_machine_save_real (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_machine_save_real_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error);
static void boxes_machine_save_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_machine_real_save_real_data_free (gpointer _data);
static void boxes_machine_real_save_real (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_machine_real_save_real_co (BoxesMachineSaveRealData* _data_);
static void boxes_machine_real_take_screenshot_data_free (gpointer _data);
static void boxes_machine_real_take_screenshot (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_machine_take_screenshot (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
GdkPixbuf* boxes_machine_take_screenshot_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error);
static gboolean boxes_machine_real_take_screenshot_co (BoxesMachineTakeScreenshotData* _data_);
GdkPixbuf* boxes_display_get_pixbuf (BoxesDisplay* self, gint n, GError** error);
GList* boxes_machine_get_properties (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag* flags);
static GList* boxes_machine_real_get_properties (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag* flags);
gboolean boxes_machine_is_connected (BoxesMachine* self);
void boxes_machine_connect_display (BoxesMachine* self, BoxesMachineConnectFlags flags, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_machine_connect_display_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error);
void boxes_machine_disconnect_display (BoxesMachine* self);
static void boxes_machine_real_disconnect_display (BoxesMachine* self);
GtkWidget* boxes_display_page_remove_display (BoxesDisplayPage* self);
gboolean boxes_display_should_keep_alive (BoxesDisplay* self);
void boxes_display_disconnect_it (BoxesDisplay* self);
void boxes_machine_set_display (BoxesMachine* self, BoxesDisplay* value);
void boxes_display_set_enable_audio (BoxesDisplay* self, gboolean enable);
void boxes_machine_create_display_config (BoxesMachine* self, const gchar* uuid);
gchar* boxes_uuid_generate (void);
gboolean boxes_machine_is_running (BoxesMachine* self);
gboolean boxes_machine_is_on (BoxesMachine* self);
static void boxes_machine_save_pixbuf_as_screenshot (BoxesMachine* self, GdkPixbuf* pixbuf);
static gint boxes_machine_pixbuf_energy (BoxesMachine* self, GdkPixbuf* pixbuf);
static GdkPixbuf* boxes_machine_draw_vm (BoxesMachine* self, GdkPixbuf* pixbuf, gint width, gint height);
void boxes_machine_actor_set_screenshot (BoxesMachineActor* self, GdkPixbuf* pixbuf);
static GdkPixbuf* boxes_machine_draw_stopped_vm (gint width, gint height);
GdkPixbuf* boxes_machine_get_pixbuf (BoxesMachine* self);
static void boxes_machine_update_screenshot_data_free (gpointer _data);
static gboolean boxes_machine_update_screenshot_co (BoxesMachineUpdateScreenshotData* _data_);
static void boxes_machine_update_screenshot_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_machine_delete (BoxesMachine* self, gboolean by_user);
static void boxes_machine_real_delete (BoxesMachine* self, gboolean by_user);
static gint boxes_machine_real_compare (BoxesCollectionItem* base, BoxesCollectionItem* other);
ClutterActor* boxes_ui_get_actor (BoxesUI* self);
const gchar* boxes_machine_get_status (BoxesMachine* self);
void boxes_machine_set_status (BoxesMachine* self, const gchar* value);
gboolean boxes_machine_get_can_save (BoxesMachine* self);
void boxes_machine_set_can_save (BoxesMachine* self, gboolean value);
gboolean boxes_machine_get_can_delete (BoxesMachine* self);
void boxes_machine_set_can_delete (BoxesMachine* self, gboolean value);
gboolean boxes_machine_get_under_construction (BoxesMachine* self);
void boxes_machine_set_under_construction (BoxesMachine* self, gboolean value);
GCancellable* boxes_machine_get_connecting_cancellable (BoxesMachine* self);
void boxes_machine_set_state (BoxesMachine* self, BoxesMachineMachineState value);
const gchar* boxes_machine_machine_state_to_string (BoxesMachineMachineState self);
static void _boxes_machine_display___lambda12_ (BoxesMachine* self, gint id);
static void __boxes_machine_display___lambda12__boxes_display_show (BoxesDisplay* _sender, gint display_id, gpointer self);
static void _boxes_machine_display___lambda144_ (BoxesMachine* self, gint id);
static void __boxes_machine_display___lambda144__boxes_display_hide (BoxesDisplay* _sender, gint display_id, gpointer self);
static void _boxes_machine_display___lambda145_ (BoxesMachine* self, const gchar* message);
static void __boxes_machine_display___lambda145__boxes_display_got_error (BoxesDisplay* _sender, const gchar* message, gpointer self);
static void _boxes_machine_display___lambda146_ (BoxesMachine* self, gboolean failed);
GdNotification* boxes_notificationbar_display_error (BoxesNotificationbar* self, const gchar* message, gint timeout);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
static void __boxes_machine_display___lambda146__boxes_display_disconnected (BoxesDisplay* _sender, gboolean connection_failed, gpointer self);
static void _boxes_machine_display___lambda147_ (BoxesMachine* self);
void boxes_machine_actor_set_password_needed (BoxesMachineActor* self, gboolean needed);
gboolean boxes_display_get_need_password (BoxesDisplay* self);
static void __boxes_machine_display___lambda147__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _boxes_machine_display___lambda148_ (BoxesMachine* self);
void boxes_machine_actor_set_username_needed (BoxesMachineActor* self, gboolean needed);
gboolean boxes_display_get_need_username (BoxesDisplay* self);
static void __boxes_machine_display___lambda148__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
gchar* boxes_machine_actor_get_password (BoxesMachineActor* self);
void boxes_display_set_password (BoxesDisplay* self, const gchar* value);
static void boxes_machine_finalize (GObject* obj);
ClutterActor* boxes_collection_item_get_item_actor (BoxesCollectionItem* self);
static void _vala_boxes_machine_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_machine_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define BOXES_MACHINE_ACTOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActorPrivate))
enum  {
	BOXES_MACHINE_ACTOR_DUMMY_PROPERTY,
	BOXES_MACHINE_ACTOR_ACTOR,
	BOXES_MACHINE_ACTOR_PREVIOUS_UI_STATE,
	BOXES_MACHINE_ACTOR_UI_STATE
};
GType boxes_mini_graph_get_type (void) G_GNUC_CONST;
static Block39Data* block39_data_ref (Block39Data* _data39_);
static void block39_data_unref (void * _userdata_);
static gboolean __lambda149_ (Block39Data* _data39_, GdkEventKey* event);
static gboolean ___lambda149__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self);
static void boxes_machine_actor_ui_state_changed (BoxesMachineActor* self);
static void _boxes_machine_actor_ui_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static GtkWidget* boxes_machine_actor_steal_display_widget_from_thumbnail (BoxesMachineActor* self);
void boxes_display_set_enable_inputs (BoxesDisplay* self, GtkWidget* widget, gboolean enable);
void boxes_actor_remove (ClutterActor* actor);
static Block40Data* block40_data_ref (Block40Data* _data40_);
static void block40_data_unref (void * _userdata_);
BoxesUIState boxes_ui_get_previous_ui_state (BoxesUI* self);
static void ____lambda139_ (BoxesMachineActor* self);
static void _____lambda139__clutter_click_action_clicked (ClutterClickAction* _sender, ClutterActor* actor, gpointer self);
static void _____lambda140_ (BoxesMachineActor* self);
void boxes_app_connect_to (BoxesApp* self, BoxesMachine* machine, gfloat x, gfloat y, BoxesMachineConnectFlags flags);
static void ______lambda140__clutter_click_action_clicked (ClutterClickAction* _sender, ClutterActor* actor, gpointer self);
static void ___lambda141_ (BoxesMachineActor* self, ClutterActor* thumbnail);
static void ____lambda141__boxes_actor_func (ClutterActor* actor, gpointer self);
static void ___lambda142_ (Block40Data* _data40_);
static gboolean __lambda143_ (Block40Data* _data40_);
static gboolean ___lambda143__gsource_func (gpointer self);
static void ____lambda142__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self);
void boxes_display_page_get_size (BoxesDisplayPage* self, gint* width, gint* height);
ClutterTransition* boxes_animate_actor_geometry (gfloat x, gfloat y, gfloat width, gfloat height);
static void _____lambda150_ (BoxesMachineActor* self);
static void ______lambda150__clutter_timeline_completed (ClutterTimeline* _sender, gpointer self);
GType boxes_app_page_get_type (void) G_GNUC_CONST;
static Block41Data* block41_data_ref (Block41Data* _data41_);
static void block41_data_unref (void * _userdata_);
void boxes_allocate_actor_no_animation (ClutterActor* actor, gfloat x, gfloat y, gfloat width, gfloat height);
static void ____lambda151_ (Block41Data* _data41_);
static void _____lambda151__clutter_actor_transitions_completed (ClutterActor* _sender, gpointer self);
static void boxes_machine_actor_finalize (GObject* obj);
static void _vala_boxes_machine_actor_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
void boxes_ui_set_previous_ui_state (BoxesUI* self, BoxesUIState value);
void boxes_ui_set_ui_state (BoxesUI* self, BoxesUIState value);
static void _vala_boxes_machine_actor_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


GType boxes_machine_machine_state_get_type (void) {
	static volatile gsize boxes_machine_machine_state_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_machine_machine_state_type_id__volatile)) {
		static const GEnumValue values[] = {{BOXES_MACHINE_MACHINE_STATE_UNKNOWN, "BOXES_MACHINE_MACHINE_STATE_UNKNOWN", "unknown"}, {BOXES_MACHINE_MACHINE_STATE_STOPPED, "BOXES_MACHINE_MACHINE_STATE_STOPPED", "stopped"}, {BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED, "BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED", "force-stopped"}, {BOXES_MACHINE_MACHINE_STATE_RUNNING, "BOXES_MACHINE_MACHINE_STATE_RUNNING", "running"}, {BOXES_MACHINE_MACHINE_STATE_PAUSED, "BOXES_MACHINE_MACHINE_STATE_PAUSED", "paused"}, {BOXES_MACHINE_MACHINE_STATE_SAVED, "BOXES_MACHINE_MACHINE_STATE_SAVED", "saved"}, {BOXES_MACHINE_MACHINE_STATE_SLEEPING, "BOXES_MACHINE_MACHINE_STATE_SLEEPING", "sleeping"}, {0, NULL, NULL}};
		GType boxes_machine_machine_state_type_id;
		boxes_machine_machine_state_type_id = g_enum_register_static ("BoxesMachineMachineState", values);
		g_once_init_leave (&boxes_machine_machine_state_type_id__volatile, boxes_machine_machine_state_type_id);
	}
	return boxes_machine_machine_state_type_id__volatile;
}


GType boxes_machine_connect_flags_get_type (void) {
	static volatile gsize boxes_machine_connect_flags_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_machine_connect_flags_type_id__volatile)) {
		static const GFlagsValue values[] = {{BOXES_MACHINE_CONNECT_FLAGS_NONE, "BOXES_MACHINE_CONNECT_FLAGS_NONE", "none"}, {BOXES_MACHINE_CONNECT_FLAGS_IGNORE_SAVED_STATE, "BOXES_MACHINE_CONNECT_FLAGS_IGNORE_SAVED_STATE", "ignore-saved-state"}, {0, NULL, NULL}};
		GType boxes_machine_connect_flags_type_id;
		boxes_machine_connect_flags_type_id = g_flags_register_static ("BoxesMachineConnectFlags", values);
		g_once_init_leave (&boxes_machine_connect_flags_type_id__volatile, boxes_machine_connect_flags_type_id);
	}
	return boxes_machine_connect_flags_type_id__volatile;
}


static gboolean ___lambda13_ (BoxesMachine* self) {
	gboolean result = FALSE;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->show_timeout_id = (guint) 0;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_show_display (self);
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = FALSE;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 841 "machine.c"
}


static gboolean ____lambda13__gsource_func (gpointer self) {
	gboolean result;
	result = ___lambda13_ ((BoxesMachine*) self);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 850 "machine.c"
}


void boxes_machine_show_display (BoxesMachine* self) {
	GtkWidget* widget = NULL;
	BoxesDisplay* _tmp0_ = NULL;
	BoxesDisplay* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	BoxesApp* _tmp3_ = NULL;
	BoxesUIState _tmp4_ = 0;
	BoxesUIState _tmp5_ = 0;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_machine_get_display (self);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = boxes_display_get_display (_tmp1_, 0);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (widget);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	widget = _tmp2_;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_app_app;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp3_);
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = _tmp4_;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_tmp5_) {
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_CREDS:
#line 884 "machine.c"
		{
			BoxesApp* _tmp6_ = NULL;
			BoxesApp* _tmp7_ = NULL;
			guint _tmp8_ = 0U;
			guint _tmp9_ = 0U;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp6_ = boxes_app_app;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_ui_set_state ((BoxesUI*) _tmp6_, BOXES_UI_STATE_DISPLAY);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp7_ = boxes_app_app;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp8_ = _tmp7_->duration;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp9_ = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp8_, ____lambda13__gsource_func, g_object_ref (self), g_object_unref);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			self->priv->show_timeout_id = _tmp9_;
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 904 "machine.c"
		}
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_DISPLAY:
#line 908 "machine.c"
		{
			BoxesApp* _tmp10_ = NULL;
			BoxesDisplayPage* _tmp11_ = NULL;
			BoxesDisplay* _tmp12_ = NULL;
			BoxesDisplay* _tmp13_ = NULL;
			GtkWidget* _tmp14_ = NULL;
			GtkWidget* _tmp15_ = NULL;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = boxes_app_app;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp11_ = _tmp10_->display_page;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp12_ = boxes_machine_get_display (self);
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp13_ = _tmp12_;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp14_ = widget;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_display_page_show_display (_tmp11_, _tmp13_, _tmp14_);
#line 100 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp15_ = widget;
#line 100 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_widget_grab_focus (_tmp15_);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 934 "machine.c"
		}
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_PROPERTIES:
#line 938 "machine.c"
		{
			BoxesMachineActor* _tmp16_ = NULL;
			GtkWidget* _tmp17_ = NULL;
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp16_ = self->priv->machine_actor;
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp17_ = widget;
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_actor_update_thumbnail (_tmp16_, _tmp17_, FALSE);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 950 "machine.c"
		}
		default:
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 955 "machine.c"
	}
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (widget);
#line 959 "machine.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return self ? g_object_ref (self) : NULL;
#line 966 "machine.c"
}


static void _boxes_machine_ui_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_ui_state_changed ((BoxesMachine*) self);
#line 973 "machine.c"
}


static void __lambda152_ (BoxesMachine* self) {
	BoxesApp* _tmp0_ = NULL;
	BoxesUIState _tmp1_ = 0;
	BoxesUIState _tmp2_ = 0;
#line 194 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 194 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp0_);
#line 194 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 194 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp2_ == BOXES_UI_STATE_DISPLAY) {
#line 195 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot_enable (self, FALSE);
#line 991 "machine.c"
	} else {
#line 197 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot_enable (self, TRUE);
#line 995 "machine.c"
	}
}


static void ___lambda152__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	__lambda152_ ((BoxesMachine*) self);
#line 1003 "machine.c"
}


BoxesMachine* boxes_machine_construct (GType object_type, BoxesCollectionSource* source, const gchar* name) {
	BoxesMachine * self = NULL;
	const gchar* _tmp0_ = NULL;
	BoxesCollectionSource* _tmp1_ = NULL;
	BoxesCollectionSource* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
	GCancellable* _tmp4_ = NULL;
	GdkPixbuf* _tmp5_ = NULL;
	GdkPixbuf* _tmp6_ = NULL;
	BoxesMachineActor* _tmp7_ = NULL;
	BoxesApp* _tmp8_ = NULL;
	gulong _tmp9_ = 0UL;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachine*) boxes_collection_item_construct (object_type);
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = name;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_collection_item_set_name ((BoxesCollectionItem*) self, _tmp0_);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = source;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->source);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->source = _tmp2_;
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = g_cancellable_new ();
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_connecting_cancellable (self, _tmp4_);
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_tmp4_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = boxes_machine_draw_fallback_vm (BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT, FALSE);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = _tmp5_;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_pixbuf (self, _tmp6_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_tmp6_);
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = boxes_machine_actor_new (self);
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->machine_actor);
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->machine_actor = _tmp7_;
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_connect_object ((GObject*) self, "notify::ui-state", (GCallback) _boxes_machine_ui_state_changed_g_object_notify, self, 0);
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = boxes_app_app;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = g_signal_connect_object ((GObject*) _tmp8_, "notify::ui-state", (GCallback) ___lambda152__g_object_notify, self, 0);
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->ui_state_id = _tmp9_;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return self;
#line 1069 "machine.c"
}


void boxes_machine_load_screenshot (BoxesMachine* self) {
	GError * _inner_error_ = NULL;
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 1077 "machine.c"
	{
		gchar* _tmp0_ = NULL;
		gchar* _tmp1_ = NULL;
		GdkPixbuf* screenshot = NULL;
		GdkPixbuf* _tmp2_ = NULL;
		GdkPixbuf* _tmp3_ = NULL;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = boxes_machine_get_screenshot_filename (self, &_inner_error_);
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = _tmp1_;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 1090 "machine.c"
			goto __catch45_g_error;
		}
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = gdk_pixbuf_new_from_file (_tmp0_, &_inner_error_);
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		screenshot = _tmp2_;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_free0 (_tmp0_);
#line 1101 "machine.c"
			goto __catch45_g_error;
		}
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = screenshot;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot (self, _tmp3_, FALSE);
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (screenshot);
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp0_);
#line 1112 "machine.c"
	}
	goto __finally45;
	__catch45_g_error:
	{
		GError* _error_ = NULL;
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_error_ = _inner_error_;
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (_error_);
#line 1124 "machine.c"
	}
	__finally45:
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 1135 "machine.c"
	}
}


static gboolean ___lambda46_ (BoxesMachine* self) {
	gboolean result = FALSE;
#line 217 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_update_screenshot (self, FALSE, FALSE, NULL, NULL);
#line 219 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = TRUE;
#line 219 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 1148 "machine.c"
}


static gboolean ____lambda46__gsource_func (gpointer self) {
	gboolean result;
	result = ___lambda46_ ((BoxesMachine*) self);
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 1157 "machine.c"
}


void boxes_machine_set_screenshot_enable (BoxesMachine* self, gboolean enable) {
	gboolean _tmp0_ = FALSE;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = enable;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_) {
#line 1169 "machine.c"
		guint _tmp1_ = 0U;
		gint interval = 0;
		BoxesApp* _tmp2_ = NULL;
		GSettings* _tmp3_ = NULL;
		gint _tmp4_ = 0;
		gint _tmp5_ = 0;
		guint _tmp6_ = 0U;
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->priv->screenshot_id;
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp1_ != ((guint) 0)) {
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			return;
#line 1183 "machine.c"
		}
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_update_screenshot (self, FALSE, TRUE, NULL, NULL);
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = boxes_app_app;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_->settings;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = g_settings_get_int (_tmp3_, "screenshot-interval");
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		interval = _tmp4_;
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = interval;
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp5_, ____lambda46__gsource_func, g_object_ref (self), g_object_unref);
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->screenshot_id = _tmp6_;
#line 1201 "machine.c"
	} else {
		guint _tmp7_ = 0U;
#line 222 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->screenshot_id;
#line 222 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp7_ != ((guint) 0)) {
#line 1208 "machine.c"
			guint _tmp8_ = 0U;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp8_ = self->priv->screenshot_id;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_source_remove (_tmp8_);
#line 1214 "machine.c"
		}
#line 224 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->screenshot_id = (guint) 0;
#line 1218 "machine.c"
	}
}


static gchar* boxes_machine_get_screenshot_filename (BoxesMachine* self, GError** error) {
	gchar* result = NULL;
	BoxesBoxConfig* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	BoxesBoxConfig* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	GError * _inner_error_ = NULL;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->config;
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_box_config_get_uuid (_tmp0_);
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _tmp2_;
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_ == NULL;
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp3_);
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp4_) {
#line 1253 "machine.c"
		GError* _tmp5_ = NULL;
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "no uuid, cannot build screenshot filename");
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = _tmp5_;
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_->domain == BOXES_ERROR) {
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_propagate_error (error, _inner_error_);
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			return NULL;
#line 1265 "machine.c"
		} else {
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_clear_error (&_inner_error_);
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			return NULL;
#line 1273 "machine.c"
		}
	}
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = self->config;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = boxes_box_config_get_uuid (_tmp6_);
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = _tmp7_;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp8_;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = boxes_get_screenshot_filename (_tmp9_);
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = _tmp10_;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp9_);
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp11_;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 1294 "machine.c"
}


static void boxes_machine_save_data_free (gpointer _data) {
	BoxesMachineSaveData* _data_;
	_data_ = _data;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_slice_free (BoxesMachineSaveData, _data_);
#line 1305 "machine.c"
}


void boxes_machine_save (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesMachineSaveData* _data_;
	BoxesMachine* _tmp0_ = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_slice_new0 (BoxesMachineSaveData);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_machine_save);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_machine_save_data_free);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self = _tmp0_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_save_co (_data_);
#line 1324 "machine.c"
}


void boxes_machine_save_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error) {
	BoxesMachineSaveData* _data_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 1334 "machine.c"
	}
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1338 "machine.c"
}


static void boxes_machine_save_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesMachineSaveData* _data_;
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = _user_data_;
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_source_object_ = source_object;
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_res_ = _res_;
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_save_co (_data_);
#line 1352 "machine.c"
}


static gboolean boxes_machine_save_co (BoxesMachineSaveData* _data_) {
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_data_->_state_) {
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case 0:
#line 1361 "machine.c"
		goto _state_0;
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case 1:
#line 1365 "machine.c"
		goto _state_1;
		default:
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_assert_not_reached ();
#line 1370 "machine.c"
	}
	_state_0:
#line 236 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp0_ = 0;
#line 236 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp0_ = boxes_machine_get_state (_data_->self);
#line 236 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp1_ = 0;
#line 236 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 236 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_tmp1_ == BOXES_MACHINE_MACHINE_STATE_SAVED) {
#line 237 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp2_ = NULL;
#line 237 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp2_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _data_->self);
#line 237 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp3_ = NULL;
#line 237 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp3_ = _data_->_tmp2_;
#line 237 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_debug ("machine.vala:237: Not saving '%s' since its already in saved state.", _data_->_tmp3_);
#line 238 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_state_ == 0) {
#line 238 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1397 "machine.c"
		} else {
#line 238 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1401 "machine.c"
		}
#line 238 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_unref (_data_->_async_result);
#line 238 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 1407 "machine.c"
	}
#line 241 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp4_ = NULL;
#line 241 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp4_ = _data_->self->priv->_info;
#line 241 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp5_ = NULL;
#line 241 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp5_ = g_strdup (_data_->_tmp4_);
#line 241 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->info = _data_->_tmp5_;
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp7_ = NULL;
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp7_ = _data_->info;
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_tmp7_ != NULL) {
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp8_ = NULL;
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp8_ = _data_->info;
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp9_ = NULL;
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp9_ = g_strconcat (_data_->_tmp8_, "\n", NULL);
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_data_->_tmp6_);
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp6_ = _data_->_tmp9_;
#line 1437 "machine.c"
	} else {
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp10_ = NULL;
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp10_ = g_strdup ("");
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_data_->_tmp6_);
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp6_ = _data_->_tmp10_;
#line 1447 "machine.c"
	}
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_info (_data_->self, _data_->_tmp6_);
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp11_ = NULL;
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp11_ = _data_->self->priv->_info;
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp12_ = NULL;
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp12_ = _ ("Saving...");
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp13_ = NULL;
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp13_ = g_strconcat (_data_->_tmp11_, _data_->_tmp12_, NULL);
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp14_ = NULL;
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_info (_data_->self, _data_->_tmp14_);
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_data_->_tmp14_);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_state_ = 1;
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_save_real (_data_->self, boxes_machine_save_ready, _data_);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 1477 "machine.c"
	_state_1:
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_save_real_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_inner_error_ != NULL) {
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_error_free (_data_->_inner_error_);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_data_->_tmp6_);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_data_->info);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_state_ == 0) {
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1495 "machine.c"
		} else {
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1499 "machine.c"
		}
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_unref (_data_->_async_result);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 1505 "machine.c"
	}
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp15_ = NULL;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp15_ = _data_->info;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_info (_data_->self, _data_->_tmp15_);
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_data_->_tmp6_);
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_data_->info);
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1521 "machine.c"
	} else {
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1525 "machine.c"
	}
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 1531 "machine.c"
}


static void boxes_machine_real_save_real_data_free (gpointer _data) {
	BoxesMachineSaveRealData* _data_;
	_data_ = _data;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_slice_free (BoxesMachineSaveRealData, _data_);
#line 1542 "machine.c"
}


static void boxes_machine_real_save_real (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesMachineSaveRealData* _data_;
	BoxesMachine* _tmp0_ = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_slice_new0 (BoxesMachineSaveRealData);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_machine_real_save_real);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_machine_real_save_real_data_free);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self = _tmp0_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_real_save_real_co (_data_);
#line 1561 "machine.c"
}


static void boxes_machine_real_save_real_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error) {
	BoxesMachineSaveRealData* _data_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 1571 "machine.c"
	}
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1575 "machine.c"
}


static gboolean boxes_machine_real_save_real_co (BoxesMachineSaveRealData* _data_) {
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_data_->_state_) {
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case 0:
#line 1584 "machine.c"
		goto _state_0;
		default:
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_assert_not_reached ();
#line 1589 "machine.c"
	}
	_state_0:
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1596 "machine.c"
	} else {
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1600 "machine.c"
	}
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 1606 "machine.c"
}


void boxes_machine_save_real (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->save_real (self, _callback_, _user_data_);
#line 1613 "machine.c"
}


void boxes_machine_save_real_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->save_real_finish (self, _res_, error);
#line 1620 "machine.c"
}


static void boxes_machine_real_take_screenshot_data_free (gpointer _data) {
	BoxesMachineTakeScreenshotData* _data_;
	_data_ = _data;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->result);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_slice_free (BoxesMachineTakeScreenshotData, _data_);
#line 1633 "machine.c"
}


static void boxes_machine_real_take_screenshot (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesMachineTakeScreenshotData* _data_;
	BoxesMachine* _tmp0_ = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_slice_new0 (BoxesMachineTakeScreenshotData);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_machine_real_take_screenshot);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_machine_real_take_screenshot_data_free);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self = _tmp0_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_real_take_screenshot_co (_data_);
#line 1652 "machine.c"
}


static GdkPixbuf* boxes_machine_real_take_screenshot_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error) {
	GdkPixbuf* result;
	BoxesMachineTakeScreenshotData* _data_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return NULL;
#line 1663 "machine.c"
	}
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _data_->result;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->result = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 1673 "machine.c"
}


static gboolean boxes_machine_real_take_screenshot_co (BoxesMachineTakeScreenshotData* _data_) {
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_data_->_state_) {
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case 0:
#line 1682 "machine.c"
		goto _state_0;
		default:
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_assert_not_reached ();
#line 1687 "machine.c"
	}
	_state_0:
#line 260 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp0_ = NULL;
#line 260 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp0_ = boxes_machine_get_display (_data_->self);
#line 260 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp1_ = NULL;
#line 260 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 260 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_tmp1_ == NULL) {
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->result = NULL;
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_state_ == 0) {
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1706 "machine.c"
		} else {
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1710 "machine.c"
		}
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_unref (_data_->_async_result);
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 1716 "machine.c"
	}
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp3_ = NULL;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp3_ = boxes_machine_get_display (_data_->self);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp4_ = NULL;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp5_ = NULL;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp5_ = boxes_display_get_pixbuf (_data_->_tmp4_, 0, &_data_->_inner_error_);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp2_ = _data_->_tmp5_;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_inner_error_ != NULL) {
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_error_free (_data_->_inner_error_);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_state_ == 0) {
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1742 "machine.c"
		} else {
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1746 "machine.c"
		}
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_unref (_data_->_async_result);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 1752 "machine.c"
	}
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp6_ = NULL;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp6_ = _data_->_tmp2_;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp2_ = NULL;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->result = _data_->_tmp6_;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1768 "machine.c"
	} else {
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1772 "machine.c"
	}
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1784 "machine.c"
	} else {
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1788 "machine.c"
	}
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 1794 "machine.c"
}


void boxes_machine_take_screenshot (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->take_screenshot (self, _callback_, _user_data_);
#line 1801 "machine.c"
}


GdkPixbuf* boxes_machine_take_screenshot_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return BOXES_MACHINE_GET_CLASS (self)->take_screenshot_finish (self, _res_, error);
#line 1808 "machine.c"
}


static GList* boxes_machine_real_get_properties (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag* flags) {
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_critical ("Type `%s' does not implement abstract method `boxes_machine_get_properties'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return NULL;
#line 1817 "machine.c"
}


GList* boxes_machine_get_properties (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag* flags) {
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return BOXES_MACHINE_GET_CLASS (self)->get_properties (self, page, flags);
#line 1826 "machine.c"
}


gboolean boxes_machine_is_connected (BoxesMachine* self) {
	gboolean result = FALSE;
	BoxesDisplay* _tmp0_ = NULL;
	BoxesDisplay* _tmp1_ = NULL;
	BoxesDisplay* _tmp2_ = NULL;
	BoxesDisplay* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 269 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_machine_get_display (self);
#line 269 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 269 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp1_ == NULL) {
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		result = FALSE;
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return result;
#line 1849 "machine.c"
	}
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = boxes_machine_get_display (self);
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _tmp2_;
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_->connected;
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp4_;
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 1861 "machine.c"
}


void boxes_machine_connect_display (BoxesMachine* self, BoxesMachineConnectFlags flags, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->connect_display (self, flags, _callback_, _user_data_);
#line 1868 "machine.c"
}


void boxes_machine_connect_display_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->connect_display_finish (self, _res_, error);
#line 1875 "machine.c"
}


static void boxes_machine_real_disconnect_display (BoxesMachine* self) {
	BoxesDisplay* _tmp0_ = NULL;
	BoxesDisplay* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	BoxesMachineMachineState _tmp3_ = 0;
	BoxesMachineMachineState _tmp4_ = 0;
	BoxesApp* _tmp14_ = NULL;
	BoxesDisplayPage* _tmp15_ = NULL;
	GtkWidget* _tmp16_ = NULL;
	GtkWidget* _tmp17_ = NULL;
	BoxesDisplay* _tmp18_ = NULL;
	BoxesDisplay* _tmp19_ = NULL;
	gboolean _tmp20_ = FALSE;
	GError * _inner_error_ = NULL;
#line 278 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_machine_get_display (self);
#line 278 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 278 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp1_ == NULL) {
#line 279 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 1901 "machine.c"
	}
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_machine_get_state (self);
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp4_ != BOXES_MACHINE_MACHINE_STATE_STOPPED) {
#line 1909 "machine.c"
		BoxesMachineMachineState _tmp5_ = 0;
		BoxesMachineMachineState _tmp6_ = 0;
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = boxes_machine_get_state (self);
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp5_;
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = _tmp6_ != BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 1918 "machine.c"
	} else {
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = FALSE;
#line 1922 "machine.c"
	}
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp2_) {
#line 1926 "machine.c"
		{
			GdkPixbuf* pixbuf = NULL;
			BoxesDisplay* _tmp7_ = NULL;
			BoxesDisplay* _tmp8_ = NULL;
			GdkPixbuf* _tmp9_ = NULL;
			GdkPixbuf* _tmp10_ = NULL;
#line 283 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp7_ = boxes_machine_get_display (self);
#line 283 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp8_ = _tmp7_;
#line 283 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp9_ = boxes_display_get_pixbuf (_tmp8_, 0, &_inner_error_);
#line 283 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			pixbuf = _tmp9_;
#line 283 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_inner_error_ != NULL) {
#line 1943 "machine.c"
				goto __catch46_g_error;
			}
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = pixbuf;
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp10_ != NULL) {
#line 1950 "machine.c"
				GdkPixbuf* _tmp11_ = NULL;
#line 285 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp11_ = pixbuf;
#line 285 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				boxes_machine_set_screenshot (self, _tmp11_, TRUE);
#line 1956 "machine.c"
			}
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (pixbuf);
#line 1960 "machine.c"
		}
		goto __finally46;
		__catch46_g_error:
		{
			GError* _error_ = NULL;
			GError* _tmp12_ = NULL;
			const gchar* _tmp13_ = NULL;
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_error_ = _inner_error_;
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_inner_error_ = NULL;
#line 287 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp12_ = _error_;
#line 287 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp13_ = _tmp12_->message;
#line 287 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_warning ("machine.vala:287: %s", _tmp13_);
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_error_free0 (_error_);
#line 1980 "machine.c"
		}
		__finally46:
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_clear_error (&_inner_error_);
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			return;
#line 1991 "machine.c"
		}
	}
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = boxes_app_app;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = _tmp14_->display_page;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = boxes_display_page_remove_display (_tmp15_);
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = _tmp16_;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_tmp17_);
#line 292 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = boxes_machine_get_display (self);
#line 292 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = _tmp18_;
#line 292 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = boxes_display_should_keep_alive (_tmp19_);
#line 292 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (!_tmp20_) {
#line 2012 "machine.c"
		BoxesDisplay* _tmp21_ = NULL;
		BoxesDisplay* _tmp22_ = NULL;
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = boxes_machine_get_display (self);
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp22_ = _tmp21_;
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_display_disconnect_it (_tmp22_);
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_display (self, NULL);
#line 2023 "machine.c"
	} else {
		BoxesDisplay* _tmp23_ = NULL;
		BoxesDisplay* _tmp24_ = NULL;
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = boxes_machine_get_display (self);
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = _tmp23_;
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_display_set_enable_audio (_tmp24_, FALSE);
#line 2033 "machine.c"
	}
}


void boxes_machine_disconnect_display (BoxesMachine* self) {
#line 277 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 277 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->disconnect_display (self);
#line 2043 "machine.c"
}


void boxes_machine_create_display_config (BoxesMachine* self, const gchar* uuid) {
	BoxesBoxConfig* _tmp0_ = NULL;
	gchar* group = NULL;
	gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	BoxesCollectionSource* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	BoxesBoxConfig* _tmp10_ = NULL;
	BoxesBoxConfig* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	gchar* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	gboolean _tmp17_ = FALSE;
	gboolean _tmp21_ = FALSE;
	const gchar* _tmp22_ = NULL;
	BoxesBoxConfig* _tmp30_ = NULL;
	gchar* _tmp31_ = NULL;
	gchar* _tmp32_ = NULL;
	gchar* _tmp33_ = NULL;
	gboolean _tmp34_ = FALSE;
	BoxesBoxConfig* _tmp38_ = NULL;
	BoxesBoxConfig* _tmp39_ = NULL;
#line 300 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 300 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->config;
#line 300 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (_tmp0_ == NULL);
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = g_strdup ("display");
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	group = _tmp1_;
#line 305 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = uuid;
#line 305 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp2_ != NULL) {
#line 2085 "machine.c"
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = group;
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = uuid;
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = g_strconcat (" ", _tmp4_, NULL);
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp5_;
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = g_strconcat (_tmp3_, _tmp6_, NULL);
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (group);
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		group = _tmp7_;
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp6_);
#line 2107 "machine.c"
	}
#line 308 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = self->source;
#line 308 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = group;
#line 308 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = boxes_box_config_new_with_group (_tmp8_, _tmp9_);
#line 308 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->config);
#line 308 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->config = _tmp10_;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = self->config;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = boxes_box_config_get_last_seen_name (_tmp11_);
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = _tmp12_;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = _tmp13_;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = _tmp15_;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = g_strcmp0 (_tmp14_, _tmp16_) != 0;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp14_);
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp17_) {
#line 2137 "machine.c"
		BoxesBoxConfig* _tmp18_ = NULL;
		const gchar* _tmp19_ = NULL;
		const gchar* _tmp20_ = NULL;
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp18_ = self->config;
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp19_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp20_ = _tmp19_;
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_box_config_set_last_seen_name (_tmp18_, _tmp20_);
#line 2149 "machine.c"
	}
#line 312 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = uuid;
#line 312 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp22_ != NULL) {
#line 2155 "machine.c"
		BoxesBoxConfig* _tmp23_ = NULL;
		gchar* _tmp24_ = NULL;
		gchar* _tmp25_ = NULL;
		gchar* _tmp26_ = NULL;
		const gchar* _tmp27_ = NULL;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = self->config;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = boxes_box_config_get_uuid (_tmp23_);
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp25_ = _tmp24_;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp26_ = _tmp25_;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp27_ = uuid;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = g_strcmp0 (_tmp26_, _tmp27_) != 0;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp26_);
#line 2175 "machine.c"
	} else {
#line 312 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = FALSE;
#line 2179 "machine.c"
	}
#line 312 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp21_) {
#line 2183 "machine.c"
		BoxesBoxConfig* _tmp28_ = NULL;
		const gchar* _tmp29_ = NULL;
#line 314 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp28_ = self->config;
#line 314 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp29_ = uuid;
#line 314 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_box_config_set_uuid (_tmp28_, _tmp29_);
#line 2192 "machine.c"
	}
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp30_ = self->config;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp31_ = boxes_box_config_get_uuid (_tmp30_);
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp32_ = _tmp31_;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp33_ = _tmp32_;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp34_ = _tmp33_ == NULL;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp33_);
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp34_) {
#line 2208 "machine.c"
		BoxesBoxConfig* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		gchar* _tmp37_ = NULL;
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp35_ = self->config;
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = boxes_uuid_generate ();
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp37_ = _tmp36_;
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_box_config_set_uuid (_tmp35_, _tmp37_);
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp37_);
#line 2222 "machine.c"
	}
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp38_ = self->config;
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_iconfig_save ((BoxesIConfig*) _tmp38_);
#line 300 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (group);
#line 300 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp39_ = self->config;
#line 300 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_warn_if_fail (_tmp39_ != NULL);
#line 2234 "machine.c"
}


gboolean boxes_machine_is_running (BoxesMachine* self) {
	gboolean result = FALSE;
	BoxesMachineMachineState _tmp0_ = 0;
	BoxesMachineMachineState _tmp1_ = 0;
#line 322 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_machine_get_state (self);
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp1_ == BOXES_MACHINE_MACHINE_STATE_RUNNING;
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 2252 "machine.c"
}


gboolean boxes_machine_is_on (BoxesMachine* self) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	BoxesMachineMachineState _tmp2_ = 0;
	BoxesMachineMachineState _tmp3_ = 0;
#line 326 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = boxes_machine_get_state (self);
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _tmp2_;
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp3_ == BOXES_MACHINE_MACHINE_STATE_RUNNING) {
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = TRUE;
#line 2272 "machine.c"
	} else {
		BoxesMachineMachineState _tmp4_ = 0;
		BoxesMachineMachineState _tmp5_ = 0;
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = boxes_machine_get_state (self);
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = _tmp4_;
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = _tmp5_ == BOXES_MACHINE_MACHINE_STATE_PAUSED;
#line 2282 "machine.c"
	}
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp1_) {
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = TRUE;
#line 2288 "machine.c"
	} else {
		BoxesMachineMachineState _tmp6_ = 0;
		BoxesMachineMachineState _tmp7_ = 0;
#line 329 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = boxes_machine_get_state (self);
#line 329 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = _tmp6_;
#line 329 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = _tmp7_ == BOXES_MACHINE_MACHINE_STATE_SLEEPING;
#line 2298 "machine.c"
	}
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 2304 "machine.c"
}


static void boxes_machine_save_pixbuf_as_screenshot (BoxesMachine* self, GdkPixbuf* pixbuf) {
	GError * _inner_error_ = NULL;
#line 332 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 2312 "machine.c"
	{
		gchar* _tmp0_ = NULL;
		gchar* _tmp1_ = NULL;
		GdkPixbuf* _tmp2_ = NULL;
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = boxes_machine_get_screenshot_filename (self, &_inner_error_);
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = _tmp1_;
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 2323 "machine.c"
			goto __catch47_g_error;
		}
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = pixbuf;
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		gdk_pixbuf_save (_tmp2_, _tmp0_, "png", &_inner_error_, NULL);
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_free0 (_tmp0_);
#line 2334 "machine.c"
			goto __catch47_g_error;
		}
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp0_);
#line 2339 "machine.c"
	}
	goto __finally47;
	__catch47_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_error_ = _inner_error_;
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 336 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _error_;
#line 336 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = _tmp3_->message;
#line 336 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_warning ("machine.vala:336: %s", _tmp4_);
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (_error_);
#line 2359 "machine.c"
	}
	__finally47:
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 2370 "machine.c"
	}
}


static gint boxes_machine_pixbuf_energy (BoxesMachine* self, GdkPixbuf* pixbuf) {
	gint result = 0;
	guint8* pixels = NULL;
	GdkPixbuf* _tmp0_ = NULL;
	guint8* _tmp1_ = NULL;
	gint pixels_length1 = 0;
	gint _pixels_size_ = 0;
	gint w = 0;
	GdkPixbuf* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gint h = 0;
	GdkPixbuf* _tmp4_ = NULL;
	gint _tmp5_ = 0;
	gint rowstride = 0;
	GdkPixbuf* _tmp6_ = NULL;
	gint _tmp7_ = 0;
	gint n_channels = 0;
	GdkPixbuf* _tmp8_ = NULL;
	gint _tmp9_ = 0;
	gint energy = 0;
	gint row_start = 0;
	gint _tmp40_ = 0;
	gint _tmp41_ = 0;
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (pixbuf != NULL, 0);
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = pixbuf;
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = gdk_pixbuf_get_pixels (_tmp0_);
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	pixels = _tmp1_;
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	pixels_length1 = -1;
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_pixels_size_ = pixels_length1;
#line 344 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = pixbuf;
#line 344 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = gdk_pixbuf_get_width (_tmp2_);
#line 344 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	w = _tmp3_;
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = pixbuf;
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = gdk_pixbuf_get_height (_tmp4_);
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	h = _tmp5_;
#line 346 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = pixbuf;
#line 346 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = gdk_pixbuf_get_rowstride (_tmp6_);
#line 346 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	rowstride = _tmp7_;
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = pixbuf;
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = gdk_pixbuf_get_n_channels (_tmp8_);
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	n_channels = _tmp9_;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	energy = 0;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	row_start = 0;
#line 2440 "machine.c"
	{
		gint y = 0;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		y = 0;
#line 2445 "machine.c"
		{
			gboolean _tmp10_ = FALSE;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = TRUE;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			while (TRUE) {
#line 2452 "machine.c"
				gint _tmp12_ = 0;
				gint _tmp13_ = 0;
				gint row_energy = 0;
				gint i = 0;
				gint _tmp14_ = 0;
				gint _tmp35_ = 0;
				gint _tmp36_ = 0;
				gint _tmp37_ = 0;
				gint _tmp38_ = 0;
				gint _tmp39_ = 0;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				if (!_tmp10_) {
#line 2465 "machine.c"
					gint _tmp11_ = 0;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp11_ = y;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					y = _tmp11_ + 1;
#line 2471 "machine.c"
				}
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp10_ = FALSE;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp12_ = y;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp13_ = h;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				if (!(_tmp12_ < _tmp13_)) {
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					break;
#line 2483 "machine.c"
				}
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				row_energy = 0;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp14_ = row_start;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				i = _tmp14_;
#line 2491 "machine.c"
				{
					gint x = 0;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					x = 0;
#line 2496 "machine.c"
					{
						gboolean _tmp15_ = FALSE;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
						_tmp15_ = TRUE;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
						while (TRUE) {
#line 2503 "machine.c"
							gint _tmp17_ = 0;
							gint _tmp18_ = 0;
							gint max = 0;
							guint8* _tmp19_ = NULL;
							gint _tmp19__length1 = 0;
							gint _tmp20_ = 0;
							guint8 _tmp21_ = 0U;
							guint8* _tmp22_ = NULL;
							gint _tmp22__length1 = 0;
							gint _tmp23_ = 0;
							guint8 _tmp24_ = 0U;
							gint _tmp25_ = 0;
							guint8* _tmp26_ = NULL;
							gint _tmp26__length1 = 0;
							gint _tmp27_ = 0;
							guint8 _tmp28_ = 0U;
							gint _tmp29_ = 0;
							gint _tmp30_ = 0;
							gint _tmp31_ = 0;
							gint _tmp32_ = 0;
							gint _tmp33_ = 0;
							gint _tmp34_ = 0;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							if (!_tmp15_) {
#line 2528 "machine.c"
								gint _tmp16_ = 0;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
								_tmp16_ = x;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
								x = _tmp16_ + 1;
#line 2534 "machine.c"
							}
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp15_ = FALSE;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp17_ = x;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp18_ = w;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							if (!(_tmp17_ < _tmp18_)) {
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
								break;
#line 2546 "machine.c"
							}
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp19_ = pixels;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp19__length1 = pixels_length1;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp20_ = i;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp21_ = _tmp19_[_tmp20_ + 0];
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp22_ = pixels;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp22__length1 = pixels_length1;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp23_ = i;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp24_ = _tmp22_[_tmp23_ + 1];
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp25_ = MAX ((gint) _tmp21_, (gint) _tmp24_);
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp26_ = pixels;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp26__length1 = pixels_length1;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp27_ = i;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp28_ = _tmp26_[_tmp27_ + 2];
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp29_ = MAX (_tmp25_, (gint) _tmp28_);
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							max = _tmp29_;
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp30_ = row_energy;
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp31_ = max;
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp32_ = max;
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							row_energy = _tmp30_ + (_tmp31_ * _tmp32_);
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp33_ = i;
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp34_ = n_channels;
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
							i = _tmp33_ + _tmp34_;
#line 2592 "machine.c"
						}
					}
				}
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp35_ = energy;
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp36_ = row_energy;
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp37_ = w;
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				energy = _tmp35_ + (_tmp36_ / _tmp37_);
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp38_ = row_start;
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp39_ = rowstride;
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				row_start = _tmp38_ + _tmp39_;
#line 2610 "machine.c"
			}
		}
	}
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp40_ = energy;
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp41_ = h;
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp40_ / _tmp41_;
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 2622 "machine.c"
}


static void boxes_machine_set_screenshot (BoxesMachine* self, GdkPixbuf* large_screenshot, gboolean save) {
	GdkPixbuf* _tmp0_ = NULL;
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = large_screenshot;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != NULL) {
#line 2634 "machine.c"
		gint pw = 0;
		GdkPixbuf* _tmp1_ = NULL;
		gint _tmp2_ = 0;
		gint ph = 0;
		GdkPixbuf* _tmp3_ = NULL;
		gint _tmp4_ = 0;
		gdouble s = 0.0;
		gint _tmp5_ = 0;
		gint _tmp6_ = 0;
		gdouble _tmp7_ = 0.0;
		gint w = 0;
		gint _tmp8_ = 0;
		gdouble _tmp9_ = 0.0;
		gint h = 0;
		gint _tmp10_ = 0;
		gdouble _tmp11_ = 0.0;
		GdkPixbuf* small_screenshot = NULL;
		GdkPixbuf* _tmp12_ = NULL;
		gboolean _tmp13_ = FALSE;
		gboolean _tmp14_ = FALSE;
		gint _tmp15_ = 0;
		gint _tmp16_ = 0;
		GdkPixbuf* _tmp17_ = NULL;
		GdkPixbuf* _tmp18_ = NULL;
		GdkPixbuf* _tmp19_ = NULL;
		gint _tmp20_ = 0;
		gint _tmp21_ = 0;
		gdouble _tmp22_ = 0.0;
		gdouble _tmp23_ = 0.0;
		GdkPixbuf* _tmp24_ = NULL;
		gint _tmp25_ = 0;
		GdkPixbuf* _tmp26_ = NULL;
		GdkPixbuf* _tmp27_ = NULL;
		GdkPixbuf* _tmp28_ = NULL;
		GdkPixbuf* _tmp29_ = NULL;
		GdkPixbuf* _tmp30_ = NULL;
		BoxesMachineActor* _tmp31_ = NULL;
		GdkPixbuf* _tmp32_ = NULL;
		gboolean _tmp33_ = FALSE;
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = large_screenshot;
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = gdk_pixbuf_get_width (_tmp1_);
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		pw = _tmp2_;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = large_screenshot;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = gdk_pixbuf_get_height (_tmp3_);
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		ph = _tmp4_;
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = pw;
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = ph;
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = MIN (((gdouble) BOXES_MACHINE_SCREENSHOT_WIDTH) / _tmp5_, ((gdouble) BOXES_MACHINE_SCREENSHOT_HEIGHT) / _tmp6_);
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		s = _tmp7_;
#line 370 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = pw;
#line 370 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = s;
#line 370 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		w = (gint) (_tmp8_ * _tmp9_);
#line 371 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = ph;
#line 371 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp11_ = s;
#line 371 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		h = (gint) (_tmp10_ * _tmp11_);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp12_ = large_screenshot;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = gdk_pixbuf_get_has_alpha (_tmp12_);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = _tmp13_;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp15_ = w;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp16_ = h;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp17_ = gdk_pixbuf_new (GDK_COLORSPACE_RGB, _tmp14_, 8, _tmp15_, _tmp16_);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		small_screenshot = _tmp17_;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp18_ = large_screenshot;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp19_ = small_screenshot;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp20_ = w;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = h;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp22_ = s;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = s;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		gdk_pixbuf_scale (_tmp18_, _tmp19_, 0, 0, _tmp20_, _tmp21_, (gdouble) 0, (gdouble) 0, _tmp22_, _tmp23_, GDK_INTERP_HYPER);
#line 384 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = small_screenshot;
#line 384 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp25_ = boxes_machine_pixbuf_energy (self, _tmp24_);
#line 384 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp25_ < 50) {
#line 385 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (small_screenshot);
#line 385 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			return;
#line 2744 "machine.c"
		}
#line 387 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp26_ = small_screenshot;
#line 387 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp27_ = _g_object_ref0 (_tmp26_);
#line 387 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self->priv->orig_pixbuf);
#line 387 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->orig_pixbuf = _tmp27_;
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp28_ = small_screenshot;
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp29_ = boxes_machine_draw_vm (self, _tmp28_, BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT);
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp30_ = _tmp29_;
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_pixbuf (self, _tmp30_);
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_tmp30_);
#line 389 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp31_ = self->priv->machine_actor;
#line 389 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp32_ = large_screenshot;
#line 389 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_actor_set_screenshot (_tmp31_, _tmp32_);
#line 390 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp33_ = save;
#line 390 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp33_) {
#line 2774 "machine.c"
			GdkPixbuf* _tmp34_ = NULL;
#line 391 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp34_ = small_screenshot;
#line 391 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_save_pixbuf_as_screenshot (self, _tmp34_);
#line 2780 "machine.c"
		}
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (small_screenshot);
#line 2784 "machine.c"
	} else {
		GdkPixbuf* _tmp35_ = NULL;
		GdkPixbuf* _tmp36_ = NULL;
		BoxesMachineActor* _tmp37_ = NULL;
		GdkPixbuf* _tmp38_ = NULL;
#line 394 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self->priv->orig_pixbuf);
#line 394 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->orig_pixbuf = NULL;
#line 395 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp35_ = boxes_machine_draw_stopped_vm (BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT);
#line 395 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = _tmp35_;
#line 395 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_pixbuf (self, _tmp36_);
#line 395 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_tmp36_);
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp37_ = self->priv->machine_actor;
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp38_ = self->priv->_pixbuf;
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_actor_set_screenshot (_tmp37_, _tmp38_);
#line 2808 "machine.c"
	}
}


static void boxes_machine_update_screenshot_data_free (gpointer _data) {
	BoxesMachineUpdateScreenshotData* _data_;
	_data_ = _data;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_slice_free (BoxesMachineUpdateScreenshotData, _data_);
#line 2820 "machine.c"
}


static void boxes_machine_update_screenshot (BoxesMachine* self, gboolean force_save, gboolean first_check, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesMachineUpdateScreenshotData* _data_;
	BoxesMachine* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_slice_new0 (BoxesMachineUpdateScreenshotData);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_machine_update_screenshot);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_machine_update_screenshot_data_free);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self = _tmp0_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = force_save;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->force_save = _tmp1_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = first_check;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->first_check = _tmp2_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_update_screenshot_co (_data_);
#line 2849 "machine.c"
}


static void boxes_machine_update_screenshot_finish (BoxesMachine* self, GAsyncResult* _res_) {
	BoxesMachineUpdateScreenshotData* _data_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2857 "machine.c"
}


static void boxes_machine_update_screenshot_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesMachineUpdateScreenshotData* _data_;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = _user_data_;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_source_object_ = source_object;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_res_ = _res_;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_update_screenshot_co (_data_);
#line 2871 "machine.c"
}


static gboolean boxes_machine_update_screenshot_co (BoxesMachineUpdateScreenshotData* _data_) {
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_data_->_state_) {
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case 0:
#line 2880 "machine.c"
		goto _state_0;
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case 1:
#line 2884 "machine.c"
		goto _state_1;
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case 2:
#line 2888 "machine.c"
		goto _state_2;
		default:
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_assert_not_reached ();
#line 2893 "machine.c"
	}
	_state_0:
#line 402 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp0_ = FALSE;
#line 402 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp0_ = _data_->self->priv->updating_screenshot;
#line 402 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_tmp0_) {
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_state_ == 0) {
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2906 "machine.c"
		} else {
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2910 "machine.c"
		}
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_unref (_data_->_async_result);
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 2916 "machine.c"
	}
#line 405 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self->priv->updating_screenshot = TRUE;
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->large_screenshot = NULL;
#line 2922 "machine.c"
	{
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_state_ = 1;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_take_screenshot (_data_->self, boxes_machine_update_screenshot_ready, _data_);
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 2930 "machine.c"
		_state_1:
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp2_ = NULL;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp2_ = boxes_machine_take_screenshot_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp1_ = _data_->_tmp2_;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2940 "machine.c"
			goto __catch48_g_error;
		}
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp3_ = NULL;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp3_ = _data_->_tmp1_;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp1_ = NULL;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_data_->large_screenshot);
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->large_screenshot = _data_->_tmp3_;
#line 413 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp4_ = FALSE;
#line 413 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp4_ = _data_->first_check;
#line 413 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_tmp4_) {
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_state_ = 2;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_take_screenshot (_data_->self, boxes_machine_update_screenshot_ready, _data_);
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			return FALSE;
#line 2965 "machine.c"
			_state_2:
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp6_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp6_ = boxes_machine_take_screenshot_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp5_ = _data_->_tmp6_;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_data_->_inner_error_ != NULL) {
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_object_unref0 (_data_->_tmp1_);
#line 2977 "machine.c"
				goto __catch48_g_error;
			}
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp7_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp7_ = _data_->_tmp5_;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp5_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (_data_->large_screenshot);
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->large_screenshot = _data_->_tmp7_;
#line 413 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (_data_->_tmp5_);
#line 2992 "machine.c"
		}
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_data_->_tmp1_);
#line 2996 "machine.c"
	}
	goto __finally48;
	__catch48_g_error:
	{
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_inner_error_ = NULL;
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (_data_->_error_);
#line 3007 "machine.c"
	}
	__finally48:
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_inner_error_ != NULL) {
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_data_->large_screenshot);
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_data_->_inner_error_);
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 3020 "machine.c"
	}
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp8_ = NULL;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp8_ = _data_->large_screenshot;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_tmp8_ != NULL) {
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp10_ = FALSE;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp10_ = _data_->force_save;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_tmp10_) {
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp9_ = TRUE;
#line 3036 "machine.c"
		} else {
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp11_ = 0;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp11_ = _data_->self->priv->screenshot_counter;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->self->priv->screenshot_counter = _data_->_tmp11_ + 1;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp9_ = (_data_->_tmp11_ % 12) == 0;
#line 3046 "machine.c"
		}
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp12_ = NULL;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp12_ = _data_->large_screenshot;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot (_data_->self, _data_->_tmp12_, _data_->_tmp9_);
#line 3054 "machine.c"
	}
#line 421 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self->priv->updating_screenshot = FALSE;
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->large_screenshot);
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3064 "machine.c"
	} else {
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3068 "machine.c"
	}
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 3074 "machine.c"
}


static GdkPixbuf* boxes_machine_draw_vm (BoxesMachine* self, GdkPixbuf* pixbuf, gint width, gint height) {
	GdkPixbuf* result = NULL;
	cairo_surface_t* surface = NULL;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	cairo_surface_t* _tmp2_ = NULL;
	cairo_t* context = NULL;
	cairo_surface_t* _tmp3_ = NULL;
	cairo_t* _tmp4_ = NULL;
	gint pw = 0;
	GdkPixbuf* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	gint ph = 0;
	GdkPixbuf* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	gint x = 0;
	gint _tmp9_ = 0;
	gint _tmp10_ = 0;
	gint y = 0;
	gint _tmp11_ = 0;
	gint _tmp12_ = 0;
	cairo_t* _tmp13_ = NULL;
	gint _tmp14_ = 0;
	gint _tmp15_ = 0;
	gint _tmp16_ = 0;
	gint _tmp17_ = 0;
	cairo_t* _tmp18_ = NULL;
	cairo_t* _tmp19_ = NULL;
	GdkPixbuf* _tmp20_ = NULL;
	gint _tmp21_ = 0;
	gint _tmp22_ = 0;
	cairo_t* _tmp23_ = NULL;
	cairo_t* _tmp24_ = NULL;
	gboolean _tmp25_ = FALSE;
	cairo_surface_t* _tmp37_ = NULL;
	gint _tmp38_ = 0;
	gint _tmp39_ = 0;
	GdkPixbuf* _tmp40_ = NULL;
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (pixbuf != NULL, NULL);
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = width;
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = height;
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp0_, _tmp1_);
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	surface = _tmp2_;
#line 426 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = surface;
#line 426 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = cairo_create (_tmp3_);
#line 426 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	context = _tmp4_;
#line 428 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = pixbuf;
#line 428 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = gdk_pixbuf_get_width (_tmp5_);
#line 428 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	pw = _tmp6_;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = pixbuf;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = gdk_pixbuf_get_height (_tmp7_);
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	ph = _tmp8_;
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = width;
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = pw;
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	x = (_tmp9_ - _tmp10_) / 2;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = height;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = ph;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	y = (_tmp11_ - _tmp12_) / 2;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = context;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = x;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = y;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = pw;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = ph;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_rectangle (_tmp13_, (gdouble) _tmp14_, (gdouble) _tmp15_, (gdouble) _tmp16_, (gdouble) _tmp17_);
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = context;
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_clip (_tmp18_);
#line 436 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = context;
#line 436 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = pixbuf;
#line 436 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = x;
#line 436 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = y;
#line 436 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gdk_cairo_set_source_pixbuf (_tmp19_, _tmp20_, (gdouble) _tmp21_, (gdouble) _tmp22_);
#line 437 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp23_ = context;
#line 437 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_set_operator (_tmp23_, CAIRO_OPERATOR_SOURCE);
#line 438 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp24_ = context;
#line 438 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_paint (_tmp24_);
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp25_ = boxes_machine_is_running (self);
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (!_tmp25_) {
#line 3196 "machine.c"
		cairo_t* _tmp26_ = NULL;
		cairo_t* _tmp27_ = NULL;
		cairo_t* _tmp28_ = NULL;
		cairo_t* _tmp29_ = NULL;
		cairo_pattern_t* grid = NULL;
		cairo_surface_t* _tmp30_ = NULL;
		cairo_pattern_t* _tmp31_ = NULL;
		cairo_pattern_t* _tmp32_ = NULL;
		cairo_t* _tmp33_ = NULL;
		cairo_t* _tmp34_ = NULL;
		cairo_t* _tmp35_ = NULL;
		cairo_pattern_t* _tmp36_ = NULL;
#line 441 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp26_ = context;
#line 441 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_set_source_rgba (_tmp26_, (gdouble) 1, (gdouble) 1, (gdouble) 1, (gdouble) 1);
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp27_ = context;
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_set_operator (_tmp27_, CAIRO_OPERATOR_HSL_SATURATION);
#line 443 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp28_ = context;
#line 443 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_paint (_tmp28_);
#line 445 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp29_ = context;
#line 445 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_scale (_tmp29_, 2.0, 2.0);
#line 446 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp30_ = boxes_machine_grid_surface;
#line 446 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp31_ = cairo_pattern_create_for_surface (_tmp30_);
#line 446 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		grid = _tmp31_;
#line 447 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp32_ = grid;
#line 447 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_pattern_set_extend (_tmp32_, CAIRO_EXTEND_REPEAT);
#line 448 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp33_ = context;
#line 448 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_set_source_rgba (_tmp33_, 0.2, 0.2, 0.2, (gdouble) 1);
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp34_ = context;
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_set_operator (_tmp34_, CAIRO_OPERATOR_ADD);
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp35_ = context;
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = grid;
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_mask (_tmp35_, _tmp36_);
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_cairo_pattern_destroy0 (grid);
#line 3251 "machine.c"
	}
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp37_ = surface;
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp38_ = width;
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp39_ = height;
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp40_ = gdk_pixbuf_get_from_surface (_tmp37_, 0, 0, _tmp38_, _tmp39_);
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp40_;
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_destroy0 (context);
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_surface_destroy0 (surface);
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3269 "machine.c"
}


static GdkPixbuf* boxes_machine_draw_stopped_vm (gint width, gint height) {
	GdkPixbuf* result = NULL;
	cairo_surface_t* surface = NULL;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	cairo_surface_t* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gint _tmp4_ = 0;
	GdkPixbuf* _tmp5_ = NULL;
#line 458 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = width;
#line 458 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = height;
#line 458 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = cairo_image_surface_create (CAIRO_FORMAT_RGB24, _tmp0_, _tmp1_);
#line 458 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	surface = _tmp2_;
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = width;
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = height;
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = gdk_pixbuf_get_from_surface (surface, 0, 0, _tmp3_, _tmp4_);
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp5_;
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_surface_destroy0 (surface);
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3302 "machine.c"
}


static GdkPixbuf* boxes_machine_draw_fallback_vm (gint width, gint height, gboolean force) {
	GdkPixbuf* result = NULL;
	GdkPixbuf* pixbuf = NULL;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gint _tmp2_ = 0;
	GdkPixbuf* _tmp40_ = NULL;
	cairo_surface_t* surface = NULL;
	gint _tmp41_ = 0;
	gint _tmp42_ = 0;
	cairo_surface_t* _tmp43_ = NULL;
	cairo_surface_t* _tmp44_ = NULL;
	gint _tmp45_ = 0;
	gint _tmp46_ = 0;
	GdkPixbuf* _tmp47_ = NULL;
	GError * _inner_error_ = NULL;
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	pixbuf = NULL;
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = width;
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp2_ == BOXES_MACHINE_SCREENSHOT_WIDTH) {
#line 3328 "machine.c"
		gint _tmp3_ = 0;
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = height;
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = _tmp3_ == BOXES_MACHINE_SCREENSHOT_HEIGHT;
#line 3334 "machine.c"
	} else {
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = FALSE;
#line 3338 "machine.c"
	}
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp1_) {
#line 3342 "machine.c"
		gboolean _tmp4_ = FALSE;
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = force;
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = !_tmp4_;
#line 3348 "machine.c"
	} else {
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = FALSE;
#line 3352 "machine.c"
	}
#line 468 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_) {
#line 3356 "machine.c"
		GdkPixbuf* _tmp5_ = NULL;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = boxes_machine_default_fallback;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp5_ != NULL) {
#line 3362 "machine.c"
			GdkPixbuf* _tmp6_ = NULL;
			GdkPixbuf* _tmp7_ = NULL;
#line 470 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp6_ = boxes_machine_default_fallback;
#line 470 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp7_ = _g_object_ref0 (_tmp6_);
#line 470 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			result = _tmp7_;
#line 470 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (pixbuf);
#line 470 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			return result;
#line 3375 "machine.c"
		} else {
			gint _tmp8_ = 0;
			gint _tmp9_ = 0;
			GdkPixbuf* _tmp10_ = NULL;
#line 472 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp8_ = width;
#line 472 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp9_ = height;
#line 472 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = boxes_machine_draw_fallback_vm (_tmp8_, _tmp9_, TRUE);
#line 472 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (boxes_machine_default_fallback);
#line 472 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_default_fallback = _tmp10_;
#line 3390 "machine.c"
		}
	}
	{
		cairo_surface_t* surface = NULL;
		gint _tmp11_ = 0;
		gint _tmp12_ = 0;
		cairo_surface_t* _tmp13_ = NULL;
		cairo_t* context = NULL;
		cairo_surface_t* _tmp14_ = NULL;
		cairo_t* _tmp15_ = NULL;
		gint size = 0;
		gint _tmp16_ = 0;
		GtkIconInfo* icon_info = NULL;
		GtkIconTheme* _tmp17_ = NULL;
		gint _tmp18_ = 0;
		GtkIconInfo* _tmp19_ = NULL;
		GdkPixbuf* _tmp20_ = NULL;
		GtkIconInfo* _tmp21_ = NULL;
		GdkPixbuf* _tmp22_ = NULL;
		cairo_t* _tmp23_ = NULL;
		gint _tmp24_ = 0;
		gint _tmp25_ = 0;
		gint _tmp26_ = 0;
		gint _tmp27_ = 0;
		cairo_t* _tmp28_ = NULL;
		gint _tmp29_ = 0;
		gint _tmp30_ = 0;
		gint _tmp31_ = 0;
		gint _tmp32_ = 0;
		gint _tmp33_ = 0;
		gint _tmp34_ = 0;
		cairo_t* _tmp35_ = NULL;
		cairo_surface_t* _tmp36_ = NULL;
		gint _tmp37_ = 0;
		gint _tmp38_ = 0;
		GdkPixbuf* _tmp39_ = NULL;
#line 475 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp11_ = width;
#line 475 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp12_ = height;
#line 475 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp11_, _tmp12_);
#line 475 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		surface = _tmp13_;
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = surface;
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp15_ = cairo_create (_tmp14_);
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		context = _tmp15_;
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp16_ = height;
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		size = (gint) (_tmp16_ * 0.6);
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp17_ = gtk_icon_theme_get_default ();
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp18_ = size;
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp19_ = gtk_icon_theme_lookup_icon (_tmp17_, "computer-symbolic", _tmp18_, GTK_ICON_LOOKUP_GENERIC_FALLBACK);
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		icon_info = _tmp19_;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = icon_info;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp22_ = gtk_icon_info_load_icon (_tmp21_, &_inner_error_);
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp20_ = _tmp22_;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_gtk_icon_info_free0 (icon_info);
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_cairo_destroy0 (context);
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_cairo_surface_destroy0 (surface);
#line 3467 "machine.c"
			goto __catch49_g_error;
		}
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = context;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = width;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp25_ = size;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp26_ = height;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp27_ = size;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		gdk_cairo_set_source_pixbuf (_tmp23_, _tmp20_, (gdouble) ((_tmp24_ - _tmp25_) / 2), (gdouble) ((_tmp26_ - _tmp27_) / 2));
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp28_ = context;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp29_ = width;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp30_ = size;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp31_ = height;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp32_ = size;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp33_ = size;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp34_ = size;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_rectangle (_tmp28_, (gdouble) ((_tmp29_ - _tmp30_) / 2), (gdouble) ((_tmp31_ - _tmp32_) / 2), (gdouble) _tmp33_, (gdouble) _tmp34_);
#line 484 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp35_ = context;
#line 484 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_fill (_tmp35_);
#line 485 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = surface;
#line 485 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp37_ = width;
#line 485 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp38_ = height;
#line 485 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp39_ = gdk_pixbuf_get_from_surface (_tmp36_, 0, 0, _tmp37_, _tmp38_);
#line 485 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (pixbuf);
#line 485 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		pixbuf = _tmp39_;
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_tmp20_);
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_gtk_icon_info_free0 (icon_info);
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_cairo_destroy0 (context);
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_cairo_surface_destroy0 (surface);
#line 3522 "machine.c"
	}
	goto __finally49;
	__catch49_g_error:
	{
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 3531 "machine.c"
	}
	__finally49:
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (pixbuf);
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return NULL;
#line 3544 "machine.c"
	}
#line 489 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp40_ = pixbuf;
#line 489 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp40_ != NULL) {
#line 490 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		result = pixbuf;
#line 490 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return result;
#line 3554 "machine.c"
	}
#line 492 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp41_ = width;
#line 492 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp42_ = height;
#line 492 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp43_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp41_, _tmp42_);
#line 492 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	surface = _tmp43_;
#line 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp44_ = surface;
#line 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp45_ = width;
#line 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp46_ = height;
#line 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp47_ = gdk_pixbuf_get_from_surface (_tmp44_, 0, 0, _tmp45_, _tmp46_);
#line 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp47_;
#line 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_surface_destroy0 (surface);
#line 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (pixbuf);
#line 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3580 "machine.c"
}


static void boxes_machine_real_delete (BoxesMachine* self, gboolean by_user) {
	gulong _tmp0_ = 0UL;
	BoxesBoxConfig* _tmp3_ = NULL;
	GError * _inner_error_ = NULL;
#line 498 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->deleted = TRUE;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_screenshot_enable (self, FALSE);
#line 501 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->ui_state_id;
#line 501 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 3596 "machine.c"
		BoxesApp* _tmp1_ = NULL;
		gulong _tmp2_ = 0UL;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = boxes_app_app;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = self->priv->ui_state_id;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 503 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->ui_state_id = (gulong) 0;
#line 3607 "machine.c"
	}
#line 506 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = self->config;
#line 506 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_box_config_delete (_tmp3_);
#line 3613 "machine.c"
	{
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = boxes_machine_get_screenshot_filename (self, &_inner_error_);
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = _tmp5_;
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_inner_error_->domain == BOXES_ERROR) {
#line 3625 "machine.c"
				goto __catch50_boxes_error;
			}
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_clear_error (&_inner_error_);
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			return;
#line 3634 "machine.c"
		}
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_unlink (_tmp4_);
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp4_);
#line 3640 "machine.c"
	}
	goto __finally50;
	__catch50_boxes_error:
	{
		GError* e = NULL;
		GError* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		e = _inner_error_;
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 510 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = e;
#line 510 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = _tmp6_->message;
#line 510 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_debug ("machine.vala:510: Could not delete screenshot: %s", _tmp7_);
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (e);
#line 3660 "machine.c"
	}
	__finally50:
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 3671 "machine.c"
	}
}


void boxes_machine_delete (BoxesMachine* self, gboolean by_user) {
#line 497 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 497 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->delete (self, by_user);
#line 3681 "machine.c"
}


static void boxes_machine_ui_state_changed (BoxesMachine* self) {
	BoxesMachineActor* _tmp0_ = NULL;
	BoxesUIState _tmp1_ = 0;
	BoxesUIState _tmp2_ = 0;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	BoxesUIState _tmp5_ = 0;
	BoxesUIState _tmp6_ = 0;
#line 514 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 515 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->machine_actor;
#line 515 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 515 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 515 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_ui_set_state ((BoxesUI*) _tmp0_, _tmp2_);
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = _tmp5_;
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp6_ != BOXES_UI_STATE_DISPLAY) {
#line 3709 "machine.c"
		BoxesUIState _tmp7_ = 0;
		BoxesUIState _tmp8_ = 0;
#line 518 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 518 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = _tmp7_;
#line 518 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = _tmp8_ != BOXES_UI_STATE_PROPERTIES;
#line 3718 "machine.c"
	} else {
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = FALSE;
#line 3722 "machine.c"
	}
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp4_) {
#line 3726 "machine.c"
		BoxesUIState _tmp9_ = 0;
		BoxesUIState _tmp10_ = 0;
#line 519 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 519 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = _tmp9_;
#line 519 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp10_ != BOXES_UI_STATE_CREDS;
#line 3735 "machine.c"
	} else {
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = FALSE;
#line 3739 "machine.c"
	}
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp3_) {
#line 3743 "machine.c"
		BoxesMachineActor* _tmp11_ = NULL;
#line 521 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp11_ = self->priv->machine_actor;
#line 521 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_actor_update_thumbnail (_tmp11_, NULL, FALSE);
#line 522 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_disconnect_display (self);
#line 3751 "machine.c"
	}
}


static gint boxes_machine_real_compare (BoxesCollectionItem* base, BoxesCollectionItem* other) {
	BoxesMachine * self;
	gint result = 0;
	BoxesCollectionItem* _tmp0_ = NULL;
#line 526 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachine*) base;
#line 526 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (other != NULL, 0);
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = other;
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, BOXES_TYPE_MACHINE)) {
#line 3768 "machine.c"
		BoxesBoxConfig* _tmp1_ = NULL;
		BoxesCollectionItem* _tmp2_ = NULL;
		BoxesBoxConfig* _tmp3_ = NULL;
		gint _tmp4_ = 0;
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->config;
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = other;
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp2_) : NULL)->config;
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = boxes_box_config_compare (_tmp1_, _tmp3_);
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		result = _tmp4_;
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return result;
#line 3785 "machine.c"
	} else {
#line 530 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		result = -1;
#line 530 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return result;
#line 3791 "machine.c"
	}
}


static ClutterActor* boxes_machine_real_get_item_actor (BoxesCollectionItem* base) {
	ClutterActor* result;
	BoxesMachine* self;
	BoxesMachineActor* _tmp0_ = NULL;
	ClutterActor* _tmp1_ = NULL;
	ClutterActor* _tmp2_ = NULL;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachine*) base;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->machine_actor;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_ui_get_actor ((BoxesUI*) _tmp0_);
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp2_;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3814 "machine.c"
}


GdkPixbuf* boxes_machine_get_pixbuf (BoxesMachine* self) {
	GdkPixbuf* result;
	GdkPixbuf* _tmp0_ = NULL;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_pixbuf;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3829 "machine.c"
}


void boxes_machine_set_pixbuf (BoxesMachine* self, GdkPixbuf* value) {
	GdkPixbuf* _tmp0_ = NULL;
	GdkPixbuf* _tmp1_ = NULL;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_pixbuf);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_pixbuf = _tmp1_;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "pixbuf");
#line 3848 "machine.c"
}


const gchar* boxes_machine_get_info (BoxesMachine* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_info;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3863 "machine.c"
}


void boxes_machine_set_info (BoxesMachine* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (self->priv->_info);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_info = _tmp1_;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "info");
#line 3882 "machine.c"
}


const gchar* boxes_machine_get_status (BoxesMachine* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_status;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3897 "machine.c"
}


void boxes_machine_set_status (BoxesMachine* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (self->priv->_status);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_status = _tmp1_;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "status");
#line 3916 "machine.c"
}


gboolean boxes_machine_get_can_save (BoxesMachine* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_can_save;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3931 "machine.c"
}


void boxes_machine_set_can_save (BoxesMachine* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_can_save = _tmp0_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "can-save");
#line 3945 "machine.c"
}


gboolean boxes_machine_get_can_delete (BoxesMachine* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_can_delete;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3960 "machine.c"
}


void boxes_machine_set_can_delete (BoxesMachine* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_can_delete = _tmp0_;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "can-delete");
#line 3974 "machine.c"
}


gboolean boxes_machine_get_under_construction (BoxesMachine* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_under_construction;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3989 "machine.c"
}


void boxes_machine_set_under_construction (BoxesMachine* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_under_construction = _tmp0_;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "under-construction");
#line 4003 "machine.c"
}


GCancellable* boxes_machine_get_connecting_cancellable (BoxesMachine* self) {
	GCancellable* result;
	GCancellable* _tmp0_ = NULL;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_connecting_cancellable;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 4018 "machine.c"
}


void boxes_machine_set_connecting_cancellable (BoxesMachine* self, GCancellable* value) {
	GCancellable* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_connecting_cancellable);
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_connecting_cancellable = _tmp1_;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "connecting-cancellable");
#line 4037 "machine.c"
}


BoxesMachineMachineState boxes_machine_get_state (BoxesMachine* self) {
	BoxesMachineMachineState result;
	BoxesMachineMachineState _tmp0_ = 0;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_state;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 4052 "machine.c"
}


void boxes_machine_set_state (BoxesMachine* self, BoxesMachineMachineState value) {
	BoxesMachineMachineState _tmp0_ = 0;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	BoxesMachineMachineState _tmp3_ = 0;
	BoxesMachineMachineState _tmp4_ = 0;
	GEnumValue* _tmp5_;
	gboolean _tmp6_ = FALSE;
	BoxesMachineMachineState _tmp7_ = 0;
	gboolean _tmp13_ = FALSE;
	gboolean _tmp14_ = FALSE;
	gboolean _tmp15_ = FALSE;
	gboolean _tmp16_ = FALSE;
	BoxesDisplay* _tmp17_ = NULL;
	BoxesDisplay* _tmp18_ = NULL;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_state = _tmp0_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_machine_get_state (self);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = g_enum_get_value (g_type_class_ref (BOXES_MACHINE_TYPE_MACHINE_STATE), _tmp4_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_debug ("machine.vala:62: State of '%s' changed to %s", _tmp2_, (_tmp5_ != NULL) ? _tmp5_->value_name : NULL);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = value;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp7_ == BOXES_MACHINE_MACHINE_STATE_STOPPED) {
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = TRUE;
#line 4095 "machine.c"
	} else {
		BoxesMachineMachineState _tmp8_ = 0;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = value;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp8_ == BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 4102 "machine.c"
	}
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp6_) {
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot (self, NULL, FALSE);
#line 4108 "machine.c"
	} else {
		GdkPixbuf* _tmp9_ = NULL;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = self->priv->orig_pixbuf;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp9_ != NULL) {
#line 4115 "machine.c"
			GdkPixbuf* _tmp10_ = NULL;
			GdkPixbuf* _tmp11_ = NULL;
			GdkPixbuf* _tmp12_ = NULL;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = self->priv->orig_pixbuf;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp11_ = boxes_machine_draw_vm (self, _tmp10_, BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp12_ = _tmp11_;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_set_pixbuf (self, _tmp12_);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (_tmp12_);
#line 4129 "machine.c"
		}
	}
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = boxes_machine_get_display (self);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = _tmp17_;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp18_ != NULL) {
#line 4138 "machine.c"
		gboolean _tmp19_ = FALSE;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp19_ = self->stay_on_display;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp16_ = !_tmp19_;
#line 4144 "machine.c"
	} else {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp16_ = FALSE;
#line 4148 "machine.c"
	}
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp16_) {
#line 4152 "machine.c"
		BoxesApp* _tmp20_ = NULL;
		BoxesCollectionItem* _tmp21_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp20_ = boxes_app_app;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = _tmp20_->current_item;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp15_ = _tmp21_ == G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItem);
#line 4161 "machine.c"
	} else {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp15_ = FALSE;
#line 4165 "machine.c"
	}
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp15_) {
#line 4169 "machine.c"
		BoxesMachineMachineState _tmp22_ = 0;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp22_ = value;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = _tmp22_ != BOXES_MACHINE_MACHINE_STATE_RUNNING;
#line 4175 "machine.c"
	} else {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = FALSE;
#line 4179 "machine.c"
	}
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp14_) {
#line 4183 "machine.c"
		BoxesMachineMachineState _tmp23_ = 0;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = value;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = _tmp23_ != BOXES_MACHINE_MACHINE_STATE_UNKNOWN;
#line 4189 "machine.c"
	} else {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = FALSE;
#line 4193 "machine.c"
	}
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp13_) {
#line 4197 "machine.c"
		BoxesApp* _tmp24_ = NULL;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = boxes_app_app;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_ui_set_state ((BoxesUI*) _tmp24_, BOXES_UI_STATE_COLLECTION);
#line 4203 "machine.c"
	}
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "state");
#line 4207 "machine.c"
}


BoxesDisplay* boxes_machine_get_display (BoxesMachine* self) {
	BoxesDisplay* result;
	BoxesDisplay* _tmp0_ = NULL;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_display;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 4222 "machine.c"
}


static void _boxes_machine_display___lambda12_ (BoxesMachine* self, gint id) {
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_show_display (self);
#line 4229 "machine.c"
}


static void __boxes_machine_display___lambda12__boxes_display_show (BoxesDisplay* _sender, gint display_id, gpointer self) {
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda12_ ((BoxesMachine*) self, display_id);
#line 4236 "machine.c"
}


static void _boxes_machine_display___lambda144_ (BoxesMachine* self, gint id) {
	BoxesApp* _tmp0_ = NULL;
	BoxesDisplayPage* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_->display_page;
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = boxes_display_page_remove_display (_tmp1_);
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _tmp2_;
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_tmp3_);
#line 4255 "machine.c"
}


static void __boxes_machine_display___lambda144__boxes_display_hide (BoxesDisplay* _sender, gint display_id, gpointer self) {
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda144_ ((BoxesMachine*) self, display_id);
#line 4262 "machine.c"
}


static void _boxes_machine_display___lambda145_ (BoxesMachine* self, const gchar* message) {
	const gchar* _tmp0_ = NULL;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (message != NULL);
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = message;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_emit_by_name (self, "got-error", _tmp0_);
#line 4274 "machine.c"
}


static void __boxes_machine_display___lambda145__boxes_display_got_error (BoxesDisplay* _sender, const gchar* message, gpointer self) {
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda145_ ((BoxesMachine*) self, message);
#line 4281 "machine.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1304 "/home/zeenix/jhbuild/share/vala-0.24/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1305 "/home/zeenix/jhbuild/share/vala-0.24/vapi/glib-2.0.vapi"
	result = self;
#line 1305 "/home/zeenix/jhbuild/share/vala-0.24/vapi/glib-2.0.vapi"
	return result;
#line 4293 "machine.c"
}


static void _boxes_machine_display___lambda146_ (BoxesMachine* self, gboolean failed) {
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp10_ = FALSE;
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = string_to_string (_tmp1_);
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = g_strconcat ("display ", _tmp2_, " disconnected", NULL);
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_message ("machine.vala:149: %s", _tmp4_);
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp4_);
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = self->stay_on_display;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (!_tmp6_) {
#line 4324 "machine.c"
		BoxesApp* _tmp7_ = NULL;
		BoxesCollectionItem* _tmp8_ = NULL;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = boxes_app_app;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = _tmp7_->current_item;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = _tmp8_ == G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItem);
#line 4333 "machine.c"
	} else {
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = FALSE;
#line 4337 "machine.c"
	}
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp5_) {
#line 4341 "machine.c"
		BoxesApp* _tmp9_ = NULL;
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = boxes_app_app;
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_ui_set_state ((BoxesUI*) _tmp9_, BOXES_UI_STATE_COLLECTION);
#line 4347 "machine.c"
	}
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = failed;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp10_) {
#line 4353 "machine.c"
		BoxesApp* _tmp11_ = NULL;
		BoxesNotificationbar* _tmp12_ = NULL;
		const gchar* _tmp13_ = NULL;
		const gchar* _tmp14_ = NULL;
		const gchar* _tmp15_ = NULL;
		gchar* _tmp16_ = NULL;
		gchar* _tmp17_ = NULL;
		GdNotification* _tmp18_ = NULL;
		GdNotification* _tmp19_ = NULL;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp11_ = boxes_app_app;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp12_ = _tmp11_->notificationbar;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = _ ("Connection to '%s' failed");
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp15_ = _tmp14_;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp16_ = g_strdup_printf (_tmp13_, _tmp15_);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp17_ = _tmp16_;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp18_ = boxes_notificationbar_display_error (_tmp12_, _tmp17_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp19_ = _tmp18_;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_tmp19_);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp17_);
#line 4385 "machine.c"
	}
}


static void __boxes_machine_display___lambda146__boxes_display_disconnected (BoxesDisplay* _sender, gboolean connection_failed, gpointer self) {
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda146_ ((BoxesMachine*) self, connection_failed);
#line 4393 "machine.c"
}


static void _boxes_machine_display___lambda147_ (BoxesMachine* self) {
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	BoxesMachineActor* _tmp5_ = NULL;
	BoxesDisplay* _tmp6_ = NULL;
	BoxesDisplay* _tmp7_ = NULL;
	gboolean _tmp8_ = FALSE;
	gboolean _tmp9_ = FALSE;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _ ("Enter password for %s");
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_status (self, _tmp4_);
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp4_);
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = self->priv->machine_actor;
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = boxes_machine_get_display (self);
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = _tmp6_;
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = boxes_display_get_need_password (_tmp7_);
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp8_;
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_set_password_needed (_tmp5_, _tmp9_);
#line 4434 "machine.c"
}


static void __boxes_machine_display___lambda147__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda147_ ((BoxesMachine*) self);
#line 4441 "machine.c"
}


static void _boxes_machine_display___lambda148_ (BoxesMachine* self) {
	BoxesMachineActor* _tmp0_ = NULL;
	BoxesDisplay* _tmp1_ = NULL;
	BoxesDisplay* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->machine_actor;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_machine_get_display (self);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_display_get_need_username (_tmp2_);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_set_username_needed (_tmp0_, _tmp4_);
#line 4463 "machine.c"
}


static void __boxes_machine_display___lambda148__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda148_ ((BoxesMachine*) self);
#line 4470 "machine.c"
}


void boxes_machine_set_display (BoxesMachine* self, BoxesDisplay* value) {
	BoxesDisplay* _tmp0_ = NULL;
	BoxesDisplay* _tmp15_ = NULL;
	BoxesDisplay* _tmp16_ = NULL;
	BoxesDisplay* _tmp17_ = NULL;
	const gchar* _tmp18_ = NULL;
	const gchar* _tmp19_ = NULL;
	const gchar* _tmp20_ = NULL;
	gchar* _tmp21_ = NULL;
	gchar* _tmp22_ = NULL;
	BoxesDisplay* _tmp23_ = NULL;
	gulong _tmp24_ = 0UL;
	BoxesDisplay* _tmp25_ = NULL;
	gulong _tmp26_ = 0UL;
	BoxesDisplay* _tmp27_ = NULL;
	gulong _tmp28_ = 0UL;
	BoxesDisplay* _tmp29_ = NULL;
	gulong _tmp30_ = 0UL;
	BoxesDisplay* _tmp31_ = NULL;
	gulong _tmp32_ = 0UL;
	BoxesDisplay* _tmp33_ = NULL;
	gulong _tmp34_ = 0UL;
	BoxesDisplay* _tmp35_ = NULL;
	BoxesMachineActor* _tmp36_ = NULL;
	gchar* _tmp37_ = NULL;
	gchar* _tmp38_ = NULL;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_display;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != NULL) {
#line 4506 "machine.c"
		BoxesDisplay* _tmp1_ = NULL;
		gulong _tmp2_ = 0UL;
		guint _tmp3_ = 0U;
		BoxesDisplay* _tmp5_ = NULL;
		gulong _tmp6_ = 0UL;
		BoxesDisplay* _tmp7_ = NULL;
		gulong _tmp8_ = 0UL;
		BoxesDisplay* _tmp9_ = NULL;
		gulong _tmp10_ = 0UL;
		BoxesDisplay* _tmp11_ = NULL;
		gulong _tmp12_ = 0UL;
		BoxesDisplay* _tmp13_ = NULL;
		gulong _tmp14_ = 0UL;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->priv->_display;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = self->priv->show_id;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->show_id = (gulong) 0;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = self->priv->show_timeout_id;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp3_ != ((guint) 0)) {
#line 4532 "machine.c"
			guint _tmp4_ = 0U;
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp4_ = self->priv->show_timeout_id;
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_source_remove (_tmp4_);
#line 4538 "machine.c"
		}
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->show_timeout_id = (guint) 0;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = self->priv->_display;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = self->priv->hide_id;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp5_, _tmp6_);
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->hide_id = (gulong) 0;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->_display;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = self->priv->disconnected_id;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp7_, _tmp8_);
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->disconnected_id = (gulong) 0;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = self->priv->_display;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = self->priv->need_password_id;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp9_, _tmp10_);
#line 124 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->need_password_id = (gulong) 0;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp11_ = self->priv->_display;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp12_ = self->priv->need_username_id;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp11_, _tmp12_);
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->need_username_id = (gulong) 0;
#line 127 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = self->priv->_display;
#line 127 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = self->priv->got_error_id;
#line 127 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp13_, _tmp14_);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->got_error_id = (gulong) 0;
#line 4582 "machine.c"
	}
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = value;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = _g_object_ref0 (_tmp15_);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_display);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_display = _tmp16_;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = self->priv->_display;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp17_ == NULL) {
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 4598 "machine.c"
	}
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = _ ("Connecting to %s");
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = _tmp19_;
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = g_strdup_printf (_tmp18_, _tmp20_);
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = _tmp21_;
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_status (self, _tmp22_);
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp22_);
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp23_ = self->priv->_display;
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp24_ = g_signal_connect_object (_tmp23_, "show", (GCallback) __boxes_machine_display___lambda12__boxes_display_show, self, 0);
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->show_id = _tmp24_;
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp25_ = self->priv->_display;
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp26_ = g_signal_connect_object (_tmp25_, "hide", (GCallback) __boxes_machine_display___lambda144__boxes_display_hide, self, 0);
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->hide_id = _tmp26_;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp27_ = self->priv->_display;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp28_ = g_signal_connect_object (_tmp27_, "got-error", (GCallback) __boxes_machine_display___lambda145__boxes_display_got_error, self, 0);
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->got_error_id = _tmp28_;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp29_ = self->priv->_display;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp30_ = g_signal_connect_object (_tmp29_, "disconnected", (GCallback) __boxes_machine_display___lambda146__boxes_display_disconnected, self, 0);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->disconnected_id = _tmp30_;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp31_ = self->priv->_display;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp32_ = g_signal_connect_object ((GObject*) _tmp31_, "notify::need-password", (GCallback) __boxes_machine_display___lambda147__g_object_notify, self, 0);
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->need_password_id = _tmp32_;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp33_ = self->priv->_display;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp34_ = g_signal_connect_object ((GObject*) _tmp33_, "notify::need-username", (GCallback) __boxes_machine_display___lambda148__g_object_notify, self, 0);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->need_username_id = _tmp34_;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp35_ = self->priv->_display;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp36_ = self->priv->machine_actor;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp37_ = boxes_machine_actor_get_password (_tmp36_);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp38_ = _tmp37_;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_display_set_password (_tmp35_, _tmp38_);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp38_);
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "display");
#line 4664 "machine.c"
}


static void boxes_machine_class_init (BoxesMachineClass * klass) {
	cairo_surface_t* _tmp0_ = NULL;
	cairo_t* cr = NULL;
	cairo_surface_t* _tmp1_ = NULL;
	cairo_t* _tmp2_ = NULL;
	cairo_t* _tmp3_ = NULL;
	cairo_t* _tmp4_ = NULL;
	cairo_t* _tmp5_ = NULL;
	cairo_t* _tmp6_ = NULL;
	cairo_t* _tmp7_ = NULL;
	cairo_t* _tmp8_ = NULL;
	cairo_t* _tmp9_ = NULL;
	cairo_t* _tmp10_ = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_parent_class = g_type_class_peek_parent (klass);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_type_class_add_private (klass, sizeof (BoxesMachinePrivate));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->save_real = boxes_machine_real_save_real;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->save_real_finish = boxes_machine_real_save_real_finish;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->take_screenshot = boxes_machine_real_take_screenshot;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->take_screenshot_finish = boxes_machine_real_take_screenshot_finish;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->get_properties = boxes_machine_real_get_properties;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->disconnect_display = boxes_machine_real_disconnect_display;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->delete = boxes_machine_real_delete;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_COLLECTION_ITEM_CLASS (klass)->compare = boxes_machine_real_compare;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_COLLECTION_ITEM_CLASS (klass)->get_item_actor = boxes_machine_real_get_item_actor;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_machine_get_property;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_machine_set_property;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_machine_finalize;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_ITEM_ACTOR, g_param_spec_object ("item-actor", "item-actor", "item-actor", clutter_actor_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_PIXBUF, g_param_spec_object ("pixbuf", "pixbuf", "pixbuf", GDK_TYPE_PIXBUF, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_INFO, g_param_spec_string ("info", "info", "info", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_STATUS, g_param_spec_string ("status", "status", "status", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_CAN_SAVE, g_param_spec_boolean ("can-save", "can-save", "can-save", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_CAN_DELETE, g_param_spec_boolean ("can-delete", "can-delete", "can-delete", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_UNDER_CONSTRUCTION, g_param_spec_boolean ("under-construction", "under-construction", "under-construction", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_CONNECTING_CANCELLABLE, g_param_spec_object ("connecting-cancellable", "connecting-cancellable", "connecting-cancellable", g_cancellable_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_STATE, g_param_spec_enum ("state", "state", "state", BOXES_MACHINE_TYPE_MACHINE_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_DISPLAY, g_param_spec_object ("display", "display", "display", BOXES_TYPE_DISPLAY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_new ("got_error", BOXES_TYPE_MACHINE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = cairo_image_surface_create (CAIRO_FORMAT_A8, 2, 2);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_surface_destroy0 (boxes_machine_grid_surface);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_grid_surface = _tmp0_;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_machine_grid_surface;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = cairo_create (_tmp1_);
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cr = _tmp2_;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = cr;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_set_source_rgba (_tmp3_, (gdouble) 0, (gdouble) 0, (gdouble) 0, (gdouble) 0);
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = cr;
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_paint (_tmp4_);
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = cr;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_set_source_rgba (_tmp5_, (gdouble) 1, (gdouble) 1, (gdouble) 1, (gdouble) 1);
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = cr;
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_set_operator (_tmp6_, CAIRO_OPERATOR_SOURCE);
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = cr;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_rectangle (_tmp7_, (gdouble) 0, (gdouble) 0, (gdouble) 1, (gdouble) 1);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = cr;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_fill (_tmp8_);
#line 180 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = cr;
#line 180 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_rectangle (_tmp9_, (gdouble) 1, (gdouble) 1, (gdouble) 1, (gdouble) 1);
#line 181 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = cr;
#line 181 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_fill (_tmp10_);
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_destroy0 (cr);
#line 4777 "machine.c"
}


static void boxes_machine_boxes_iproperties_provider_interface_init (BoxesIPropertiesProviderIface * iface) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_boxes_iproperties_provider_parent_iface = g_type_interface_peek_parent (iface);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	iface->get_properties = (GList* (*)(BoxesIPropertiesProvider*, BoxesPropertiesPage, PropertyCreationFlag*)) boxes_machine_get_properties;
#line 4786 "machine.c"
}


static void boxes_machine_instance_init (BoxesMachine * self) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv = BOXES_MACHINE_GET_PRIVATE (self);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_can_save = FALSE;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_can_delete = TRUE;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_under_construction = FALSE;
#line 4799 "machine.c"
}


static void boxes_machine_finalize (GObject* obj) {
	BoxesMachine * self;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_MACHINE, BoxesMachine);
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->machine_actor);
#line 9 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->source);
#line 10 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->config);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_pixbuf);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (self->priv->_info);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (self->priv->_status);
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_connecting_cancellable);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->orig_pixbuf);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_display);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (boxes_machine_parent_class)->finalize (obj);
#line 4827 "machine.c"
}


GType boxes_machine_get_type (void) {
	static volatile gsize boxes_machine_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_machine_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesMachineClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_machine_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesMachine), 0, (GInstanceInitFunc) boxes_machine_instance_init, NULL };
		static const GInterfaceInfo boxes_iproperties_provider_info = { (GInterfaceInitFunc) boxes_machine_boxes_iproperties_provider_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_machine_type_id;
		boxes_machine_type_id = g_type_register_static (BOXES_TYPE_COLLECTION_ITEM, "BoxesMachine", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
		g_type_add_interface_static (boxes_machine_type_id, BOXES_TYPE_IPROPERTIES_PROVIDER, &boxes_iproperties_provider_info);
		g_once_init_leave (&boxes_machine_type_id__volatile, boxes_machine_type_id);
	}
	return boxes_machine_type_id__volatile;
}


static void _vala_boxes_machine_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesMachine * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_MACHINE, BoxesMachine);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (property_id) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_ITEM_ACTOR:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_collection_item_get_item_actor ((BoxesCollectionItem*) self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_PIXBUF:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_machine_get_pixbuf (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_INFO:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_string (value, boxes_machine_get_info (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_STATUS:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_string (value, boxes_machine_get_status (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_CAN_SAVE:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_boolean (value, boxes_machine_get_can_save (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_CAN_DELETE:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_boolean (value, boxes_machine_get_can_delete (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_UNDER_CONSTRUCTION:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_boolean (value, boxes_machine_get_under_construction (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_CONNECTING_CANCELLABLE:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_machine_get_connecting_cancellable (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_STATE:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_enum (value, boxes_machine_get_state (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_DISPLAY:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_machine_get_display (self));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 4910 "machine.c"
		default:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 4916 "machine.c"
	}
}


static void _vala_boxes_machine_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesMachine * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_MACHINE, BoxesMachine);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (property_id) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_PIXBUF:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_pixbuf (self, g_value_get_object (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_INFO:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_info (self, g_value_get_string (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_STATUS:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_status (self, g_value_get_string (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_CAN_SAVE:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_can_save (self, g_value_get_boolean (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_CAN_DELETE:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_can_delete (self, g_value_get_boolean (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_UNDER_CONSTRUCTION:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_under_construction (self, g_value_get_boolean (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_CONNECTING_CANCELLABLE:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_connecting_cancellable (self, g_value_get_object (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_STATE:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_state (self, g_value_get_enum (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_DISPLAY:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_display (self, g_value_get_object (value));
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 4980 "machine.c"
		default:
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 4986 "machine.c"
	}
}


static Block39Data* block39_data_ref (Block39Data* _data39_) {
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_atomic_int_inc (&_data39_->_ref_count_);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return _data39_;
#line 4996 "machine.c"
}


static void block39_data_unref (void * _userdata_) {
	Block39Data* _data39_;
	_data39_ = (Block39Data*) _userdata_;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_atomic_int_dec_and_test (&_data39_->_ref_count_)) {
#line 5005 "machine.c"
		BoxesMachineActor* self;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self = _data39_->self;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_data39_->machine);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_slice_free (Block39Data, _data39_);
#line 5015 "machine.c"
	}
}


static gboolean __lambda149_ (Block39Data* _data39_, GdkEventKey* event) {
	BoxesMachineActor* self;
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GdkEventKey _tmp2_ = {0};
	guint _tmp3_ = 0U;
#line 589 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = _data39_->self;
#line 589 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 590 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = *event;
#line 590 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _tmp2_.keyval;
#line 590 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp3_ == ((guint) GDK_KEY_KP_Enter)) {
#line 590 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = TRUE;
#line 5039 "machine.c"
	} else {
		GdkEventKey _tmp4_ = {0};
		guint _tmp5_ = 0U;
#line 591 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = *event;
#line 591 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = _tmp4_.keyval;
#line 591 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = _tmp5_ == ((guint) GDK_KEY_ISO_Enter);
#line 5049 "machine.c"
	}
#line 590 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp1_) {
#line 590 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = TRUE;
#line 5055 "machine.c"
	} else {
		GdkEventKey _tmp6_ = {0};
		guint _tmp7_ = 0U;
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = *event;
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = _tmp6_.keyval;
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = _tmp7_ == ((guint) GDK_KEY_Return);
#line 5065 "machine.c"
	}
#line 590 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_) {
#line 5069 "machine.c"
		BoxesMachine* _tmp8_ = NULL;
#line 593 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = _data39_->machine;
#line 593 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_connect_display (_tmp8_, BOXES_MACHINE_CONNECT_FLAGS_NONE, NULL, NULL);
#line 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		result = TRUE;
#line 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return result;
#line 5079 "machine.c"
	}
#line 598 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = FALSE;
#line 598 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 5085 "machine.c"
}


static gboolean ___lambda149__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
	gboolean result;
	result = __lambda149_ (self, event);
#line 589 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 5094 "machine.c"
}


static void _boxes_machine_actor_ui_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_ui_state_changed ((BoxesMachineActor*) self);
#line 5101 "machine.c"
}


BoxesMachineActor* boxes_machine_actor_construct (GType object_type, BoxesMachine* machine) {
	BoxesMachineActor * self = NULL;
	Block39Data* _data39_;
	BoxesMachine* _tmp0_ = NULL;
	BoxesMachine* _tmp1_ = NULL;
	BoxesMachine* _tmp2_ = NULL;
	BoxesMachine* _tmp3_ = NULL;
	ClutterBoxLayout* layout = NULL;
	ClutterBoxLayout* _tmp4_ = NULL;
	ClutterActor* _tmp5_ = NULL;
	ClutterActor* _tmp6_ = NULL;
	GtkClutterTexture* _tmp7_ = NULL;
	GtkClutterTexture* _tmp8_ = NULL;
	BoxesMachine* _tmp9_ = NULL;
	GdkPixbuf* _tmp10_ = NULL;
	GdkPixbuf* _tmp11_ = NULL;
	ClutterActor* _tmp12_ = NULL;
	ClutterActor* _tmp13_ = NULL;
	GtkClutterTexture* _tmp14_ = NULL;
	ClutterActor* _tmp15_ = NULL;
	GtkClutterTexture* _tmp16_ = NULL;
	GtkBox* _tmp17_ = NULL;
	GtkBox* _tmp18_ = NULL;
	GtkClutterActor* _tmp19_ = NULL;
	GtkClutterActor* _tmp20_ = NULL;
	GtkClutterActor* _tmp21_ = NULL;
	GtkWidget* _tmp22_ = NULL;
	GtkStyleContext* _tmp23_ = NULL;
	BoxesMachine* _tmp24_ = NULL;
	const gchar* _tmp25_ = NULL;
	const gchar* _tmp26_ = NULL;
	GtkLabel* _tmp27_ = NULL;
	GtkLabel* _tmp28_ = NULL;
	GtkStyleContext* _tmp29_ = NULL;
	BoxesMachine* _tmp30_ = NULL;
	GtkLabel* _tmp31_ = NULL;
	GtkBox* _tmp32_ = NULL;
	GtkLabel* _tmp33_ = NULL;
	GtkBox* _tmp34_ = NULL;
	GtkEntry* _tmp35_ = NULL;
	GtkEntry* _tmp36_ = NULL;
	GtkEntry* _tmp37_ = NULL;
	const gchar* _tmp38_ = NULL;
	GtkEntry* _tmp39_ = NULL;
	GtkBox* _tmp40_ = NULL;
	GtkEntry* _tmp41_ = NULL;
	GtkBox* _tmp42_ = NULL;
	GtkEntry* _tmp43_ = NULL;
	ClutterActor* _tmp44_ = NULL;
	GtkClutterActor* _tmp45_ = NULL;
	ClutterActor* _tmp46_ = NULL;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data39_ = g_slice_new0 (Block39Data);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data39_->_ref_count_ = 1;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = machine;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data39_->machine);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data39_->machine = _tmp1_;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) g_object_new (object_type, NULL);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data39_->self = g_object_ref (self);
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _data39_->machine;
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->machine);
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->machine = _tmp3_;
#line 558 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = (ClutterBoxLayout*) clutter_box_layout_new ();
#line 558 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp4_);
#line 558 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	layout = _tmp4_;
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_box_layout_set_orientation (layout, CLUTTER_ORIENTATION_VERTICAL);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_box_layout_set_spacing (layout, (guint) 10);
#line 561 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = clutter_actor_new ();
#line 561 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp5_);
#line 561 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->_actor);
#line 561 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->_actor = _tmp5_;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = self->_actor;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_layout_manager (_tmp6_, (ClutterLayoutManager*) layout);
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = (GtkClutterTexture*) gtk_clutter_texture_new ();
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp7_);
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->screenshot);
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->screenshot = _tmp7_;
#line 565 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = self->priv->screenshot;
#line 565 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp8_, "screenshot");
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _data39_->machine;
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = boxes_machine_get_pixbuf (_tmp9_);
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = _tmp10_;
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_set_screenshot (self, _tmp11_);
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = self->_actor;
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = self->_actor;
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp13_, "natural-width", (gfloat) BOXES_MACHINE_SCREENSHOT_WIDTH, NULL);
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp12_, "min-width", (gfloat) BOXES_MACHINE_SCREENSHOT_WIDTH, NULL);
#line 569 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = self->priv->screenshot;
#line 569 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_texture_set_keep_aspect_ratio ((ClutterTexture*) _tmp14_, TRUE);
#line 570 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = self->_actor;
#line 570 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = self->priv->screenshot;
#line 570 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_container_add ((ClutterContainer*) _tmp15_, (ClutterActor*) _tmp16_, NULL);
#line 572 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 572 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp17_);
#line 572 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->vbox);
#line 572 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->vbox = _tmp17_;
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = self->priv->vbox;
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = (GtkClutterActor*) gtk_clutter_actor_new_with_contents ((GtkWidget*) _tmp18_);
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp19_);
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->gtk_vbox);
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->gtk_vbox = _tmp19_;
#line 576 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = self->priv->gtk_vbox;
#line 576 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_height ((ClutterActor*) _tmp20_, (gfloat) 80);
#line 578 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = self->priv->gtk_vbox;
#line 578 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = gtk_clutter_actor_get_widget (_tmp21_);
#line 578 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp23_ = gtk_widget_get_style_context (_tmp22_);
#line 578 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_style_context_add_class (_tmp23_, "boxes-bg");
#line 580 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp24_ = _data39_->machine;
#line 580 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp25_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp24_);
#line 580 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp26_ = _tmp25_;
#line 580 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp27_ = (GtkLabel*) gtk_label_new (_tmp26_);
#line 580 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp27_);
#line 580 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->label);
#line 580 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->label = _tmp27_;
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp28_ = self->priv->label;
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp29_ = gtk_widget_get_style_context ((GtkWidget*) _tmp28_);
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_style_context_add_class (_tmp29_, "boxes-machine-name-label");
#line 582 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp30_ = _data39_->machine;
#line 582 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp31_ = self->priv->label;
#line 582 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp30_, "name", (GObject*) _tmp31_, "label", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 583 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp32_ = self->priv->vbox;
#line 583 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp33_ = self->priv->label;
#line 583 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_container_add ((GtkContainer*) _tmp32_, (GtkWidget*) _tmp33_);
#line 584 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp34_ = self->priv->vbox;
#line 584 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp34_, GTK_ALIGN_START);
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp35_ = (GtkEntry*) gtk_entry_new ();
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp35_);
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->password_entry = _tmp35_;
#line 586 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp36_ = self->priv->password_entry;
#line 586 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_entry_set_visibility (_tmp36_, FALSE);
#line 587 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp37_ = self->priv->password_entry;
#line 587 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp38_ = _ ("Password");
#line 587 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_entry_set_placeholder_text (_tmp37_, _tmp38_);
#line 588 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_set_password_needed (self, FALSE);
#line 589 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp39_ = self->priv->password_entry;
#line 589 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_connect_data ((GtkWidget*) _tmp39_, "key-press-event", (GCallback) ___lambda149__gtk_widget_key_press_event, block39_data_ref (_data39_), (GClosureNotify) block39_data_unref, 0);
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp40_ = self->priv->vbox;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp41_ = self->priv->password_entry;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_container_add ((GtkContainer*) _tmp40_, (GtkWidget*) _tmp41_);
#line 602 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp42_ = self->priv->vbox;
#line 602 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp42_);
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp43_ = self->priv->password_entry;
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_hide ((GtkWidget*) _tmp43_);
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp44_ = self->_actor;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp45_ = self->priv->gtk_vbox;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_container_add ((ClutterContainer*) _tmp44_, (ClutterActor*) _tmp45_, NULL);
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp46_ = self->_actor;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_reactive (_tmp46_, TRUE);
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_connect_object ((GObject*) self, "notify::ui-state", (GCallback) _boxes_machine_actor_ui_state_changed_g_object_notify, self, 0);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (layout);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	block39_data_unref (_data39_);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_data39_ = NULL;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return self;
#line 5366 "machine.c"
}


BoxesMachineActor* boxes_machine_actor_new (BoxesMachine* machine) {
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return boxes_machine_actor_construct (BOXES_TYPE_MACHINE_ACTOR, machine);
#line 5373 "machine.c"
}


void boxes_machine_actor_set_screenshot (BoxesMachineActor* self, GdkPixbuf* pixbuf) {
	GError * _inner_error_ = NULL;
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (pixbuf != NULL);
#line 5383 "machine.c"
	{
		GtkClutterTexture* _tmp0_ = NULL;
		GdkPixbuf* _tmp1_ = NULL;
		GtkClutterTexture* _tmp2_ = NULL;
#line 613 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = self->priv->screenshot;
#line 613 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = pixbuf;
#line 613 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		gtk_clutter_texture_set_from_pixbuf (_tmp0_, _tmp1_, &_inner_error_);
#line 613 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 5396 "machine.c"
			goto __catch51_g_error;
		}
#line 614 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = self->priv->thumbnail_screenshot;
#line 614 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp2_ != NULL) {
#line 5403 "machine.c"
			GtkClutterTexture* _tmp3_ = NULL;
			GdkPixbuf* _tmp4_ = NULL;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp3_ = self->priv->thumbnail_screenshot;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp4_ = pixbuf;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_clutter_texture_set_from_pixbuf (_tmp3_, _tmp4_, &_inner_error_);
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_inner_error_ != NULL) {
#line 5414 "machine.c"
				goto __catch51_g_error;
			}
		}
	}
	goto __finally51;
	__catch51_g_error:
	{
		GError* err = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		err = _inner_error_;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 617 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = err;
#line 617 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp5_->message;
#line 617 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_warning ("machine.vala:617: %s", _tmp6_);
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (err);
#line 5437 "machine.c"
	}
	__finally51:
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 5448 "machine.c"
	}
}


void boxes_machine_actor_set_password_needed (BoxesMachineActor* self, gboolean needed) {
	ClutterActor* _tmp0_ = NULL;
	GtkEntry* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GtkEntry* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 622 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->_actor;
#line 622 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_queue_relayout (_tmp0_);
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = self->priv->password_entry;
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = needed;
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp1_, _tmp2_);
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = self->priv->password_entry;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = needed;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_set_can_focus ((GtkWidget*) _tmp3_, _tmp4_);
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = needed;
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp5_) {
#line 5482 "machine.c"
		GtkEntry* _tmp6_ = NULL;
		BoxesMachine* _tmp7_ = NULL;
#line 626 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = self->priv->password_entry;
#line 626 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp6_);
#line 627 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->machine;
#line 627 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_display (_tmp7_, NULL);
#line 5493 "machine.c"
	}
}


void boxes_machine_actor_set_username_needed (BoxesMachineActor* self, gboolean needed) {
	gboolean _tmp0_ = FALSE;
#line 631 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 632 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_debug ("machine.vala:632: FIXME: Do something about fetching username when req" \
"uired?");
#line 633 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = needed;
#line 633 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_) {
#line 5508 "machine.c"
		BoxesMachine* _tmp1_ = NULL;
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->priv->machine;
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_display (_tmp1_, NULL);
#line 5514 "machine.c"
	}
}


gchar* boxes_machine_actor_get_password (BoxesMachineActor* self) {
	gchar* result = NULL;
	GtkEntry* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 637 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 638 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->password_entry;
#line 638 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 638 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 638 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 638 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp3_;
#line 638 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 5539 "machine.c"
}


static GtkWidget* boxes_machine_actor_steal_display_widget_from_thumbnail (BoxesMachineActor* self) {
	GtkWidget* result = NULL;
	GtkWidget* widget = NULL;
	ClutterActor* _tmp0_ = NULL;
	ClutterActor* _tmp5_ = NULL;
	GtkWidget* _tmp6_ = NULL;
#line 641 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	widget = NULL;
#line 643 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->thumbnail;
#line 643 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, gtk_clutter_actor_get_type ())) {
#line 5557 "machine.c"
		ClutterActor* _tmp1_ = NULL;
		GtkWidget* _tmp2_ = NULL;
		GtkWidget* _tmp3_ = NULL;
		ClutterActor* _tmp4_ = NULL;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->priv->thumbnail;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_get (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_clutter_actor_get_type ()) ? ((GtkClutterActor*) _tmp1_) : NULL, "contents", &_tmp2_, NULL);
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (widget);
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		widget = _tmp3_;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = self->priv->thumbnail;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_set (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, gtk_clutter_actor_get_type ()) ? ((GtkClutterActor*) _tmp4_) : NULL, "contents", NULL, NULL);
#line 5576 "machine.c"
	}
#line 647 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = self->priv->thumbnail;
#line 647 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_destroy (_tmp5_);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->thumbnail);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->thumbnail = NULL;
#line 649 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->thumbnail_screenshot);
#line 649 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->thumbnail_screenshot = NULL;
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = widget;
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp6_ != NULL) {
#line 5594 "machine.c"
		BoxesMachine* _tmp7_ = NULL;
		BoxesDisplay* _tmp8_ = NULL;
		BoxesDisplay* _tmp9_ = NULL;
		GtkWidget* _tmp10_ = NULL;
#line 652 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->machine;
#line 652 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = boxes_machine_get_display (_tmp7_);
#line 652 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = _tmp8_;
#line 652 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = widget;
#line 652 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_display_set_enable_inputs (_tmp9_, _tmp10_, TRUE);
#line 5609 "machine.c"
	}
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = widget;
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 5615 "machine.c"
}


static Block40Data* block40_data_ref (Block40Data* _data40_) {
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_atomic_int_inc (&_data40_->_ref_count_);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return _data40_;
#line 5624 "machine.c"
}


static void block40_data_unref (void * _userdata_) {
	Block40Data* _data40_;
	_data40_ = (Block40Data*) _userdata_;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_atomic_int_dec_and_test (&_data40_->_ref_count_)) {
#line 5633 "machine.c"
		BoxesMachineActor* self;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self = _data40_->self;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		(_data40_->update_screenshot_alloc_target_destroy_notify == NULL) ? NULL : (_data40_->update_screenshot_alloc_target_destroy_notify (_data40_->update_screenshot_alloc_target), NULL);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_->update_screenshot_alloc = NULL;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_->update_screenshot_alloc_target = NULL;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_->update_screenshot_alloc_target_destroy_notify = NULL;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_slice_free (Block40Data, _data40_);
#line 5649 "machine.c"
	}
}


static void ____lambda139_ (BoxesMachineActor* self) {
	BoxesApp* _tmp0_ = NULL;
#line 710 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 710 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_ui_set_state ((BoxesUI*) _tmp0_, BOXES_UI_STATE_DISPLAY);
#line 5660 "machine.c"
}


static void _____lambda139__clutter_click_action_clicked (ClutterClickAction* _sender, ClutterActor* actor, gpointer self) {
#line 709 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	____lambda139_ ((BoxesMachineActor*) self);
#line 5667 "machine.c"
}


static void _____lambda140_ (BoxesMachineActor* self) {
	BoxesApp* _tmp0_ = NULL;
	BoxesMachine* _tmp1_ = NULL;
	ClutterActor* _tmp2_ = NULL;
	ClutterActorBox* _tmp3_ = NULL;
	ClutterActorBox* _tmp4_ = NULL;
	gfloat _tmp5_ = 0.0F;
	ClutterActor* _tmp6_ = NULL;
	ClutterActorBox* _tmp7_ = NULL;
	ClutterActorBox* _tmp8_ = NULL;
	gfloat _tmp9_ = 0.0F;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = self->priv->machine;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = self->priv->thumbnail;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_get (_tmp2_, "allocation", &_tmp3_, NULL);
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = (*_tmp4_).x1;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = self->priv->thumbnail;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_get (_tmp6_, "allocation", &_tmp7_, NULL);
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = _tmp7_;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = (*_tmp8_).y1;
#line 716 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_app_connect_to (_tmp0_, _tmp1_, _tmp5_, _tmp9_, BOXES_MACHINE_CONNECT_FLAGS_NONE);
#line 717 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_update_thumbnail (self, NULL, FALSE);
#line 5706 "machine.c"
}


static void ______lambda140__clutter_click_action_clicked (ClutterClickAction* _sender, ClutterActor* actor, gpointer self) {
#line 715 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_____lambda140_ ((BoxesMachineActor*) self);
#line 5713 "machine.c"
}


static void ___lambda141_ (BoxesMachineActor* self, ClutterActor* thumbnail) {
	GtkAllocation alloc = {0};
	BoxesApp* _tmp0_ = NULL;
	BoxesSidebar* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkAllocation _tmp3_ = {0};
	guint d = 0U;
	ClutterActor* _tmp4_ = NULL;
	guint _tmp5_ = 0U;
	ClutterActor* _tmp6_ = NULL;
	ClutterActor* _tmp7_ = NULL;
	GtkAllocation _tmp8_ = {0};
	gint _tmp9_ = 0;
	ClutterActor* _tmp10_ = NULL;
	GtkAllocation _tmp11_ = {0};
	gint _tmp12_ = 0;
	ClutterActor* _tmp13_ = NULL;
	ClutterActor* _tmp14_ = NULL;
	GtkAllocation _tmp15_ = {0};
	gint _tmp16_ = 0;
	ClutterActor* _tmp17_ = NULL;
	ClutterActor* _tmp18_ = NULL;
	GtkAllocation _tmp19_ = {0};
	gint _tmp20_ = 0;
	ClutterActor* _tmp21_ = NULL;
#line 721 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (thumbnail != NULL);
#line 724 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 724 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_->sidebar;
#line 724 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_->screenshot_placeholder;
#line 724 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_get_allocation (_tmp2_, &_tmp3_);
#line 724 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	alloc = _tmp3_;
#line 733 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = thumbnail;
#line 733 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = clutter_actor_get_easing_duration (_tmp4_);
#line 733 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	d = _tmp5_;
#line 734 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = thumbnail;
#line 734 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_easing_duration (_tmp6_, (guint) 0);
#line 735 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = thumbnail;
#line 735 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = alloc;
#line 735 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp8_.x;
#line 735 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp7_, "fixed-x", (gfloat) _tmp9_, NULL);
#line 736 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = thumbnail;
#line 736 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = alloc;
#line 736 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = _tmp11_.y;
#line 736 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp10_, "fixed-y", (gfloat) _tmp12_, NULL);
#line 737 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = thumbnail;
#line 737 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = thumbnail;
#line 737 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = alloc;
#line 737 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = _tmp15_.width;
#line 737 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp14_, "natural-width", (gfloat) _tmp16_, NULL);
#line 737 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp13_, "min-width", (gfloat) _tmp16_, NULL);
#line 738 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = thumbnail;
#line 738 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = thumbnail;
#line 738 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = alloc;
#line 738 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = _tmp19_.height;
#line 738 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp18_, "natural-height", (gfloat) _tmp20_, NULL);
#line 738 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp17_, "min-height", (gfloat) _tmp20_, NULL);
#line 739 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = thumbnail;
#line 739 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_easing_duration (_tmp21_, d);
#line 5808 "machine.c"
}


static void ____lambda141__boxes_actor_func (ClutterActor* actor, gpointer self) {
#line 721 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	___lambda141_ ((BoxesMachineActor*) self, actor);
#line 5815 "machine.c"
}


static gboolean __lambda143_ (Block40Data* _data40_) {
	BoxesMachineActor* self;
	gboolean result = FALSE;
	BoxesActorFunc _tmp0_ = NULL;
	void* _tmp0__target = NULL;
	ClutterActor* _tmp1_ = NULL;
#line 745 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = _data40_->self;
#line 746 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _data40_->update_screenshot_alloc;
#line 746 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0__target = _data40_->update_screenshot_alloc_target;
#line 746 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = self->priv->thumbnail;
#line 746 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ (_tmp1_, _tmp0__target);
#line 747 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = FALSE;
#line 747 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 5839 "machine.c"
}


static gboolean ___lambda143__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda143_ (self);
#line 745 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 5848 "machine.c"
}


static void ___lambda142_ (Block40Data* _data40_) {
	BoxesMachineActor* self;
#line 742 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = _data40_->self;
#line 745 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_idle_add_full (G_PRIORITY_HIGH, ___lambda143__gsource_func, block40_data_ref (_data40_), block40_data_unref);
#line 5858 "machine.c"
}


static void ____lambda142__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 742 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	___lambda142_ (self);
#line 5865 "machine.c"
}


void boxes_machine_actor_update_thumbnail (BoxesMachineActor* self, GtkWidget* display_widget, gboolean zoom) {
	gulong _tmp0_ = 0UL;
	ClutterActor* _tmp5_ = NULL;
	BoxesUIState _tmp8_ = 0;
	BoxesUIState _tmp9_ = 0;
	GError * _inner_error_ = NULL;
#line 657 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 658 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->track_screenshot_id;
#line 658 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 5881 "machine.c"
		BoxesApp* _tmp1_ = NULL;
		BoxesSidebar* _tmp2_ = NULL;
		GtkWidget* _tmp3_ = NULL;
		gulong _tmp4_ = 0UL;
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = boxes_app_app;
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = _tmp1_->sidebar;
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_->screenshot_placeholder;
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = self->priv->track_screenshot_id;
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 5896 "machine.c"
	}
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->track_screenshot_id = (gulong) 0;
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = self->priv->thumbnail;
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp5_ != NULL) {
#line 5904 "machine.c"
		ClutterActor* _tmp6_ = NULL;
		ClutterActor* _tmp7_ = NULL;
#line 663 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = self->priv->thumbnail;
#line 663 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_actor_remove (_tmp6_);
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->thumbnail;
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_destroy (_tmp7_);
#line 665 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self->priv->thumbnail);
#line 665 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->thumbnail = NULL;
#line 666 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self->priv->thumbnail_screenshot);
#line 666 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->thumbnail_screenshot = NULL;
#line 5923 "machine.c"
	}
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp8_;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp9_ == BOXES_UI_STATE_PROPERTIES) {
#line 5931 "machine.c"
		Block40Data* _data40_;
		GtkWidget* _tmp10_ = NULL;
		ClutterActor* _tmp40_ = NULL;
		ClutterActor* _tmp41_ = NULL;
		ClutterActor* _tmp42_ = NULL;
		BoxesApp* _tmp43_ = NULL;
		ClutterActor* _tmp44_ = NULL;
		ClutterActor* _tmp45_ = NULL;
		ClutterClickAction* click = NULL;
		ClutterClickAction* _tmp46_ = NULL;
		ClutterActor* _tmp47_ = NULL;
		ClutterClickAction* _tmp48_ = NULL;
		GtkWidget* _tmp49_ = NULL;
		BoxesApp* _tmp58_ = NULL;
		BoxesSidebar* _tmp59_ = NULL;
		GtkWidget* _tmp60_ = NULL;
		gulong _tmp61_ = 0UL;
		gboolean _tmp62_ = FALSE;
		BoxesActorFunc _tmp64_ = NULL;
		void* _tmp64__target = NULL;
		ClutterActor* _tmp65_ = NULL;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_ = g_slice_new0 (Block40Data);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_->_ref_count_ = 1;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_->self = g_object_ref (self);
#line 670 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = display_widget;
#line 670 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp10_ != NULL) {
#line 5963 "machine.c"
			GtkWidget* _tmp11_ = NULL;
			GtkClutterActor* _tmp12_ = NULL;
#line 671 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp11_ = display_widget;
#line 671 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp12_ = (GtkClutterActor*) gtk_clutter_actor_new_with_contents (_tmp11_);
#line 671 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_object_ref_sink (_tmp12_);
#line 671 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (self->priv->thumbnail);
#line 671 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			self->priv->thumbnail = (ClutterActor*) _tmp12_;
#line 5976 "machine.c"
		} else {
			GtkClutterTexture* _tmp13_ = NULL;
			GtkClutterTexture* _tmp14_ = NULL;
			GdkPixbuf* pixbuf = NULL;
			BoxesUIState _tmp15_ = 0;
			BoxesUIState _tmp16_ = 0;
			GtkClutterTexture* _tmp38_ = NULL;
			ClutterActor* _tmp39_ = NULL;
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp13_ = (GtkClutterTexture*) gtk_clutter_texture_new ();
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_object_ref_sink (_tmp13_);
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (self->priv->thumbnail_screenshot);
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			self->priv->thumbnail_screenshot = _tmp13_;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp14_ = self->priv->thumbnail_screenshot;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_reactive ((ClutterActor*) _tmp14_, TRUE);
#line 676 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			pixbuf = NULL;
#line 677 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp15_ = boxes_ui_get_previous_ui_state ((BoxesUI*) self);
#line 677 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp16_ = _tmp15_;
#line 677 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp16_ == BOXES_UI_STATE_WIZARD) {
#line 6005 "machine.c"
				GtkIconTheme* theme = NULL;
				BoxesApp* _tmp17_ = NULL;
				GtkApplicationWindow* _tmp18_ = NULL;
				GdkScreen* _tmp19_ = NULL;
				GtkIconTheme* _tmp20_ = NULL;
				GtkIconTheme* _tmp21_ = NULL;
				GdkPixbuf* _tmp22_ = NULL;
				GdkPixbuf* _tmp23_ = NULL;
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp17_ = boxes_app_app;
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp18_ = _tmp17_->window;
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp19_ = gtk_window_get_screen ((GtkWindow*) _tmp18_);
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp20_ = gtk_icon_theme_get_for_screen (_tmp19_);
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp21_ = _g_object_ref0 (_tmp20_);
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				theme = _tmp21_;
#line 679 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp22_ = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT);
#line 679 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_object_unref0 (pixbuf);
#line 679 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				pixbuf = _tmp22_;
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp23_ = pixbuf;
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				gdk_pixbuf_fill (_tmp23_, (guint32) 0x00000000);
#line 6036 "machine.c"
				{
					GdkPixbuf* icon = NULL;
					GtkIconTheme* _tmp24_ = NULL;
					GdkPixbuf* _tmp25_ = NULL;
					GdkPixbuf* _tmp26_ = NULL;
					GdkPixbuf* _tmp27_ = NULL;
#line 683 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp24_ = theme;
#line 683 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp25_ = gtk_icon_theme_load_icon (_tmp24_, "media-optical", BOXES_MACHINE_SCREENSHOT_HEIGHT, 0, &_inner_error_);
#line 683 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					icon = _tmp25_;
#line 683 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					if (_inner_error_ != NULL) {
#line 6051 "machine.c"
						goto __catch52_g_error;
					}
#line 685 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp26_ = icon;
#line 685 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp27_ = pixbuf;
#line 685 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					gdk_pixbuf_copy_area (_tmp26_, 0, 0, BOXES_MACHINE_SCREENSHOT_HEIGHT, BOXES_MACHINE_SCREENSHOT_HEIGHT, _tmp27_, (BOXES_MACHINE_SCREENSHOT_WIDTH - BOXES_MACHINE_SCREENSHOT_HEIGHT) / 2, 0);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_object_unref0 (icon);
#line 6062 "machine.c"
				}
				goto __finally52;
				__catch52_g_error:
				{
					GError* err = NULL;
					GError* _tmp28_ = NULL;
					const gchar* _tmp29_ = NULL;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					err = _inner_error_;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_inner_error_ = NULL;
#line 688 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp28_ = err;
#line 688 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp29_ = _tmp28_->message;
#line 688 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					g_warning ("machine.vala:688: %s", _tmp29_);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_error_free0 (err);
#line 6082 "machine.c"
				}
				__finally52:
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				if (_inner_error_ != NULL) {
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_object_unref0 (theme);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_object_unref0 (pixbuf);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					block40_data_unref (_data40_);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_data40_ = NULL;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					g_clear_error (&_inner_error_);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					return;
#line 6101 "machine.c"
				}
#line 677 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_object_unref0 (theme);
#line 6105 "machine.c"
			} else {
				BoxesMachine* _tmp30_ = NULL;
				GdkPixbuf* _tmp31_ = NULL;
				GdkPixbuf* _tmp32_ = NULL;
				GdkPixbuf* _tmp33_ = NULL;
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp30_ = self->priv->machine;
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp31_ = boxes_machine_get_pixbuf (_tmp30_);
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp32_ = _tmp31_;
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp33_ = _g_object_ref0 (_tmp32_);
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_object_unref0 (pixbuf);
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				pixbuf = _tmp33_;
#line 6123 "machine.c"
			}
			{
				GtkClutterTexture* _tmp34_ = NULL;
				GdkPixbuf* _tmp35_ = NULL;
#line 694 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp34_ = self->priv->thumbnail_screenshot;
#line 694 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp35_ = pixbuf;
#line 694 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				gtk_clutter_texture_set_from_pixbuf (_tmp34_, _tmp35_, &_inner_error_);
#line 694 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				if (_inner_error_ != NULL) {
#line 6136 "machine.c"
					goto __catch53_g_error;
				}
			}
			goto __finally53;
			__catch53_g_error:
			{
				GError* err = NULL;
				GError* _tmp36_ = NULL;
				const gchar* _tmp37_ = NULL;
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				err = _inner_error_;
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_inner_error_ = NULL;
#line 696 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp36_ = err;
#line 696 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp37_ = _tmp36_->message;
#line 696 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				g_warning ("machine.vala:696: %s", _tmp37_);
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_error_free0 (err);
#line 6158 "machine.c"
			}
			__finally53:
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_inner_error_ != NULL) {
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_object_unref0 (pixbuf);
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				block40_data_unref (_data40_);
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_data40_ = NULL;
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.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 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				g_clear_error (&_inner_error_);
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				return;
#line 6175 "machine.c"
			}
#line 698 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp38_ = self->priv->thumbnail_screenshot;
#line 698 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp39_ = _g_object_ref0 ((ClutterActor*) _tmp38_);
#line 698 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (self->priv->thumbnail);
#line 698 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			self->priv->thumbnail = _tmp39_;
#line 670 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (pixbuf);
#line 6187 "machine.c"
		}
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp40_ = self->priv->thumbnail;
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_set_name (_tmp40_, "properties-thumbnail");
#line 701 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp41_ = self->priv->thumbnail;
#line 701 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_set_x_align (_tmp41_, CLUTTER_ACTOR_ALIGN_FILL);
#line 702 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp42_ = self->priv->thumbnail;
#line 702 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_set_y_align (_tmp42_, CLUTTER_ACTOR_ALIGN_FILL);
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp43_ = boxes_app_app;
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp44_ = _tmp43_->overlay_bin_actor;
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp45_ = self->priv->thumbnail;
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_add_child (_tmp44_, _tmp45_);
#line 705 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp46_ = (ClutterClickAction*) clutter_click_action_new ();
#line 705 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_ref_sink (_tmp46_);
#line 705 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		click = _tmp46_;
#line 706 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp47_ = self->priv->thumbnail;
#line 706 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp48_ = click;
#line 706 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_add_action (_tmp47_, (ClutterAction*) _tmp48_);
#line 708 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp49_ = display_widget;
#line 708 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp49_ != NULL) {
#line 6225 "machine.c"
			ClutterClickAction* _tmp50_ = NULL;
			BoxesMachine* _tmp51_ = NULL;
			BoxesDisplay* _tmp52_ = NULL;
			BoxesDisplay* _tmp53_ = NULL;
			GtkWidget* _tmp54_ = NULL;
#line 709 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp50_ = click;
#line 709 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			g_signal_connect_object (_tmp50_, "clicked", (GCallback) _____lambda139__clutter_click_action_clicked, self, 0);
#line 713 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp51_ = self->priv->machine;
#line 713 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp52_ = boxes_machine_get_display (_tmp51_);
#line 713 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp53_ = _tmp52_;
#line 713 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp54_ = display_widget;
#line 713 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_display_set_enable_inputs (_tmp53_, _tmp54_, FALSE);
#line 6245 "machine.c"
		} else {
			BoxesUIState _tmp55_ = 0;
			BoxesUIState _tmp56_ = 0;
#line 714 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp55_ = boxes_ui_get_previous_ui_state ((BoxesUI*) self);
#line 714 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp56_ = _tmp55_;
#line 714 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp56_ != BOXES_UI_STATE_WIZARD) {
#line 6255 "machine.c"
				ClutterClickAction* _tmp57_ = NULL;
#line 715 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp57_ = click;
#line 715 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				g_signal_connect_object (_tmp57_, "clicked", (GCallback) ______lambda140__clutter_click_action_clicked, self, 0);
#line 6261 "machine.c"
			}
		}
#line 721 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_->update_screenshot_alloc = ____lambda141__boxes_actor_func;
#line 721 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_->update_screenshot_alloc_target = g_object_ref (self);
#line 721 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_->update_screenshot_alloc_target_destroy_notify = g_object_unref;
#line 742 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp58_ = boxes_app_app;
#line 742 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp59_ = _tmp58_->sidebar;
#line 742 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp60_ = _tmp59_->screenshot_placeholder;
#line 742 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp61_ = g_signal_connect_data (_tmp60_, "size-allocate", (GCallback) ____lambda142__gtk_widget_size_allocate, block40_data_ref (_data40_), (GClosureNotify) block40_data_unref, 0);
#line 742 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->track_screenshot_id = _tmp61_;
#line 751 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp62_ = zoom;
#line 751 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		if (!_tmp62_) {
#line 6284 "machine.c"
			ClutterActor* _tmp63_ = NULL;
#line 752 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp63_ = self->priv->thumbnail;
#line 752 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_easing_duration (_tmp63_, (guint) 0);
#line 6290 "machine.c"
		}
#line 753 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp64_ = _data40_->update_screenshot_alloc;
#line 753 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp64__target = _data40_->update_screenshot_alloc_target;
#line 753 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp65_ = self->priv->thumbnail;
#line 753 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp64_ (_tmp65_, _tmp64__target);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (click);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		block40_data_unref (_data40_);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_data40_ = NULL;
#line 6306 "machine.c"
	}
}


static void _____lambda150_ (BoxesMachineActor* self) {
	ClutterActor* _tmp0_ = NULL;
	GtkWidget* widget = NULL;
	GtkWidget* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
#line 794 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->thumbnail;
#line 794 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_remove_transition (_tmp0_, "back-from-properties");
#line 795 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_machine_actor_steal_display_widget_from_thumbnail (self);
#line 795 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	widget = _tmp1_;
#line 796 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = widget;
#line 796 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp2_ != NULL) {
#line 6328 "machine.c"
		BoxesApp* _tmp3_ = NULL;
		BoxesDisplayPage* _tmp4_ = NULL;
		BoxesMachine* _tmp5_ = NULL;
		BoxesDisplay* _tmp6_ = NULL;
		BoxesDisplay* _tmp7_ = NULL;
		GtkWidget* _tmp8_ = NULL;
#line 797 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = boxes_app_app;
#line 797 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = _tmp3_->display_page;
#line 797 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = self->priv->machine;
#line 797 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = boxes_machine_get_display (_tmp5_);
#line 797 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = _tmp6_;
#line 797 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = widget;
#line 797 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_display_page_show_display (_tmp4_, _tmp7_, _tmp8_);
#line 6349 "machine.c"
	}
#line 793 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (widget);
#line 6353 "machine.c"
}


static void ______lambda150__clutter_timeline_completed (ClutterTimeline* _sender, gpointer self) {
#line 793 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_____lambda150_ ((BoxesMachineActor*) self);
#line 6360 "machine.c"
}


static Block41Data* block41_data_ref (Block41Data* _data41_) {
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_atomic_int_inc (&_data41_->_ref_count_);
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return _data41_;
#line 6369 "machine.c"
}


static void block41_data_unref (void * _userdata_) {
	Block41Data* _data41_;
	_data41_ = (Block41Data*) _userdata_;
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_atomic_int_dec_and_test (&_data41_->_ref_count_)) {
#line 6378 "machine.c"
		BoxesMachineActor* self;
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		self = _data41_->self;
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self);
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_slice_free (Block41Data, _data41_);
#line 6386 "machine.c"
	}
}


static void ____lambda151_ (Block41Data* _data41_) {
	BoxesMachineActor* self;
	ClutterActor* _tmp0_ = NULL;
	gulong _tmp1_ = 0UL;
	ClutterActor* _tmp2_ = NULL;
#line 827 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = _data41_->self;
#line 828 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->thumbnail;
#line 828 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _data41_->completed_id;
#line 828 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _tmp1_);
#line 829 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = self->priv->thumbnail;
#line 829 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_easing_duration (_tmp2_, (guint) 0);
#line 6408 "machine.c"
}


static void _____lambda151__clutter_actor_transitions_completed (ClutterActor* _sender, gpointer self) {
#line 827 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	____lambda151_ (self);
#line 6415 "machine.c"
}


static void boxes_machine_actor_ui_state_changed (BoxesMachineActor* self) {
	gint window_width = 0;
	gint window_height = 0;
	gint width = 0;
	gint height = 0;
	gint x = 0;
	gint y = 0;
	BoxesApp* _tmp0_ = NULL;
	BoxesDisplayPage* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
	BoxesApp* _tmp4_ = NULL;
	GtkApplicationWindow* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	gint _tmp7_ = 0;
	gint _tmp8_ = 0;
	gint _tmp9_ = 0;
	gint _tmp10_ = 0;
	gint _tmp11_ = 0;
	BoxesUIState _tmp12_ = 0;
	BoxesUIState _tmp13_ = 0;
#line 757 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 762 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 762 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_->display_page;
#line 762 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_display_page_get_size (_tmp1_, &_tmp2_, &_tmp3_);
#line 762 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	width = _tmp2_;
#line 762 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	height = _tmp3_;
#line 763 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = boxes_app_app;
#line 763 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = _tmp4_->window;
#line 763 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_window_get_size ((GtkWindow*) _tmp5_, &_tmp6_, &_tmp7_);
#line 763 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	window_width = _tmp6_;
#line 763 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	window_height = _tmp7_;
#line 764 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = window_width;
#line 764 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = width;
#line 764 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	x = _tmp8_ - _tmp9_;
#line 765 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = window_height;
#line 765 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = height;
#line 765 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	y = _tmp10_ - _tmp11_;
#line 767 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 767 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = _tmp12_;
#line 767 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_tmp13_) {
#line 767 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_CREDS:
#line 6482 "machine.c"
		{
			ClutterActor* _tmp14_ = NULL;
			ClutterActor* _tmp15_ = NULL;
			ClutterActor* _tmp16_ = NULL;
			ClutterActor* _tmp17_ = NULL;
			ClutterActor* _tmp18_ = NULL;
			ClutterActor* _tmp19_ = NULL;
			ClutterActor* _tmp20_ = NULL;
			ClutterActor* _tmp21_ = NULL;
			GtkClutterActor* _tmp22_ = NULL;
#line 769 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp14_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 769 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp15_ = _tmp14_;
#line 769 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_x_align (_tmp15_, CLUTTER_ACTOR_ALIGN_CENTER);
#line 770 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp16_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 770 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp17_ = _tmp16_;
#line 770 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_y_align (_tmp17_, CLUTTER_ACTOR_ALIGN_CENTER);
#line 771 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp18_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 771 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp19_ = _tmp18_;
#line 771 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_x_expand (_tmp19_, TRUE);
#line 772 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp20_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 772 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp21_ = _tmp20_;
#line 772 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_y_expand (_tmp21_, TRUE);
#line 773 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp22_ = self->priv->gtk_vbox;
#line 773 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_show ((ClutterActor*) _tmp22_);
#line 774 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 6523 "machine.c"
		}
#line 767 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_DISPLAY:
#line 6527 "machine.c"
		{
			GtkClutterActor* _tmp23_ = NULL;
			BoxesUIState _tmp24_ = 0;
			BoxesUIState _tmp25_ = 0;
#line 777 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp23_ = self->priv->gtk_vbox;
#line 777 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_hide ((ClutterActor*) _tmp23_);
#line 778 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp24_ = boxes_ui_get_previous_ui_state ((BoxesUI*) self);
#line 778 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp25_ = _tmp24_;
#line 778 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp25_ == BOXES_UI_STATE_CREDS) {
#line 6542 "machine.c"
				ClutterActor* _tmp26_ = NULL;
				ClutterActor* _tmp27_ = NULL;
				ClutterActor* _tmp28_ = NULL;
				ClutterActor* _tmp29_ = NULL;
				ClutterActor* _tmp30_ = NULL;
				ClutterActor* _tmp31_ = NULL;
				ClutterActor* _tmp32_ = NULL;
				ClutterActor* _tmp33_ = NULL;
				ClutterActor* _tmp34_ = NULL;
				ClutterActor* _tmp35_ = NULL;
				ClutterActor* _tmp36_ = NULL;
				ClutterActor* _tmp37_ = NULL;
#line 779 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp26_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 779 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp27_ = _tmp26_;
#line 779 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_x_align (_tmp27_, CLUTTER_ACTOR_ALIGN_FILL);
#line 780 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp28_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 780 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp29_ = _tmp28_;
#line 780 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_y_align (_tmp29_, CLUTTER_ACTOR_ALIGN_FILL);
#line 781 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp30_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 781 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp31_ = _tmp30_;
#line 781 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_x_expand (_tmp31_, TRUE);
#line 782 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp32_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 782 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp33_ = _tmp32_;
#line 782 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_y_expand (_tmp33_, TRUE);
#line 783 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp34_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 783 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp35_ = _tmp34_;
#line 783 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				g_object_set (_tmp35_, "natural-width-set", FALSE, NULL);
#line 784 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp36_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 784 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp37_ = _tmp36_;
#line 784 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				g_object_set (_tmp37_, "natural-height-set", FALSE, NULL);
#line 6591 "machine.c"
			} else {
				ClutterActor* _tmp38_ = NULL;
#line 786 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp38_ = self->priv->thumbnail;
#line 786 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				if (_tmp38_ != NULL) {
#line 6598 "machine.c"
					BoxesApp* _tmp39_ = NULL;
					BoxesSidebar* _tmp40_ = NULL;
					GtkWidget* _tmp41_ = NULL;
					gulong _tmp42_ = 0UL;
					ClutterTransition* transition = NULL;
					gint _tmp43_ = 0;
					gint _tmp44_ = 0;
					gint _tmp45_ = 0;
					gint _tmp46_ = 0;
					ClutterTransition* _tmp47_ = NULL;
					ClutterTransition* _tmp48_ = NULL;
					ClutterActor* _tmp49_ = NULL;
					ClutterTransition* _tmp50_ = NULL;
#line 789 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp39_ = boxes_app_app;
#line 789 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp40_ = _tmp39_->sidebar;
#line 789 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp41_ = _tmp40_->screenshot_placeholder;
#line 789 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp42_ = self->priv->track_screenshot_id;
#line 789 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					g_signal_handler_disconnect ((GObject*) _tmp41_, _tmp42_);
#line 790 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					self->priv->track_screenshot_id = (gulong) 0;
#line 792 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp43_ = x;
#line 792 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp44_ = y;
#line 792 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp45_ = width;
#line 792 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp46_ = height;
#line 792 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp47_ = boxes_animate_actor_geometry ((gfloat) _tmp43_, (gfloat) _tmp44_, (gfloat) _tmp45_, (gfloat) _tmp46_);
#line 792 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					transition = _tmp47_;
#line 793 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp48_ = transition;
#line 793 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					g_signal_connect_object ((ClutterTimeline*) _tmp48_, "completed", (GCallback) ______lambda150__clutter_timeline_completed, self, 0);
#line 800 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp49_ = self->priv->thumbnail;
#line 800 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp50_ = transition;
#line 800 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					clutter_actor_add_transition (_tmp49_, "back-from-properties", _tmp50_);
#line 786 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_object_unref0 (transition);
#line 6648 "machine.c"
				} else {
					BoxesApp* _tmp51_ = NULL;
					GtkNotebook* _tmp52_ = NULL;
#line 802 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp51_ = boxes_app_app;
#line 802 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp52_ = _tmp51_->notebook;
#line 802 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
					g_object_set (_tmp52_, "page", (gint) BOXES_APP_PAGE_DISPLAY, NULL);
#line 6658 "machine.c"
				}
			}
#line 804 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 6663 "machine.c"
		}
#line 767 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_COLLECTION:
#line 6667 "machine.c"
		{
			ClutterActor* _tmp53_ = NULL;
			ClutterActor* _tmp54_ = NULL;
			ClutterActor* _tmp55_ = NULL;
			ClutterActor* _tmp56_ = NULL;
			GtkEntry* _tmp57_ = NULL;
			GtkEntry* _tmp58_ = NULL;
			GtkLabel* _tmp59_ = NULL;
#line 807 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp53_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 807 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp54_ = _tmp53_;
#line 807 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_x_expand (_tmp54_, FALSE);
#line 808 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp55_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 808 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp56_ = _tmp55_;
#line 808 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_y_expand (_tmp56_, FALSE);
#line 809 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp57_ = self->priv->password_entry;
#line 809 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_widget_set_can_focus ((GtkWidget*) _tmp57_, FALSE);
#line 810 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp58_ = self->priv->password_entry;
#line 810 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_widget_hide ((GtkWidget*) _tmp58_);
#line 811 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp59_ = self->priv->label;
#line 811 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_widget_show ((GtkWidget*) _tmp59_);
#line 812 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 6702 "machine.c"
		}
#line 767 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_PROPERTIES:
#line 6706 "machine.c"
		{
			GtkWidget* display_widget = NULL;
			BoxesApp* _tmp60_ = NULL;
			BoxesDisplayPage* _tmp61_ = NULL;
			GtkWidget* _tmp62_ = NULL;
			gboolean zoom = FALSE;
			GtkWidget* _tmp63_ = NULL;
			GtkWidget* _tmp64_ = NULL;
			gboolean _tmp65_ = FALSE;
			gboolean _tmp66_ = FALSE;
			ClutterActor* _tmp76_ = NULL;
#line 815 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp60_ = boxes_app_app;
#line 815 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp61_ = _tmp60_->display_page;
#line 815 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp62_ = boxes_display_page_remove_display (_tmp61_);
#line 815 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			display_widget = _tmp62_;
#line 816 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp63_ = display_widget;
#line 816 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			zoom = _tmp63_ != NULL;
#line 818 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp64_ = display_widget;
#line 818 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp65_ = zoom;
#line 818 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_actor_update_thumbnail (self, _tmp64_, _tmp65_);
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp66_ = zoom;
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp66_) {
#line 6740 "machine.c"
				Block41Data* _data41_;
				ClutterActor* _tmp67_ = NULL;
				gint _tmp68_ = 0;
				gint _tmp69_ = 0;
				ClutterActor* _tmp70_ = NULL;
				ClutterActor* _tmp71_ = NULL;
				BoxesApp* _tmp72_ = NULL;
				guint _tmp73_ = 0U;
				ClutterActor* _tmp74_ = NULL;
				gulong _tmp75_ = 0UL;
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_data41_ = g_slice_new0 (Block41Data);
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_data41_->_ref_count_ = 1;
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_data41_->self = g_object_ref (self);
#line 822 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp67_ = self->priv->thumbnail;
#line 822 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp68_ = width;
#line 822 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp69_ = height;
#line 822 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				boxes_allocate_actor_no_animation (_tmp67_, (gfloat) 0, (gfloat) 0, (gfloat) _tmp68_, (gfloat) _tmp69_);
#line 824 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp70_ = self->priv->thumbnail;
#line 824 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_easing_mode (_tmp70_, CLUTTER_LINEAR);
#line 825 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp71_ = self->priv->thumbnail;
#line 825 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp72_ = boxes_app_app;
#line 825 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp73_ = _tmp72_->duration;
#line 825 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_easing_duration (_tmp71_, _tmp73_);
#line 826 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_data41_->completed_id = (gulong) 0;
#line 827 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp74_ = self->priv->thumbnail;
#line 827 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp75_ = g_signal_connect_data (_tmp74_, "transitions-completed", (GCallback) _____lambda151__clutter_actor_transitions_completed, block41_data_ref (_data41_), (GClosureNotify) block41_data_unref, 0);
#line 827 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_data41_->completed_id = _tmp75_;
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				block41_data_unref (_data41_);
#line 821 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
				_data41_ = NULL;
#line 6789 "machine.c"
			}
#line 833 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp76_ = self->priv->thumbnail;
#line 833 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_show (_tmp76_);
#line 835 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (display_widget);
#line 835 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 6799 "machine.c"
		}
		default:
		{
#line 838 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 6805 "machine.c"
		}
	}
}


static ClutterActor* boxes_machine_actor_real_get_actor (BoxesUI* base) {
	ClutterActor* result;
	BoxesMachineActor* self;
	ClutterActor* _tmp0_ = NULL;
#line 535 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) base;
#line 535 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->_actor;
#line 535 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 535 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 6823 "machine.c"
}


static BoxesUIState boxes_machine_actor_real_get_previous_ui_state (BoxesUI* base) {
	BoxesUIState result;
	BoxesMachineActor* self;
	BoxesUIState _tmp0_ = 0;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) base;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_previous_ui_state;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 6839 "machine.c"
}


static void boxes_machine_actor_real_set_previous_ui_state (BoxesUI* base, BoxesUIState value) {
	BoxesMachineActor* self;
	BoxesUIState _tmp0_ = 0;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) base;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_previous_ui_state = _tmp0_;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "previous-ui-state");
#line 6854 "machine.c"
}


static BoxesUIState boxes_machine_actor_real_get_ui_state (BoxesUI* base) {
	BoxesUIState result;
	BoxesMachineActor* self;
	BoxesUIState _tmp0_ = 0;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) base;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_ui_state;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 6870 "machine.c"
}


static void boxes_machine_actor_real_set_ui_state (BoxesUI* base, BoxesUIState value) {
	BoxesMachineActor* self;
	BoxesUIState _tmp0_ = 0;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) base;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_ui_state = _tmp0_;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "ui-state");
#line 6885 "machine.c"
}


static void boxes_machine_actor_class_init (BoxesMachineActorClass * klass) {
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_parent_class = g_type_class_peek_parent (klass);
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_type_class_add_private (klass, sizeof (BoxesMachineActorPrivate));
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_machine_actor_get_property;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_machine_actor_set_property;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_machine_actor_finalize;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_ACTOR_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 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_ACTOR_PREVIOUS_UI_STATE, g_param_spec_enum ("previous-ui-state", "previous-ui-state", "previous-ui-state", BOXES_TYPE_UI_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_ACTOR_UI_STATE, g_param_spec_enum ("ui-state", "ui-state", "ui-state", BOXES_TYPE_UI_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 6906 "machine.c"
}


static void boxes_machine_actor_boxes_ui_interface_init (BoxesUIIface * iface) {
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_boxes_ui_parent_iface = g_type_interface_peek_parent (iface);
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	iface->get_actor = boxes_machine_actor_real_get_actor;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	iface->get_previous_ui_state = boxes_machine_actor_real_get_previous_ui_state;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	iface->set_previous_ui_state = boxes_machine_actor_real_set_previous_ui_state;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	iface->get_ui_state = boxes_machine_actor_real_get_ui_state;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	iface->set_ui_state = boxes_machine_actor_real_set_ui_state;
#line 6923 "machine.c"
}


static void boxes_machine_actor_instance_init (BoxesMachineActor * self) {
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv = BOXES_MACHINE_ACTOR_GET_PRIVATE (self);
#line 548 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->track_screenshot_id = (gulong) 0;
#line 6932 "machine.c"
}


static void boxes_machine_actor_finalize (GObject* obj) {
	BoxesMachineActor * self;
	gulong _tmp0_ = 0UL;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActor);
#line 551 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->track_screenshot_id;
#line 551 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 6945 "machine.c"
		BoxesApp* _tmp1_ = NULL;
		BoxesSidebar* _tmp2_ = NULL;
		GtkWidget* _tmp3_ = NULL;
		gulong _tmp4_ = 0UL;
#line 552 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = boxes_app_app;
#line 552 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = _tmp1_->sidebar;
#line 552 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_->screenshot_placeholder;
#line 552 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = self->priv->track_screenshot_id;
#line 552 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 6960 "machine.c"
	}
#line 536 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->_actor);
#line 540 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->screenshot);
#line 541 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->gtk_vbox);
#line 542 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->thumbnail);
#line 543 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->thumbnail_screenshot);
#line 544 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->label);
#line 545 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->vbox);
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 547 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->machine);
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (boxes_machine_actor_parent_class)->finalize (obj);
#line 6982 "machine.c"
}


GType boxes_machine_actor_get_type (void) {
	static volatile gsize boxes_machine_actor_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_machine_actor_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesMachineActorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_machine_actor_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesMachineActor), 0, (GInstanceInitFunc) boxes_machine_actor_instance_init, NULL };
		static const GInterfaceInfo boxes_ui_info = { (GInterfaceInitFunc) boxes_machine_actor_boxes_ui_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_machine_actor_type_id;
		boxes_machine_actor_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesMachineActor", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_machine_actor_type_id, BOXES_TYPE_UI, &boxes_ui_info);
		g_once_init_leave (&boxes_machine_actor_type_id__volatile, boxes_machine_actor_type_id);
	}
	return boxes_machine_actor_type_id__volatile;
}


static void _vala_boxes_machine_actor_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesMachineActor * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActor);
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (property_id) {
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_ACTOR_ACTOR:
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_ui_get_actor ((BoxesUI*) self));
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_ACTOR_PREVIOUS_UI_STATE:
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_enum (value, boxes_ui_get_previous_ui_state ((BoxesUI*) self));
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_ACTOR_UI_STATE:
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_enum (value, boxes_ui_get_ui_state ((BoxesUI*) self));
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 7023 "machine.c"
		default:
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 7029 "machine.c"
	}
}


static void _vala_boxes_machine_actor_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesMachineActor * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActor);
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (property_id) {
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_ACTOR_PREVIOUS_UI_STATE:
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_ui_set_previous_ui_state ((BoxesUI*) self, g_value_get_enum (value));
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_ACTOR_UI_STATE:
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_ui_set_ui_state ((BoxesUI*) self, g_value_get_enum (value));
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 7051 "machine.c"
		default:
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 534 "/home/zeenix/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 7057 "machine.c"
	}
}



