/* machine.c generated by valac 0.18.0.29-efcd0, 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 <float.h>
#include <math.h>
#include <gdk/gdk.h>
#include <glib/gstdio.h>
#include <glib/gi18n-lib.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_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UI, BoxesUIClass))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_IS_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UI))
#define BOXES_UI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UI, BoxesUIClass))

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

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())

#define BOXES_TYPE_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_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_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 _BoxesMachineTakeScreenshotData BoxesMachineTakeScreenshotData;
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 _BoxesPropertiesPrivate BoxesPropertiesPrivate;
typedef struct _Block26Data Block26Data;
typedef struct _Block27Data Block27Data;
typedef struct _Block28Data Block28Data;

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

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

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

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

struct _BoxesCollectionItemClass {
	BoxesUIClass parent_class;
};

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

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

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

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

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

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 {
	GdkPixbuf* _pixbuf;
	gchar* _info;
	gchar* _status;
	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;
	GdkPixbuf* orig_pixbuf;
	BoxesMachineMachineState _state;
	BoxesDisplay* _display;
	gint screenshot_counter;
};

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

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};

struct _BoxesMachineSaveData {
	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;
};

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_;
	gboolean _tmp3_;
	GdkPixbuf* _tmp4_;
	GdkPixbuf* _tmp5_;
	GError* _error_;
	GdkPixbuf* _tmp6_;
	gboolean _tmp7_;
	gboolean _tmp8_;
	gint _tmp9_;
	GdkPixbuf* _tmp10_;
	gboolean _tmp11_;
	GError * _inner_error_;
};

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

struct _BoxesMachineActorClass {
	BoxesUIClass parent_class;
};

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

struct _BoxesProperties {
	BoxesUI parent_instance;
	BoxesPropertiesPrivate * priv;
	GtkWidget* screenshot_placeholder;
};

struct _BoxesPropertiesClass {
	BoxesUIClass parent_class;
};

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

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

struct _Block28Data {
	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;

GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_ui_state_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_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_ACTOR,
	BOXES_MACHINE_PIXBUF,
	BOXES_MACHINE_INFO,
	BOXES_MACHINE_STATUS,
	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_ui_state (BoxesUI* self, BoxesUIState value);
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_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 ___lambda23_ (BoxesMachine* self);
static gboolean ____lambda23__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);
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 __lambda120_ (BoxesMachine* self);
void boxes_machine_set_screenshot_enable (BoxesMachine* self, gboolean enable);
static void ___lambda120__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);
void boxes_machine_set_screenshot (BoxesMachine* self, GdkPixbuf* large_screenshot, gboolean save);
void boxes_machine_update_screenshot (BoxesMachine* self, gboolean force_save, gboolean first_check, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_machine_update_screenshot_finish (BoxesMachine* self, GAsyncResult* _res_);
static gboolean ___lambda55_ (BoxesMachine* self);
static gboolean ____lambda55__gsource_func (gpointer self);
static void boxes_machine_real_save_data_free (gpointer _data);
static void boxes_machine_real_save (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_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_real_save_co (BoxesMachineSaveData* _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_);
GList* boxes_machine_get_properties (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag flags);
static GList* boxes_machine_real_get_properties (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag flags);
void boxes_machine_connect_display (BoxesMachine* self, 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);
BoxesMachineMachineState boxes_machine_get_state (BoxesMachine* self);
GdkPixbuf* boxes_display_get_pixbuf (BoxesDisplay* self, gint n, GError** error);
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);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
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 void boxes_machine_real_ui_state_changed (BoxesUI* base);
ClutterActor* boxes_ui_get_actor (BoxesUI* self);
const gchar* boxes_machine_get_info (BoxesMachine* self);
void boxes_machine_set_info (BoxesMachine* self, const gchar* value);
const gchar* boxes_machine_get_status (BoxesMachine* self);
void boxes_machine_set_status (BoxesMachine* self, const gchar* value);
void boxes_machine_set_state (BoxesMachine* self, BoxesMachineMachineState value);
const gchar* boxes_machine_machine_state_to_string (BoxesMachineMachineState self);
static void _boxes_machine_display___lambda22_ (BoxesMachine* self, gint id);
static void __boxes_machine_display___lambda22__boxes_display_show (BoxesDisplay* _sender, gint display_id, gpointer self);
static void _boxes_machine_display___lambda112_ (BoxesMachine* self, gint id);
static void __boxes_machine_display___lambda112__boxes_display_hide (BoxesDisplay* _sender, gint display_id, gpointer self);
static void _boxes_machine_display___lambda113_ (BoxesMachine* self, const gchar* message);
static void __boxes_machine_display___lambda113__boxes_display_got_error (BoxesDisplay* _sender, const gchar* message, gpointer self);
static void _boxes_machine_display___lambda114_ (BoxesMachine* self);
static void __boxes_machine_display___lambda114__boxes_display_disconnected (BoxesDisplay* _sender, gpointer self);
static void _boxes_machine_display___lambda115_ (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___lambda115__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void _boxes_machine_display___lambda116_ (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___lambda116__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);
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
};
static Block26Data* block26_data_ref (Block26Data* _data26_);
static void block26_data_unref (void * _userdata_);
BoxesUI* boxes_ui_construct (GType object_type);
void boxes_get_color (const gchar* desc, GdkColor* result);
static gboolean __lambda117_ (Block26Data* _data26_, GdkEventKey* event);
static gboolean ___lambda117__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, 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 Block27Data* block27_data_ref (Block27Data* _data27_);
static void block27_data_unref (void * _userdata_);
static void ____lambda105_ (BoxesMachineActor* self);
static void _____lambda105__clutter_click_action_clicked (ClutterClickAction* _sender, ClutterActor* actor, gpointer self);
static void _____lambda106_ (BoxesMachineActor* self);
void boxes_app_connect_to (BoxesApp* self, BoxesMachine* machine, gfloat x, gfloat y);
static void ______lambda106__clutter_click_action_clicked (ClutterClickAction* _sender, ClutterActor* actor, gpointer self);
static void ___lambda109_ (BoxesMachineActor* self, ClutterActor* thumbnail);
static void ____lambda109__boxes_actor_func (ClutterActor* actor, gpointer self);
static void ___lambda110_ (Block27Data* _data27_);
static gboolean __lambda111_ (Block27Data* _data27_);
static gboolean ___lambda111__gsource_func (gpointer self);
static void ____lambda110__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self);
static void boxes_machine_actor_real_ui_state_changed (BoxesUI* base);
void boxes_display_page_get_size (BoxesDisplayPage* self, gint* width, gint* height);
static void _____lambda118_ (BoxesMachineActor* self);
static void ______lambda118__clutter_actor_transitions_completed (ClutterActor* _sender, gpointer self);
void boxes_display_page_show (BoxesDisplayPage* self);
static Block28Data* block28_data_ref (Block28Data* _data28_);
static void block28_data_unref (void * _userdata_);
void boxes_allocate_actor_no_animation (ClutterActor* actor, gfloat x, gfloat y, gfloat width, gfloat height);
gboolean boxes_app_get_fullscreen (BoxesApp* self);
static void ____lambda119_ (Block28Data* _data28_);
static void _____lambda119__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);


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;
}


static gboolean ___lambda23_ (BoxesMachine* self) {
	gboolean result = FALSE;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->show_timeout_id = (guint) 0;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_show_display (self);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = FALSE;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 697 "machine.c"
}


static gboolean ____lambda23__gsource_func (gpointer self) {
	gboolean result;
	result = ___lambda23_ (self);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 706 "machine.c"
}


void boxes_machine_show_display (BoxesMachine* self) {
	GtkWidget* widget = NULL;
	BoxesDisplay* _tmp0_;
	BoxesDisplay* _tmp1_;
	GtkWidget* _tmp2_ = NULL;
	BoxesApp* _tmp3_;
	BoxesUIState _tmp4_;
	BoxesUIState _tmp5_;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_machine_get_display (self);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = boxes_display_get_display (_tmp1_, 0);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (widget);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	widget = _tmp2_;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_app_app;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp3_);
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = _tmp4_;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_tmp5_) {
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_CREDS:
#line 740 "machine.c"
		{
			BoxesApp* _tmp6_;
			BoxesApp* _tmp7_;
			guint _tmp8_;
			guint _tmp9_ = 0U;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp6_ = boxes_app_app;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_ui_set_ui_state ((BoxesUI*) _tmp6_, BOXES_UI_STATE_DISPLAY);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp7_ = boxes_app_app;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp8_ = _tmp7_->duration;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp9_ = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp8_, ____lambda23__gsource_func, g_object_ref (self), g_object_unref);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			self->priv->show_timeout_id = _tmp9_;
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 760 "machine.c"
		}
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_DISPLAY:
#line 764 "machine.c"
		{
			BoxesApp* _tmp10_;
			BoxesDisplayPage* _tmp11_;
			BoxesDisplay* _tmp12_;
			BoxesDisplay* _tmp13_;
			GtkWidget* _tmp14_;
			GtkWidget* _tmp15_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = boxes_app_app;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp11_ = _tmp10_->display_page;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp12_ = boxes_machine_get_display (self);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp13_ = _tmp12_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp14_ = widget;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_display_page_show_display (_tmp11_, _tmp13_, _tmp14_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp15_ = widget;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_widget_grab_focus (_tmp15_);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 790 "machine.c"
		}
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_PROPERTIES:
#line 794 "machine.c"
		{
			BoxesMachineActor* _tmp16_;
			GtkWidget* _tmp17_;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp16_ = self->machine_actor;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp17_ = widget;
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_actor_update_thumbnail (_tmp16_, _tmp17_, FALSE);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 806 "machine.c"
		}
		default:
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 811 "machine.c"
	}
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (widget);
#line 815 "machine.c"
}


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


static void __lambda120_ (BoxesMachine* self) {
	BoxesApp* _tmp0_;
	BoxesUIState _tmp1_;
	BoxesUIState _tmp2_;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp0_);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp2_ == BOXES_UI_STATE_DISPLAY) {
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot_enable (self, FALSE);
#line 840 "machine.c"
	} else {
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot_enable (self, TRUE);
#line 844 "machine.c"
	}
}


static void ___lambda120__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	__lambda120_ (self);
#line 852 "machine.c"
}


BoxesMachine* boxes_machine_construct (GType object_type, BoxesCollectionSource* source, const gchar* name) {
	BoxesMachine * self = NULL;
	const gchar* _tmp0_;
	BoxesCollectionSource* _tmp1_;
	BoxesCollectionSource* _tmp2_;
	GdkPixbuf* _tmp3_ = NULL;
	GdkPixbuf* _tmp4_;
	BoxesMachineActor* _tmp5_;
	BoxesApp* _tmp6_;
	gulong _tmp7_ = 0UL;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachine*) boxes_collection_item_construct (object_type);
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = name;
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_collection_item_set_name ((BoxesCollectionItem*) self, _tmp0_);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = source;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->source);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->source = _tmp2_;
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_machine_draw_fallback_vm (BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT, FALSE);
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_pixbuf (self, _tmp4_);
#line 164 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_tmp4_);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = boxes_machine_actor_new (self);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->machine_actor);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->machine_actor = _tmp5_;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = boxes_app_app;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = g_signal_connect_object ((GObject*) _tmp6_, "notify::ui-state", (GCallback) ___lambda120__g_object_notify, self, 0);
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->ui_state_id = _tmp7_;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return self;
#line 906 "machine.c"
}


void boxes_machine_load_screenshot (BoxesMachine* self) {
	GError * _inner_error_ = NULL;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 914 "machine.c"
	{
		gchar* _tmp0_ = NULL;
		gchar* _tmp1_;
		gchar* _tmp2_;
		GdkPixbuf* _tmp3_;
		GdkPixbuf* _tmp4_;
		GdkPixbuf* screenshot;
		GdkPixbuf* _tmp5_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = boxes_machine_get_screenshot_filename (self, &_inner_error_);
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = _tmp0_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 929 "machine.c"
			goto __catch35_g_error;
		}
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = _tmp1_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = gdk_pixbuf_new_from_file (_tmp2_, &_inner_error_);
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = _tmp3_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp2_);
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		screenshot = _tmp4_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 944 "machine.c"
			goto __catch35_g_error;
		}
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = screenshot;
#line 179 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot (self, _tmp5_, FALSE);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (screenshot);
#line 953 "machine.c"
	}
	goto __finally35;
	__catch35_g_error:
	{
		GError* _error_ = NULL;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_error_ = _inner_error_;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (_error_);
#line 965 "machine.c"
	}
	__finally35:
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 177 "/extra-data/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 177 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 976 "machine.c"
	}
}


static gboolean ___lambda55_ (BoxesMachine* self) {
	gboolean result = FALSE;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_update_screenshot (self, FALSE, FALSE, NULL, NULL);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = TRUE;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 989 "machine.c"
}


static gboolean ____lambda55__gsource_func (gpointer self) {
	gboolean result;
	result = ___lambda55_ (self);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 998 "machine.c"
}


void boxes_machine_set_screenshot_enable (BoxesMachine* self, gboolean enable) {
	gboolean _tmp0_;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = enable;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_) {
#line 1010 "machine.c"
		guint _tmp1_;
		BoxesApp* _tmp2_;
		GSettings* _tmp3_;
		gint _tmp4_ = 0;
		gint interval;
		gint _tmp5_;
		guint _tmp6_ = 0U;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->priv->screenshot_id;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp1_ != ((guint) 0)) {
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			return;
#line 1024 "machine.c"
		}
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_update_screenshot (self, FALSE, TRUE, NULL, NULL);
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = boxes_app_app;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_->settings;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = g_settings_get_int (_tmp3_, "screenshot-interval");
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		interval = _tmp4_;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = interval;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp5_, ____lambda55__gsource_func, g_object_ref (self), g_object_unref);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->screenshot_id = _tmp6_;
#line 1042 "machine.c"
	} else {
		guint _tmp7_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->screenshot_id;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp7_ != ((guint) 0)) {
#line 1049 "machine.c"
			guint _tmp8_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp8_ = self->priv->screenshot_id;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_source_remove (_tmp8_);
#line 1055 "machine.c"
		}
#line 198 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->screenshot_id = (guint) 0;
#line 1059 "machine.c"
	}
}


static gchar* boxes_machine_get_screenshot_filename (BoxesMachine* self, GError** error) {
	gchar* result = NULL;
	BoxesBoxConfig* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gboolean _tmp4_;
	BoxesBoxConfig* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_;
	GError * _inner_error_ = NULL;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->config;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_box_config_get_uuid (_tmp0_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _tmp2_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_ == NULL;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp3_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp4_) {
#line 1094 "machine.c"
		GError* _tmp5_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "no uuid, cannot build screenshot filename");
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = _tmp5_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_->domain == BOXES_ERROR) {
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_propagate_error (error, _inner_error_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			return NULL;
#line 1106 "machine.c"
		} else {
#line 204 "/extra-data/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 204 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_clear_error (&_inner_error_);
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			return NULL;
#line 1114 "machine.c"
		}
	}
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = self->config;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = boxes_box_config_get_uuid (_tmp6_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = _tmp7_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp8_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = boxes_get_screenshot_filename (_tmp9_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = _tmp10_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp9_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp11_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 1135 "machine.c"
}


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


static void boxes_machine_real_save (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesMachineSaveData* _data_;
	BoxesMachine* _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_slice_new0 (BoxesMachineSaveData);
#line 6 "/extra-data/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);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_machine_real_save_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_real_save_co (_data_);
#line 1165 "machine.c"
}


static void boxes_machine_real_save_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error) {
	BoxesMachineSaveData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 1175 "machine.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1179 "machine.c"
}


static gboolean boxes_machine_real_save_co (BoxesMachineSaveData* _data_) {
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_data_->_state_) {
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case 0:
#line 1188 "machine.c"
		goto _state_0;
		default:
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_assert_not_reached ();
#line 1193 "machine.c"
	}
	_state_0:
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1200 "machine.c"
	} else {
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1204 "machine.c"
	}
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 1210 "machine.c"
}


void boxes_machine_save (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->save (self, _callback_, _user_data_);
#line 1217 "machine.c"
}


void boxes_machine_save_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->save_finish (self, _res_, error);
#line 1224 "machine.c"
}


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


static void boxes_machine_real_take_screenshot (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesMachineTakeScreenshotData* _data_;
	BoxesMachine* _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_slice_new0 (BoxesMachineTakeScreenshotData);
#line 6 "/extra-data/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 "/extra-data/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 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_real_take_screenshot_co (_data_);
#line 1256 "machine.c"
}


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


static gboolean boxes_machine_real_take_screenshot_co (BoxesMachineTakeScreenshotData* _data_) {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_data_->_state_) {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case 0:
#line 1286 "machine.c"
		goto _state_0;
		default:
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_assert_not_reached ();
#line 1291 "machine.c"
	}
	_state_0:
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->result = NULL;
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1300 "machine.c"
	} else {
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1304 "machine.c"
	}
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1314 "machine.c"
	} else {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1318 "machine.c"
	}
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 1324 "machine.c"
}


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


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


static GList* boxes_machine_real_get_properties (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag flags) {
#line 216 "/extra-data/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 216 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return NULL;
#line 1347 "machine.c"
}


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


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


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


static void boxes_machine_real_disconnect_display (BoxesMachine* self) {
	BoxesDisplay* _tmp0_;
	BoxesDisplay* _tmp1_;
	gboolean _tmp2_ = FALSE;
	BoxesMachineMachineState _tmp3_;
	BoxesMachineMachineState _tmp4_;
	gboolean _tmp7_;
	BoxesApp* _tmp15_;
	BoxesDisplayPage* _tmp16_;
	GtkWidget* _tmp17_ = NULL;
	GtkWidget* _tmp18_;
	BoxesDisplay* _tmp19_;
	BoxesDisplay* _tmp20_;
	gboolean _tmp21_ = FALSE;
	GError * _inner_error_ = NULL;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_machine_get_display (self);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp1_ == NULL) {
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 1397 "machine.c"
	}
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_machine_get_state (self);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp4_ != BOXES_MACHINE_MACHINE_STATE_STOPPED) {
#line 1405 "machine.c"
		BoxesMachineMachineState _tmp5_;
		BoxesMachineMachineState _tmp6_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = boxes_machine_get_state (self);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp5_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = _tmp6_ != BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 1414 "machine.c"
	} else {
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = FALSE;
#line 1418 "machine.c"
	}
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = _tmp2_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp7_) {
#line 1424 "machine.c"
		{
			BoxesDisplay* _tmp8_;
			BoxesDisplay* _tmp9_;
			GdkPixbuf* _tmp10_ = NULL;
			GdkPixbuf* pixbuf;
			GdkPixbuf* _tmp11_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp8_ = boxes_machine_get_display (self);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp9_ = _tmp8_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = boxes_display_get_pixbuf (_tmp9_, 0, &_inner_error_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			pixbuf = _tmp10_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_inner_error_ != NULL) {
#line 1441 "machine.c"
				goto __catch36_g_error;
			}
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp11_ = pixbuf;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp11_ != NULL) {
#line 1448 "machine.c"
				GdkPixbuf* _tmp12_;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp12_ = pixbuf;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				boxes_machine_set_screenshot (self, _tmp12_, TRUE);
#line 1454 "machine.c"
			}
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (pixbuf);
#line 1458 "machine.c"
		}
		goto __finally36;
		__catch36_g_error:
		{
			GError* _error_ = NULL;
			GError* _tmp13_;
			const gchar* _tmp14_;
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_error_ = _inner_error_;
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_inner_error_ = NULL;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp13_ = _error_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp14_ = _tmp13_->message;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_warning ("machine.vala:230: %s", _tmp14_);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_error_free0 (_error_);
#line 1478 "machine.c"
		}
		__finally36:
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 225 "/extra-data/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 225 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_clear_error (&_inner_error_);
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			return;
#line 1489 "machine.c"
		}
	}
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = boxes_app_app;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = _tmp15_->display_page;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = boxes_display_page_remove_display (_tmp16_);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = _tmp17_;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_tmp18_);
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = boxes_machine_get_display (self);
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = _tmp19_;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = boxes_display_should_keep_alive (_tmp20_);
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (!_tmp21_) {
#line 1510 "machine.c"
		BoxesDisplay* _tmp22_;
		BoxesDisplay* _tmp23_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp22_ = boxes_machine_get_display (self);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = _tmp22_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_display_disconnect_it (_tmp23_);
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_display (self, NULL);
#line 1521 "machine.c"
	} else {
		BoxesDisplay* _tmp24_;
		BoxesDisplay* _tmp25_;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = boxes_machine_get_display (self);
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp25_ = _tmp24_;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_display_set_enable_audio (_tmp25_, FALSE);
#line 1531 "machine.c"
	}
}


void boxes_machine_disconnect_display (BoxesMachine* self) {
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_GET_CLASS (self)->disconnect_display (self);
#line 1541 "machine.c"
}


void boxes_machine_create_display_config (BoxesMachine* self, const gchar* uuid) {
	BoxesBoxConfig* _tmp0_;
	gchar* _tmp1_;
	gchar* group;
	const gchar* _tmp2_;
	BoxesCollectionSource* _tmp8_;
	const gchar* _tmp9_;
	BoxesBoxConfig* _tmp10_;
	BoxesBoxConfig* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	gboolean _tmp17_;
	gboolean _tmp21_ = FALSE;
	const gchar* _tmp22_;
	gboolean _tmp28_;
	BoxesBoxConfig* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	gchar* _tmp34_;
	gboolean _tmp35_;
	BoxesBoxConfig* _tmp39_;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->config;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (_tmp0_ == NULL);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = g_strdup ("display");
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	group = _tmp1_;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = uuid;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp2_ != NULL) {
#line 1583 "machine.c"
		const gchar* _tmp3_;
		const gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = group;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = uuid;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = g_strconcat (" ", _tmp4_, NULL);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp5_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = g_strconcat (_tmp3_, _tmp6_, NULL);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (group);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		group = _tmp7_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp6_);
#line 1605 "machine.c"
	}
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = self->source;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = group;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = boxes_box_config_new_with_group (_tmp8_, _tmp9_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->config);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->config = _tmp10_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = self->config;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = boxes_box_config_get_last_seen_name (_tmp11_);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = _tmp12_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = _tmp13_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = _tmp15_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = g_strcmp0 (_tmp14_, _tmp16_) != 0;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp14_);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp17_) {
#line 1635 "machine.c"
		BoxesBoxConfig* _tmp18_;
		const gchar* _tmp19_;
		const gchar* _tmp20_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp18_ = self->config;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp19_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp20_ = _tmp19_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_box_config_set_last_seen_name (_tmp18_, _tmp20_);
#line 1647 "machine.c"
	}
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = uuid;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp22_ != NULL) {
#line 1653 "machine.c"
		BoxesBoxConfig* _tmp23_;
		gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
		const gchar* _tmp27_;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = self->config;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = boxes_box_config_get_uuid (_tmp23_);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp25_ = _tmp24_;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp26_ = _tmp25_;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp27_ = uuid;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = g_strcmp0 (_tmp26_, _tmp27_) != 0;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp26_);
#line 1673 "machine.c"
	} else {
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = FALSE;
#line 1677 "machine.c"
	}
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp28_ = _tmp21_;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp28_) {
#line 1683 "machine.c"
		BoxesBoxConfig* _tmp29_;
		const gchar* _tmp30_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp29_ = self->config;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp30_ = uuid;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_box_config_set_uuid (_tmp29_, _tmp30_);
#line 1692 "machine.c"
	}
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp31_ = self->config;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp32_ = boxes_box_config_get_uuid (_tmp31_);
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp33_ = _tmp32_;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp34_ = _tmp33_;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp35_ = _tmp34_ == NULL;
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp34_);
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp35_) {
#line 1708 "machine.c"
		BoxesBoxConfig* _tmp36_;
		gchar* _tmp37_ = NULL;
		gchar* _tmp38_;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = self->config;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp37_ = boxes_uuid_generate ();
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp38_ = _tmp37_;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_box_config_set_uuid (_tmp36_, _tmp38_);
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp38_);
#line 1722 "machine.c"
	}
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp39_ = self->config;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_iconfig_save ((BoxesIConfig*) _tmp39_);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (group);
#line 1730 "machine.c"
}


gboolean boxes_machine_is_running (BoxesMachine* self) {
	gboolean result = FALSE;
	BoxesMachineMachineState _tmp0_;
	BoxesMachineMachineState _tmp1_;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_machine_get_state (self);
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp1_ == BOXES_MACHINE_MACHINE_STATE_RUNNING;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 1748 "machine.c"
}


gboolean boxes_machine_is_on (BoxesMachine* self) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	BoxesMachineMachineState _tmp2_;
	BoxesMachineMachineState _tmp3_;
	gboolean _tmp6_;
	gboolean _tmp9_;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = boxes_machine_get_state (self);
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _tmp2_;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp3_ == BOXES_MACHINE_MACHINE_STATE_RUNNING) {
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = TRUE;
#line 1770 "machine.c"
	} else {
		BoxesMachineMachineState _tmp4_;
		BoxesMachineMachineState _tmp5_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = boxes_machine_get_state (self);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = _tmp4_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = _tmp5_ == BOXES_MACHINE_MACHINE_STATE_PAUSED;
#line 1780 "machine.c"
	}
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = _tmp1_;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp6_) {
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = TRUE;
#line 1788 "machine.c"
	} else {
		BoxesMachineMachineState _tmp7_;
		BoxesMachineMachineState _tmp8_;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = boxes_machine_get_state (self);
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = _tmp7_;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = _tmp8_ == BOXES_MACHINE_MACHINE_STATE_SLEEPING;
#line 1798 "machine.c"
	}
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp0_;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp9_;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 1806 "machine.c"
}


static void boxes_machine_save_pixbuf_as_screenshot (BoxesMachine* self, GdkPixbuf* pixbuf) {
	GError * _inner_error_ = NULL;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 1814 "machine.c"
	{
		gchar* _tmp0_ = NULL;
		gchar* _tmp1_;
		GdkPixbuf* _tmp2_;
		gchar* _tmp3_;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = boxes_machine_get_screenshot_filename (self, &_inner_error_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = _tmp0_;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 1826 "machine.c"
			goto __catch37_g_error;
		}
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = pixbuf;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp1_;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		gdk_pixbuf_save (_tmp2_, _tmp3_, "png", &_inner_error_, NULL);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp3_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 1839 "machine.c"
			goto __catch37_g_error;
		}
	}
	goto __finally37;
	__catch37_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp4_;
		const gchar* _tmp5_;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_error_ = _inner_error_;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = _error_;
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = _tmp4_->message;
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_warning ("machine.vala:279: %s", _tmp5_);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (_error_);
#line 1861 "machine.c"
	}
	__finally37:
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 276 "/extra-data/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 276 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 1872 "machine.c"
	}
}


static gint boxes_machine_pixbuf_energy (BoxesMachine* self, GdkPixbuf* pixbuf) {
	gint result = 0;
	GdkPixbuf* _tmp0_;
	guint8* _tmp1_ = NULL;
	guint8* pixels;
	gint pixels_length1;
	gint _pixels_size_;
	GdkPixbuf* _tmp2_;
	gint _tmp3_ = 0;
	gint w;
	GdkPixbuf* _tmp4_;
	gint _tmp5_ = 0;
	gint h;
	GdkPixbuf* _tmp6_;
	gint _tmp7_ = 0;
	gint rowstride;
	GdkPixbuf* _tmp8_;
	gint _tmp9_ = 0;
	gint n_channels;
	gint energy;
	gint row_start;
	gint _tmp42_;
	gint _tmp43_;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (pixbuf != NULL, 0);
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = pixbuf;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = gdk_pixbuf_get_pixels (_tmp0_);
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	pixels = _tmp1_;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	pixels_length1 = -1;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_pixels_size_ = pixels_length1;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = pixbuf;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = gdk_pixbuf_get_width (_tmp2_);
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	w = _tmp3_;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = pixbuf;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = gdk_pixbuf_get_height (_tmp4_);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	h = _tmp5_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = pixbuf;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = gdk_pixbuf_get_rowstride (_tmp6_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	rowstride = _tmp7_;
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = pixbuf;
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = gdk_pixbuf_get_n_channels (_tmp8_);
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	n_channels = _tmp9_;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	energy = 0;
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	row_start = 0;
#line 1942 "machine.c"
	{
		gint y;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		y = 0;
#line 1947 "machine.c"
		{
			gboolean _tmp10_;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = TRUE;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			while (TRUE) {
#line 1954 "machine.c"
				gboolean _tmp11_;
				gint _tmp13_;
				gint _tmp14_;
				gint row_energy;
				gint _tmp15_;
				gint i;
				gint _tmp37_;
				gint _tmp38_;
				gint _tmp39_;
				gint _tmp40_;
				gint _tmp41_;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp11_ = _tmp10_;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				if (!_tmp11_) {
#line 1970 "machine.c"
					gint _tmp12_;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp12_ = y;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					y = _tmp12_ + 1;
#line 1976 "machine.c"
				}
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp10_ = FALSE;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp13_ = y;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp14_ = h;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				if (!(_tmp13_ < _tmp14_)) {
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					break;
#line 1988 "machine.c"
				}
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				row_energy = 0;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp15_ = row_start;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				i = _tmp15_;
#line 1996 "machine.c"
				{
					gint x;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					x = 0;
#line 2001 "machine.c"
					{
						gboolean _tmp16_;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
						_tmp16_ = TRUE;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
						while (TRUE) {
#line 2008 "machine.c"
							gboolean _tmp17_;
							gint _tmp19_;
							gint _tmp20_;
							guint8* _tmp21_;
							gint _tmp21__length1;
							gint _tmp22_;
							guint8 _tmp23_;
							guint8* _tmp24_;
							gint _tmp24__length1;
							gint _tmp25_;
							guint8 _tmp26_;
							gint _tmp27_ = 0;
							guint8* _tmp28_;
							gint _tmp28__length1;
							gint _tmp29_;
							guint8 _tmp30_;
							gint _tmp31_ = 0;
							gint max;
							gint _tmp32_;
							gint _tmp33_;
							gint _tmp34_;
							gint _tmp35_;
							gint _tmp36_;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp17_ = _tmp16_;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							if (!_tmp17_) {
#line 2036 "machine.c"
								gint _tmp18_;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
								_tmp18_ = x;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
								x = _tmp18_ + 1;
#line 2042 "machine.c"
							}
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp16_ = FALSE;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp19_ = x;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp20_ = w;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							if (!(_tmp19_ < _tmp20_)) {
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
								break;
#line 2054 "machine.c"
							}
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp21_ = pixels;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp21__length1 = pixels_length1;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp22_ = i;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp23_ = _tmp21_[_tmp22_ + 0];
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp24_ = pixels;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp24__length1 = pixels_length1;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp25_ = i;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp26_ = _tmp24_[_tmp25_ + 1];
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp27_ = MAX ((gint) _tmp23_, (gint) _tmp26_);
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp28_ = pixels;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp28__length1 = pixels_length1;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp29_ = i;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp30_ = _tmp28_[_tmp29_ + 2];
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp31_ = MAX (_tmp27_, (gint) _tmp30_);
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							max = _tmp31_;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp32_ = row_energy;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp33_ = max;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp34_ = max;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							row_energy = _tmp32_ + (_tmp33_ * _tmp34_);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp35_ = i;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							_tmp36_ = n_channels;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
							i = _tmp35_ + _tmp36_;
#line 2100 "machine.c"
						}
					}
				}
#line 302 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp37_ = energy;
#line 302 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp38_ = row_energy;
#line 302 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp39_ = w;
#line 302 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				energy = _tmp37_ + (_tmp38_ / _tmp39_);
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp40_ = row_start;
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp41_ = rowstride;
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				row_start = _tmp40_ + _tmp41_;
#line 2118 "machine.c"
			}
		}
	}
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp42_ = energy;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp43_ = h;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp42_ / _tmp43_;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 2130 "machine.c"
}


void boxes_machine_set_screenshot (BoxesMachine* self, GdkPixbuf* large_screenshot, gboolean save) {
	GdkPixbuf* _tmp0_;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = large_screenshot;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != NULL) {
#line 2142 "machine.c"
		GdkPixbuf* _tmp1_;
		gint _tmp2_ = 0;
		gint pw;
		GdkPixbuf* _tmp3_;
		gint _tmp4_ = 0;
		gint ph;
		gint _tmp5_;
		gint _tmp6_;
		gdouble _tmp7_ = 0.0;
		gdouble s;
		gint _tmp8_;
		gdouble _tmp9_;
		gint w;
		gint _tmp10_;
		gdouble _tmp11_;
		gint h;
		GdkPixbuf* _tmp12_;
		gboolean _tmp13_;
		gboolean _tmp14_;
		gint _tmp15_;
		gint _tmp16_;
		GdkPixbuf* _tmp17_;
		GdkPixbuf* small_screenshot;
		GdkPixbuf* _tmp18_;
		GdkPixbuf* _tmp19_;
		gint _tmp20_;
		gint _tmp21_;
		gdouble _tmp22_;
		gdouble _tmp23_;
		GdkPixbuf* _tmp24_;
		gint _tmp25_ = 0;
		GdkPixbuf* _tmp26_;
		GdkPixbuf* _tmp27_;
		GdkPixbuf* _tmp28_;
		GdkPixbuf* _tmp29_ = NULL;
		GdkPixbuf* _tmp30_;
		BoxesMachineActor* _tmp31_;
		GdkPixbuf* _tmp32_;
		gboolean _tmp33_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = large_screenshot;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = gdk_pixbuf_get_width (_tmp1_);
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		pw = _tmp2_;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = large_screenshot;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = gdk_pixbuf_get_height (_tmp3_);
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		ph = _tmp4_;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = pw;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = ph;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = MIN (((gdouble) BOXES_MACHINE_SCREENSHOT_WIDTH) / _tmp5_, ((gdouble) BOXES_MACHINE_SCREENSHOT_HEIGHT) / _tmp6_);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		s = _tmp7_;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = pw;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = s;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		w = (gint) (_tmp8_ * _tmp9_);
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = ph;
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp11_ = s;
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		h = (gint) (_tmp10_ * _tmp11_);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp12_ = large_screenshot;
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = gdk_pixbuf_get_has_alpha (_tmp12_);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = _tmp13_;
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp15_ = w;
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp16_ = h;
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp17_ = gdk_pixbuf_new (GDK_COLORSPACE_RGB, _tmp14_, 8, _tmp15_, _tmp16_);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		small_screenshot = _tmp17_;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp18_ = large_screenshot;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp19_ = small_screenshot;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp20_ = w;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = h;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp22_ = s;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = s;
#line 317 "/extra-data/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 327 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = small_screenshot;
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp25_ = boxes_machine_pixbuf_energy (self, _tmp24_);
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp25_ < 50) {
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (small_screenshot);
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			return;
#line 2252 "machine.c"
		}
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp26_ = small_screenshot;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp27_ = _g_object_ref0 (_tmp26_);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self->priv->orig_pixbuf);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->orig_pixbuf = _tmp27_;
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp28_ = small_screenshot;
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp29_ = boxes_machine_draw_vm (self, _tmp28_, BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT);
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp30_ = _tmp29_;
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_pixbuf (self, _tmp30_);
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_tmp30_);
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp31_ = self->machine_actor;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp32_ = large_screenshot;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_actor_set_screenshot (_tmp31_, _tmp32_);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp33_ = save;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp33_) {
#line 2282 "machine.c"
			GdkPixbuf* _tmp34_;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp34_ = small_screenshot;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_save_pixbuf_as_screenshot (self, _tmp34_);
#line 2288 "machine.c"
		}
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (small_screenshot);
#line 2292 "machine.c"
	} else {
		GdkPixbuf* _tmp35_ = NULL;
		GdkPixbuf* _tmp36_;
		BoxesMachineActor* _tmp37_;
		GdkPixbuf* _tmp38_;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self->priv->orig_pixbuf);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->orig_pixbuf = NULL;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp35_ = boxes_machine_draw_stopped_vm (BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT);
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = _tmp35_;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_pixbuf (self, _tmp36_);
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_tmp36_);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp37_ = self->machine_actor;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp38_ = self->priv->_pixbuf;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_actor_set_screenshot (_tmp37_, _tmp38_);
#line 2316 "machine.c"
	}
}


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


void boxes_machine_update_screenshot (BoxesMachine* self, gboolean force_save, gboolean first_check, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesMachineUpdateScreenshotData* _data_;
	BoxesMachine* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_ = g_slice_new0 (BoxesMachineUpdateScreenshotData);
#line 6 "/extra-data/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 "/extra-data/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 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = force_save;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->force_save = _tmp1_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = first_check;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->first_check = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_update_screenshot_co (_data_);
#line 2357 "machine.c"
}


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


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


static gboolean boxes_machine_update_screenshot_co (BoxesMachineUpdateScreenshotData* _data_) {
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_data_->_state_) {
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case 0:
#line 2388 "machine.c"
		goto _state_0;
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case 1:
#line 2392 "machine.c"
		goto _state_1;
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case 2:
#line 2396 "machine.c"
		goto _state_2;
		default:
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_assert_not_reached ();
#line 2401 "machine.c"
	}
	_state_0:
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp0_ = _data_->self->priv->updating_screenshot;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_tmp0_) {
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_state_ == 0) {
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2412 "machine.c"
		} else {
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2416 "machine.c"
		}
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_unref (_data_->_async_result);
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 2422 "machine.c"
	}
#line 348 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self->priv->updating_screenshot = TRUE;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->large_screenshot = NULL;
#line 2428 "machine.c"
	{
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_state_ = 1;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_take_screenshot (_data_->self, boxes_machine_update_screenshot_ready, _data_);
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 2436 "machine.c"
		_state_1:
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp1_ = NULL;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp1_ = boxes_machine_take_screenshot_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp2_ = _data_->_tmp1_;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2446 "machine.c"
			goto __catch38_g_error;
		}
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_data_->large_screenshot);
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->large_screenshot = _data_->_tmp2_;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp3_ = _data_->first_check;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_tmp3_) {
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_state_ = 2;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_take_screenshot (_data_->self, boxes_machine_update_screenshot_ready, _data_);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			return FALSE;
#line 2463 "machine.c"
			_state_2:
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp4_ = NULL;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp4_ = boxes_machine_take_screenshot_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp5_ = _data_->_tmp4_;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_data_->_inner_error_ != NULL) {
#line 2473 "machine.c"
				goto __catch38_g_error;
			}
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (_data_->large_screenshot);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->large_screenshot = _data_->_tmp5_;
#line 2480 "machine.c"
		}
	}
	goto __finally38;
	__catch38_g_error:
	{
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_inner_error_ = NULL;
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (_data_->_error_);
#line 2492 "machine.c"
	}
	__finally38:
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_inner_error_ != NULL) {
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_data_->large_screenshot);
#line 351 "/extra-data/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 351 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_data_->_inner_error_);
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return FALSE;
#line 2505 "machine.c"
	}
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->_tmp6_ = _data_->large_screenshot;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_tmp6_ != NULL) {
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp8_ = _data_->force_save;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_data_->_tmp8_) {
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp7_ = TRUE;
#line 2517 "machine.c"
		} else {
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp9_ = _data_->self->priv->screenshot_counter;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->self->priv->screenshot_counter = _data_->_tmp9_ + 1;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_data_->_tmp7_ = (_data_->_tmp9_ % 12) == 0;
#line 2525 "machine.c"
		}
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp10_ = _data_->large_screenshot;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data_->_tmp11_ = _data_->_tmp7_;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot (_data_->self, _data_->_tmp10_, _data_->_tmp11_);
#line 2533 "machine.c"
	}
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data_->self->priv->updating_screenshot = FALSE;
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data_->large_screenshot);
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_data_->_state_ == 0) {
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2543 "machine.c"
	} else {
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2547 "machine.c"
	}
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_unref (_data_->_async_result);
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return FALSE;
#line 2553 "machine.c"
}


static GdkPixbuf* boxes_machine_draw_vm (BoxesMachine* self, GdkPixbuf* pixbuf, gint width, gint height) {
	GdkPixbuf* result = NULL;
	gint _tmp0_;
	gint _tmp1_;
	cairo_surface_t* _tmp2_;
	cairo_surface_t* surface;
	cairo_surface_t* _tmp3_;
	cairo_t* _tmp4_;
	cairo_t* context;
	GdkPixbuf* _tmp5_;
	gint _tmp6_ = 0;
	gint pw;
	GdkPixbuf* _tmp7_;
	gint _tmp8_ = 0;
	gint ph;
	gint _tmp9_;
	gint _tmp10_;
	gint x;
	gint _tmp11_;
	gint _tmp12_;
	gint y;
	cairo_t* _tmp13_;
	gint _tmp14_;
	gint _tmp15_;
	gint _tmp16_;
	gint _tmp17_;
	cairo_t* _tmp18_;
	cairo_t* _tmp19_;
	GdkPixbuf* _tmp20_;
	gint _tmp21_;
	gint _tmp22_;
	cairo_t* _tmp23_;
	cairo_t* _tmp24_;
	gboolean _tmp25_ = FALSE;
	cairo_surface_t* _tmp37_;
	gint _tmp38_;
	gint _tmp39_;
	GdkPixbuf* _tmp40_ = NULL;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (pixbuf != NULL, NULL);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = width;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = height;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp0_, _tmp1_);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	surface = _tmp2_;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = surface;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = cairo_create (_tmp3_);
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	context = _tmp4_;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = pixbuf;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = gdk_pixbuf_get_width (_tmp5_);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	pw = _tmp6_;
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = pixbuf;
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = gdk_pixbuf_get_height (_tmp7_);
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	ph = _tmp8_;
#line 373 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = width;
#line 373 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = pw;
#line 373 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	x = (_tmp9_ - _tmp10_) / 2;
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = height;
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = ph;
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	y = (_tmp11_ - _tmp12_) / 2;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = context;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = x;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = y;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = pw;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = ph;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_rectangle (_tmp13_, (gdouble) _tmp14_, (gdouble) _tmp15_, (gdouble) _tmp16_, (gdouble) _tmp17_);
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = context;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_clip (_tmp18_);
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = context;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = pixbuf;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = x;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = y;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gdk_cairo_set_source_pixbuf (_tmp19_, _tmp20_, (gdouble) _tmp21_, (gdouble) _tmp22_);
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp23_ = context;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_set_operator (_tmp23_, CAIRO_OPERATOR_SOURCE);
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp24_ = context;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_paint (_tmp24_);
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp25_ = boxes_machine_is_running (self);
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (!_tmp25_) {
#line 2675 "machine.c"
		cairo_t* _tmp26_;
		cairo_t* _tmp27_;
		cairo_t* _tmp28_;
		cairo_t* _tmp29_;
		cairo_surface_t* _tmp30_;
		cairo_pattern_t* _tmp31_;
		cairo_pattern_t* grid;
		cairo_pattern_t* _tmp32_;
		cairo_t* _tmp33_;
		cairo_t* _tmp34_;
		cairo_t* _tmp35_;
		cairo_pattern_t* _tmp36_;
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp26_ = context;
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_set_source_rgba (_tmp26_, (gdouble) 1, (gdouble) 1, (gdouble) 1, (gdouble) 1);
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp27_ = context;
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_set_operator (_tmp27_, CAIRO_OPERATOR_HSL_SATURATION);
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp28_ = context;
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_paint (_tmp28_);
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp29_ = context;
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_scale (_tmp29_, 2.0, 2.0);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp30_ = boxes_machine_grid_surface;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp31_ = cairo_pattern_create_for_surface (_tmp30_);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		grid = _tmp31_;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp32_ = grid;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_pattern_set_extend (_tmp32_, CAIRO_EXTEND_REPEAT);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp33_ = context;
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_set_source_rgba (_tmp33_, 0.2, 0.2, 0.2, (gdouble) 1);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp34_ = context;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_set_operator (_tmp34_, CAIRO_OPERATOR_ADD);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp35_ = context;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = grid;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_mask (_tmp35_, _tmp36_);
#line 383 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_cairo_pattern_destroy0 (grid);
#line 2730 "machine.c"
	}
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp37_ = surface;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp38_ = width;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp39_ = height;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp40_ = gdk_pixbuf_get_from_surface (_tmp37_, 0, 0, _tmp38_, _tmp39_);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp40_;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_destroy0 (context);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_surface_destroy0 (surface);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 2748 "machine.c"
}


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


static GdkPixbuf* boxes_machine_draw_fallback_vm (gint width, gint height, gboolean force) {
	GdkPixbuf* result = NULL;
	GdkPixbuf* pixbuf;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gint _tmp2_;
	gboolean _tmp4_;
	gboolean _tmp6_;
	GdkPixbuf* _tmp43_;
	gint _tmp44_;
	gint _tmp45_;
	cairo_surface_t* _tmp46_;
	cairo_surface_t* surface;
	cairo_surface_t* _tmp47_;
	gint _tmp48_;
	gint _tmp49_;
	GdkPixbuf* _tmp50_ = NULL;
	GError * _inner_error_ = NULL;
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	pixbuf = NULL;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = width;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp2_ == BOXES_MACHINE_SCREENSHOT_WIDTH) {
#line 2809 "machine.c"
		gint _tmp3_;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = height;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = _tmp3_ == BOXES_MACHINE_SCREENSHOT_HEIGHT;
#line 2815 "machine.c"
	} else {
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = FALSE;
#line 2819 "machine.c"
	}
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp1_;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp4_) {
#line 2825 "machine.c"
		gboolean _tmp5_;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = force;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = !_tmp5_;
#line 2831 "machine.c"
	} else {
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = FALSE;
#line 2835 "machine.c"
	}
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = _tmp0_;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp6_) {
#line 2841 "machine.c"
		GdkPixbuf* _tmp7_;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = boxes_machine_default_fallback;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp7_ != NULL) {
#line 2847 "machine.c"
			GdkPixbuf* _tmp8_;
			GdkPixbuf* _tmp9_;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp8_ = boxes_machine_default_fallback;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp9_ = _g_object_ref0 (_tmp8_);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			result = _tmp9_;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (pixbuf);
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			return result;
#line 2860 "machine.c"
		} else {
			gint _tmp10_;
			gint _tmp11_;
			GdkPixbuf* _tmp12_ = NULL;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp10_ = width;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp11_ = height;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp12_ = boxes_machine_draw_fallback_vm (_tmp10_, _tmp11_, TRUE);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (boxes_machine_default_fallback);
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_default_fallback = _tmp12_;
#line 2875 "machine.c"
		}
	}
	{
		gint _tmp13_;
		gint _tmp14_;
		cairo_surface_t* _tmp15_;
		cairo_surface_t* surface;
		cairo_surface_t* _tmp16_;
		cairo_t* _tmp17_;
		cairo_t* context;
		gint _tmp18_;
		gint size;
		GtkIconTheme* _tmp19_ = NULL;
		gint _tmp20_;
		GtkIconInfo* _tmp21_ = NULL;
		GtkIconInfo* icon_info;
		GtkIconInfo* _tmp22_;
		GdkPixbuf* _tmp23_ = NULL;
		GdkPixbuf* _tmp24_;
		cairo_t* _tmp25_;
		GdkPixbuf* _tmp26_;
		gint _tmp27_;
		gint _tmp28_;
		gint _tmp29_;
		gint _tmp30_;
		cairo_t* _tmp31_;
		gint _tmp32_;
		gint _tmp33_;
		gint _tmp34_;
		gint _tmp35_;
		gint _tmp36_;
		gint _tmp37_;
		cairo_t* _tmp38_;
		cairo_surface_t* _tmp39_;
		gint _tmp40_;
		gint _tmp41_;
		GdkPixbuf* _tmp42_ = NULL;
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = width;
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = height;
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp15_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp13_, _tmp14_);
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		surface = _tmp15_;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp16_ = surface;
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp17_ = cairo_create (_tmp16_);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		context = _tmp17_;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp18_ = height;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		size = (gint) (_tmp18_ * 0.6);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp19_ = gtk_icon_theme_get_default ();
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp20_ = size;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp21_ = gtk_icon_theme_lookup_icon (_tmp19_, "computer-symbolic", _tmp20_, GTK_ICON_LOOKUP_GENERIC_FALLBACK);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		icon_info = _tmp21_;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp22_ = icon_info;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp23_ = gtk_icon_info_load_icon (_tmp22_, &_inner_error_);
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp24_ = _tmp23_;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_gtk_icon_info_free0 (icon_info);
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_cairo_destroy0 (context);
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_cairo_surface_destroy0 (surface);
#line 2953 "machine.c"
			goto __catch39_g_error;
		}
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp25_ = context;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp26_ = _tmp24_;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp27_ = width;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp28_ = size;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp29_ = height;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp30_ = size;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		gdk_cairo_set_source_pixbuf (_tmp25_, _tmp26_, (gdouble) ((_tmp27_ - _tmp28_) / 2), (gdouble) ((_tmp29_ - _tmp30_) / 2));
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_tmp26_);
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp31_ = context;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp32_ = width;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp33_ = size;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp34_ = height;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp35_ = size;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = size;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp37_ = size;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_rectangle (_tmp31_, (gdouble) ((_tmp32_ - _tmp33_) / 2), (gdouble) ((_tmp34_ - _tmp35_) / 2), (gdouble) _tmp36_, (gdouble) _tmp37_);
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp38_ = context;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		cairo_fill (_tmp38_);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp39_ = surface;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp40_ = width;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp41_ = height;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp42_ = gdk_pixbuf_get_from_surface (_tmp39_, 0, 0, _tmp40_, _tmp41_);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (pixbuf);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		pixbuf = _tmp42_;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_gtk_icon_info_free0 (icon_info);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_cairo_destroy0 (context);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_cairo_surface_destroy0 (surface);
#line 3010 "machine.c"
	}
	goto __finally39;
	__catch39_g_error:
	{
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 3019 "machine.c"
	}
	__finally39:
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (pixbuf);
#line 417 "/extra-data/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 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return NULL;
#line 3032 "machine.c"
	}
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp43_ = pixbuf;
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp43_ != NULL) {
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		result = pixbuf;
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return result;
#line 3042 "machine.c"
	}
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp44_ = width;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp45_ = height;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp46_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp44_, _tmp45_);
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	surface = _tmp46_;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp47_ = surface;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp48_ = width;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp49_ = height;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp50_ = gdk_pixbuf_get_from_surface (_tmp47_, 0, 0, _tmp48_, _tmp49_);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp50_;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_surface_destroy0 (surface);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (pixbuf);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3068 "machine.c"
}


static void boxes_machine_real_delete (BoxesMachine* self, gboolean by_user) {
	gulong _tmp0_;
	BoxesBoxConfig* _tmp3_;
	GError * _inner_error_ = NULL;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->deleted = TRUE;
#line 443 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_screenshot_enable (self, FALSE);
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->ui_state_id;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 3084 "machine.c"
		BoxesApp* _tmp1_;
		gulong _tmp2_;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = boxes_app_app;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = self->priv->ui_state_id;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->ui_state_id = (gulong) 0;
#line 3095 "machine.c"
	}
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = self->config;
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_box_config_delete (_tmp3_);
#line 3101 "machine.c"
	{
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = boxes_machine_get_screenshot_filename (self, &_inner_error_);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = _tmp4_;
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_inner_error_->domain == BOXES_ERROR) {
#line 3114 "machine.c"
				goto __catch40_boxes_error;
			}
#line 451 "/extra-data/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 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_clear_error (&_inner_error_);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			return;
#line 3123 "machine.c"
		}
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp5_;
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_unlink (_tmp6_);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_free0 (_tmp6_);
#line 3131 "machine.c"
	}
	goto __finally40;
	__catch40_boxes_error:
	{
		GError* e = NULL;
		GError* _tmp7_;
		const gchar* _tmp8_;
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		e = _inner_error_;
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = e;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = _tmp7_->message;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_debug ("machine.vala:453: Could not delete screenshot: %s", _tmp8_);
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (e);
#line 3151 "machine.c"
	}
	__finally40:
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 450 "/extra-data/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 450 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 3162 "machine.c"
	}
}


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


static void boxes_machine_real_ui_state_changed (BoxesUI* base) {
	BoxesMachine * self;
	BoxesMachineActor* _tmp0_;
	BoxesUIState _tmp1_;
	BoxesUIState _tmp2_;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	BoxesUIState _tmp5_;
	BoxesUIState _tmp6_;
	gboolean _tmp9_;
	gboolean _tmp12_;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachine*) base;
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->machine_actor;
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_ui_set_ui_state ((BoxesUI*) _tmp0_, _tmp2_);
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = _tmp5_;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp6_ != BOXES_UI_STATE_DISPLAY) {
#line 3203 "machine.c"
		BoxesUIState _tmp7_;
		BoxesUIState _tmp8_;
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = _tmp7_;
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = _tmp8_ != BOXES_UI_STATE_PROPERTIES;
#line 3212 "machine.c"
	} else {
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = FALSE;
#line 3216 "machine.c"
	}
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp4_;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp9_) {
#line 3222 "machine.c"
		BoxesUIState _tmp10_;
		BoxesUIState _tmp11_;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp11_ = _tmp10_;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp11_ != BOXES_UI_STATE_CREDS;
#line 3231 "machine.c"
	} else {
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = FALSE;
#line 3235 "machine.c"
	}
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = _tmp3_;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp12_) {
#line 3241 "machine.c"
		BoxesMachineActor* _tmp13_;
#line 464 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = self->machine_actor;
#line 464 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_actor_update_thumbnail (_tmp13_, NULL, FALSE);
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_disconnect_display (self);
#line 3249 "machine.c"
	}
}


static ClutterActor* boxes_machine_real_get_actor (BoxesUI* base) {
	ClutterActor* result;
	BoxesMachine* self;
	BoxesMachineActor* _tmp0_;
	ClutterActor* _tmp1_;
	ClutterActor* _tmp2_;
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachine*) base;
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->machine_actor;
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_ui_get_actor ((BoxesUI*) _tmp0_);
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp2_;
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 3272 "machine.c"
}


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


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


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


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


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


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


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


void boxes_machine_set_state (BoxesMachine* self, BoxesMachineMachineState value) {
	BoxesMachineMachineState _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	BoxesMachineMachineState _tmp3_;
	BoxesMachineMachineState _tmp4_;
	GEnumValue* _tmp5_;
	gboolean _tmp6_ = FALSE;
	BoxesMachineMachineState _tmp7_;
	gboolean _tmp9_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = value;
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_state = _tmp0_;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_machine_get_state (self);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = g_enum_get_value (g_type_class_ref (BOXES_MACHINE_TYPE_MACHINE_STATE), _tmp4_);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_debug ("machine.vala:50: State of '%s' changed to %s", _tmp2_, (_tmp5_ != NULL) ? _tmp5_->value_name : NULL);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = value;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp7_ == BOXES_MACHINE_MACHINE_STATE_STOPPED) {
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = TRUE;
#line 3427 "machine.c"
	} else {
		BoxesMachineMachineState _tmp8_;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = value;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp8_ == BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 3434 "machine.c"
	}
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp6_;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp9_) {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_screenshot (self, NULL, FALSE);
#line 3442 "machine.c"
	} else {
		GdkPixbuf* _tmp10_;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = self->priv->orig_pixbuf;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp10_ != NULL) {
#line 3449 "machine.c"
			GdkPixbuf* _tmp11_;
			GdkPixbuf* _tmp12_ = NULL;
			GdkPixbuf* _tmp13_;
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp11_ = self->priv->orig_pixbuf;
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp12_ = boxes_machine_draw_vm (self, _tmp11_, BOXES_MACHINE_SCREENSHOT_WIDTH, BOXES_MACHINE_SCREENSHOT_HEIGHT);
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp13_ = _tmp12_;
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_set_pixbuf (self, _tmp13_);
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (_tmp13_);
#line 3463 "machine.c"
		}
	}
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "state");
#line 3468 "machine.c"
}


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


static void _boxes_machine_display___lambda22_ (BoxesMachine* self, gint id) {
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_show_display (self);
#line 3490 "machine.c"
}


static void __boxes_machine_display___lambda22__boxes_display_show (BoxesDisplay* _sender, gint display_id, gpointer self) {
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda22_ (self, display_id);
#line 3497 "machine.c"
}


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


static void __boxes_machine_display___lambda112__boxes_display_hide (BoxesDisplay* _sender, gint display_id, gpointer self) {
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda112_ (self, display_id);
#line 3523 "machine.c"
}


static void _boxes_machine_display___lambda113_ (BoxesMachine* self, const gchar* message) {
	const gchar* _tmp0_;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (message != NULL);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = message;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_emit_by_name (self, "got-error", _tmp0_);
#line 3535 "machine.c"
}


static void __boxes_machine_display___lambda113__boxes_display_got_error (BoxesDisplay* _sender, const gchar* message, gpointer self) {
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda113_ (self, message);
#line 3542 "machine.c"
}


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


static void _boxes_machine_display___lambda114_ (BoxesMachine* self) {
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_;
	gboolean _tmp5_;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = string_to_string (_tmp1_);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = g_strconcat ("display ", _tmp2_, " disconnected", NULL);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_message ("machine.vala:127: %s", _tmp4_);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp4_);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = self->stay_on_display;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (!_tmp5_) {
#line 3583 "machine.c"
		BoxesApp* _tmp6_;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = boxes_app_app;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_ui_set_ui_state ((BoxesUI*) _tmp6_, BOXES_UI_STATE_COLLECTION);
#line 3589 "machine.c"
	}
}


static void __boxes_machine_display___lambda114__boxes_display_disconnected (BoxesDisplay* _sender, gpointer self) {
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda114_ (self);
#line 3597 "machine.c"
}


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


static void __boxes_machine_display___lambda115__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda115_ (self);
#line 3645 "machine.c"
}


static void _boxes_machine_display___lambda116_ (BoxesMachine* self) {
	BoxesMachineActor* _tmp0_;
	BoxesDisplay* _tmp1_;
	BoxesDisplay* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->machine_actor;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_machine_get_display (self);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = boxes_display_get_need_username (_tmp2_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_set_username_needed (_tmp0_, _tmp4_);
#line 3667 "machine.c"
}


static void __boxes_machine_display___lambda116__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_boxes_machine_display___lambda116_ (self);
#line 3674 "machine.c"
}


void boxes_machine_set_display (BoxesMachine* self, BoxesDisplay* value) {
	BoxesDisplay* _tmp0_;
	BoxesDisplay* _tmp15_;
	BoxesDisplay* _tmp16_;
	BoxesDisplay* _tmp17_;
	const gchar* _tmp18_ = NULL;
	const gchar* _tmp19_;
	const gchar* _tmp20_;
	gchar* _tmp21_ = NULL;
	gchar* _tmp22_;
	BoxesDisplay* _tmp23_;
	gulong _tmp24_ = 0UL;
	BoxesDisplay* _tmp25_;
	gulong _tmp26_ = 0UL;
	BoxesDisplay* _tmp27_;
	gulong _tmp28_ = 0UL;
	BoxesDisplay* _tmp29_;
	gulong _tmp30_ = 0UL;
	BoxesDisplay* _tmp31_;
	gulong _tmp32_ = 0UL;
	BoxesDisplay* _tmp33_;
	gulong _tmp34_ = 0UL;
	BoxesDisplay* _tmp35_;
	BoxesMachineActor* _tmp36_;
	gchar* _tmp37_ = NULL;
	gchar* _tmp38_;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->_display;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != NULL) {
#line 3710 "machine.c"
		BoxesDisplay* _tmp1_;
		gulong _tmp2_;
		guint _tmp3_;
		BoxesDisplay* _tmp5_;
		gulong _tmp6_;
		BoxesDisplay* _tmp7_;
		gulong _tmp8_;
		BoxesDisplay* _tmp9_;
		gulong _tmp10_;
		BoxesDisplay* _tmp11_;
		gulong _tmp12_;
		BoxesDisplay* _tmp13_;
		gulong _tmp14_;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->priv->_display;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = self->priv->show_id;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->show_id = (gulong) 0;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = self->priv->show_timeout_id;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp3_ != ((guint) 0)) {
#line 3736 "machine.c"
			guint _tmp4_;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp4_ = self->priv->show_timeout_id;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_source_remove (_tmp4_);
#line 3742 "machine.c"
		}
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->show_timeout_id = (guint) 0;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = self->priv->_display;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = self->priv->hide_id;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp5_, _tmp6_);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->hide_id = (gulong) 0;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->_display;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = self->priv->disconnected_id;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp7_, _tmp8_);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->disconnected_id = (gulong) 0;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = self->priv->_display;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = self->priv->need_password_id;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp9_, _tmp10_);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->need_password_id = (gulong) 0;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp11_ = self->priv->_display;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp12_ = self->priv->need_username_id;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp11_, _tmp12_);
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->need_username_id = (gulong) 0;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp13_ = self->priv->_display;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp14_ = self->priv->got_error_id;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp13_, _tmp14_);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->got_error_id = (gulong) 0;
#line 3786 "machine.c"
	}
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = value;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = _g_object_ref0 (_tmp15_);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_display);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->_display = _tmp16_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = self->priv->_display;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp17_ == NULL) {
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 3802 "machine.c"
	}
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = _ ("Connecting to %s");
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = boxes_collection_item_get_name ((BoxesCollectionItem*) self);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = _tmp19_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = g_strdup_printf (_tmp18_, _tmp20_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = _tmp21_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_set_status (self, _tmp22_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp22_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp23_ = self->priv->_display;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp24_ = g_signal_connect_object (_tmp23_, "show", (GCallback) __boxes_machine_display___lambda22__boxes_display_show, self, 0);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->show_id = _tmp24_;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp25_ = self->priv->_display;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp26_ = g_signal_connect_object (_tmp25_, "hide", (GCallback) __boxes_machine_display___lambda112__boxes_display_hide, self, 0);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->hide_id = _tmp26_;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp27_ = self->priv->_display;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp28_ = g_signal_connect_object (_tmp27_, "got-error", (GCallback) __boxes_machine_display___lambda113__boxes_display_got_error, self, 0);
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->got_error_id = _tmp28_;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp29_ = self->priv->_display;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp30_ = g_signal_connect_object (_tmp29_, "disconnected", (GCallback) __boxes_machine_display___lambda114__boxes_display_disconnected, self, 0);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->disconnected_id = _tmp30_;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp31_ = self->priv->_display;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp32_ = g_signal_connect_object ((GObject*) _tmp31_, "notify::need-password", (GCallback) __boxes_machine_display___lambda115__g_object_notify, self, 0);
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->need_password_id = _tmp32_;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp33_ = self->priv->_display;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp34_ = g_signal_connect_object ((GObject*) _tmp33_, "notify::need-username", (GCallback) __boxes_machine_display___lambda116__g_object_notify, self, 0);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->need_username_id = _tmp34_;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp35_ = self->priv->_display;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp36_ = self->machine_actor;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp37_ = boxes_machine_actor_get_password (_tmp36_);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp38_ = _tmp37_;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_display_set_password (_tmp35_, _tmp38_);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (_tmp38_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_notify ((GObject *) self, "display");
#line 3868 "machine.c"
}


static void boxes_machine_class_init (BoxesMachineClass * klass) {
	cairo_surface_t* _tmp0_;
	cairo_surface_t* _tmp1_;
	cairo_t* _tmp2_;
	cairo_t* cr;
	cairo_t* _tmp3_;
	cairo_t* _tmp4_;
	cairo_t* _tmp5_;
	cairo_t* _tmp6_;
	cairo_t* _tmp7_;
	cairo_t* _tmp8_;
	cairo_t* _tmp9_;
	cairo_t* _tmp10_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_parent_class = g_type_class_peek_parent (klass);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_type_class_add_private (klass, sizeof (BoxesMachinePrivate));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->save = boxes_machine_real_save;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->save_finish = boxes_machine_real_save_finish;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->take_screenshot = boxes_machine_real_take_screenshot;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->take_screenshot_finish = boxes_machine_real_take_screenshot_finish;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->get_properties = boxes_machine_real_get_properties;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->disconnect_display = boxes_machine_real_disconnect_display;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_MACHINE_CLASS (klass)->delete = boxes_machine_real_delete;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_UI_CLASS (klass)->ui_state_changed = boxes_machine_real_ui_state_changed;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_UI_CLASS (klass)->get_actor = boxes_machine_real_get_actor;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_machine_get_property;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_machine_set_property;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_machine_finalize;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_MACHINE_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 6 "/extra-data/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 "/extra-data/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 "/extra-data/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 "/extra-data/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 "/extra-data/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 "/extra-data/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 147 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = cairo_image_surface_create (CAIRO_FORMAT_A8, 2, 2);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_surface_destroy0 (boxes_machine_grid_surface);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_grid_surface = _tmp0_;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = boxes_machine_grid_surface;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = cairo_create (_tmp1_);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cr = _tmp2_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = cr;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_set_source_rgba (_tmp3_, (gdouble) 0, (gdouble) 0, (gdouble) 0, (gdouble) 0);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = cr;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_paint (_tmp4_);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = cr;
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_set_source_rgba (_tmp5_, (gdouble) 1, (gdouble) 1, (gdouble) 1, (gdouble) 1);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = cr;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_set_operator (_tmp6_, CAIRO_OPERATOR_SOURCE);
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = cr;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_rectangle (_tmp7_, (gdouble) 0, (gdouble) 0, (gdouble) 1, (gdouble) 1);
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = cr;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_fill (_tmp8_);
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = cr;
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_rectangle (_tmp9_, (gdouble) 1, (gdouble) 1, (gdouble) 1, (gdouble) 1);
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = cr;
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	cairo_fill (_tmp10_);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_cairo_destroy0 (cr);
#line 3973 "machine.c"
}


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


static void boxes_machine_instance_init (BoxesMachine * self) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv = BOXES_MACHINE_GET_PRIVATE (self);
#line 3989 "machine.c"
}


static void boxes_machine_finalize (GObject* obj) {
	BoxesMachine * self;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_MACHINE, BoxesMachine);
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->machine_actor);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->source);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->config);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_pixbuf);
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (self->priv->_info);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_free0 (self->priv->_status);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->orig_pixbuf);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->_display);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (boxes_machine_parent_class)->finalize (obj);
#line 4015 "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 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (property_id) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_ACTOR:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_ui_get_actor ((BoxesUI*) self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_PIXBUF:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_machine_get_pixbuf (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_INFO:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_string (value, boxes_machine_get_info (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_STATUS:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_string (value, boxes_machine_get_status (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_STATE:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_enum (value, boxes_machine_get_state (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_DISPLAY:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_machine_get_display (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 4074 "machine.c"
		default:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 4080 "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 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (property_id) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_PIXBUF:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_pixbuf (self, g_value_get_object (value));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_INFO:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_info (self, g_value_get_string (value));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_STATUS:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_status (self, g_value_get_string (value));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_STATE:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_state (self, g_value_get_enum (value));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_DISPLAY:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_display (self, g_value_get_object (value));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 4120 "machine.c"
		default:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 4126 "machine.c"
	}
}


static Block26Data* block26_data_ref (Block26Data* _data26_) {
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_atomic_int_inc (&_data26_->_ref_count_);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return _data26_;
#line 4136 "machine.c"
}


static void block26_data_unref (void * _userdata_) {
	Block26Data* _data26_;
	_data26_ = (Block26Data*) _userdata_;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_atomic_int_dec_and_test (&_data26_->_ref_count_)) {
#line 4145 "machine.c"
		BoxesMachineActor * self;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self = _data26_->self;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (_data26_->machine);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_slice_free (Block26Data, _data26_);
#line 4155 "machine.c"
	}
}


static gboolean __lambda117_ (Block26Data* _data26_, GdkEventKey* event) {
	BoxesMachineActor * self;
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GdkEventKey _tmp2_;
	guint _tmp3_;
	gboolean _tmp6_;
	gboolean _tmp9_;
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = _data26_->self;
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = *event;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _tmp2_.keyval;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp3_ == ((guint) GDK_KEY_KP_Enter)) {
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = TRUE;
#line 4181 "machine.c"
	} else {
		GdkEventKey _tmp4_;
		guint _tmp5_;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = *event;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = _tmp4_.keyval;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = _tmp5_ == ((guint) GDK_KEY_ISO_Enter);
#line 4191 "machine.c"
	}
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = _tmp1_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp6_) {
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = TRUE;
#line 4199 "machine.c"
	} else {
		GdkEventKey _tmp7_;
		guint _tmp8_;
#line 527 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = *event;
#line 527 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = _tmp7_.keyval;
#line 527 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = _tmp8_ == ((guint) GDK_KEY_Return);
#line 4209 "machine.c"
	}
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp0_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp9_) {
#line 4215 "machine.c"
		BoxesMachine* _tmp10_;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = _data26_->machine;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_connect_display (_tmp10_, NULL, NULL);
#line 530 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		result = TRUE;
#line 530 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return result;
#line 4225 "machine.c"
	}
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = FALSE;
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 4231 "machine.c"
}


static gboolean ___lambda117__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
	gboolean result;
	result = __lambda117_ (self, event);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 4240 "machine.c"
}


BoxesMachineActor* boxes_machine_actor_construct (GType object_type, BoxesMachine* machine) {
	BoxesMachineActor * self = NULL;
	Block26Data* _data26_;
	BoxesMachine* _tmp0_;
	BoxesMachine* _tmp1_;
	BoxesMachine* _tmp2_;
	BoxesMachine* _tmp3_;
	ClutterBoxLayout* _tmp4_;
	ClutterBoxLayout* layout;
	ClutterActor* _tmp5_;
	ClutterActor* _tmp6_;
	GtkClutterTexture* _tmp7_;
	GtkClutterTexture* _tmp8_;
	BoxesMachine* _tmp9_;
	GdkPixbuf* _tmp10_;
	GdkPixbuf* _tmp11_;
	ClutterActor* _tmp12_;
	ClutterActor* _tmp13_;
	GtkClutterTexture* _tmp14_;
	ClutterActor* _tmp15_;
	GtkClutterTexture* _tmp16_;
	GtkVBox* _tmp17_;
	GtkVBox* _tmp18_;
	GtkClutterActor* _tmp19_;
	GtkClutterActor* _tmp20_;
	GtkClutterActor* _tmp21_;
	GtkWidget* _tmp22_ = NULL;
	GtkStyleContext* _tmp23_ = NULL;
	BoxesMachine* _tmp24_;
	const gchar* _tmp25_;
	const gchar* _tmp26_;
	GtkLabel* _tmp27_;
	GtkLabel* _tmp28_;
	GdkColor _tmp29_ = {0};
	BoxesMachine* _tmp30_;
	GtkLabel* _tmp31_;
	GtkVBox* _tmp32_;
	GtkLabel* _tmp33_;
	GtkVBox* _tmp34_;
	GtkEntry* _tmp35_;
	GtkEntry* _tmp36_;
	GtkEntry* _tmp37_;
	const gchar* _tmp38_ = NULL;
	GtkEntry* _tmp39_;
	GtkVBox* _tmp40_;
	GtkEntry* _tmp41_;
	GtkVBox* _tmp42_;
	GtkEntry* _tmp43_;
	ClutterActor* _tmp44_;
	GtkClutterActor* _tmp45_;
	ClutterActor* _tmp46_;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data26_ = g_slice_new0 (Block26Data);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data26_->_ref_count_ = 1;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = machine;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (_data26_->machine);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data26_->machine = _tmp1_;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) boxes_ui_construct (object_type);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data26_->self = g_object_ref (self);
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _data26_->machine;
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->machine);
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->machine = _tmp3_;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = (ClutterBoxLayout*) clutter_box_layout_new ();
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp4_);
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	layout = _tmp4_;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_box_layout_set_vertical (layout, TRUE);
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_box_layout_set_spacing (layout, (guint) 10);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = clutter_actor_new ();
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp5_);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->_actor);
#line 496 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->_actor = _tmp5_;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = self->_actor;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_layout_manager (_tmp6_, (ClutterLayoutManager*) layout);
#line 499 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = (GtkClutterTexture*) gtk_clutter_texture_new ();
#line 499 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp7_);
#line 499 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->screenshot);
#line 499 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->screenshot = _tmp7_;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = self->priv->screenshot;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp8_, "screenshot");
#line 501 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _data26_->machine;
#line 501 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = boxes_machine_get_pixbuf (_tmp9_);
#line 501 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = _tmp10_;
#line 501 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_set_screenshot (self, _tmp11_);
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = self->_actor;
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = self->_actor;
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp13_, "natural-width", (gfloat) BOXES_MACHINE_SCREENSHOT_WIDTH, NULL);
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp12_, "min-width", (gfloat) BOXES_MACHINE_SCREENSHOT_WIDTH, NULL);
#line 504 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = self->priv->screenshot;
#line 504 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_texture_set_keep_aspect_ratio ((ClutterTexture*) _tmp14_, TRUE);
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = self->_actor;
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = self->priv->screenshot;
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_container_add ((ClutterContainer*) _tmp15_, (ClutterActor*) _tmp16_, NULL);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = (GtkVBox*) gtk_vbox_new (FALSE, 0);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp17_);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->vbox);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->vbox = _tmp17_;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = self->priv->vbox;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = (GtkClutterActor*) gtk_clutter_actor_new_with_contents ((GtkWidget*) _tmp18_);
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp19_);
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->gtk_vbox);
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->gtk_vbox = _tmp19_;
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = self->priv->gtk_vbox;
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_height ((ClutterActor*) _tmp20_, (gfloat) 80);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = self->priv->gtk_vbox;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = gtk_clutter_actor_get_widget (_tmp21_);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp23_ = gtk_widget_get_style_context (_tmp22_);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_style_context_add_class (_tmp23_, "boxes-bg");
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp24_ = _data26_->machine;
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp25_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp24_);
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp26_ = _tmp25_;
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp27_ = (GtkLabel*) gtk_label_new (_tmp26_);
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp27_);
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->label);
#line 515 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->label = _tmp27_;
#line 516 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp28_ = self->priv->label;
#line 516 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_get_color ("white", &_tmp29_);
#line 516 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_modify_fg ((GtkWidget*) _tmp28_, GTK_STATE_NORMAL, &_tmp29_);
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp30_ = _data26_->machine;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp31_ = self->priv->label;
#line 517 "/extra-data/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 518 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp32_ = self->priv->vbox;
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp33_ = self->priv->label;
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_container_add ((GtkContainer*) _tmp32_, (GtkWidget*) _tmp33_);
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp34_ = self->priv->vbox;
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp34_, GTK_ALIGN_START);
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp35_ = (GtkEntry*) gtk_entry_new ();
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_ref_sink (_tmp35_);
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->password_entry = _tmp35_;
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp36_ = self->priv->password_entry;
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_entry_set_visibility (_tmp36_, FALSE);
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp37_ = self->priv->password_entry;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp38_ = _ ("Password");
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_entry_set_placeholder_text (_tmp37_, _tmp38_);
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_set_password_needed (self, FALSE);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp39_ = self->priv->password_entry;
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_connect_data ((GtkWidget*) _tmp39_, "key-press-event", (GCallback) ___lambda117__gtk_widget_key_press_event, block26_data_ref (_data26_), (GClosureNotify) block26_data_unref, 0);
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp40_ = self->priv->vbox;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp41_ = self->priv->password_entry;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_container_add ((GtkContainer*) _tmp40_, (GtkWidget*) _tmp41_);
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp42_ = self->priv->vbox;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp42_);
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp43_ = self->priv->password_entry;
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_hide ((GtkWidget*) _tmp43_);
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp44_ = self->_actor;
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp45_ = self->priv->gtk_vbox;
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_container_add ((ClutterContainer*) _tmp44_, (ClutterActor*) _tmp45_, NULL);
#line 541 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp46_ = self->_actor;
#line 541 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_reactive (_tmp46_, TRUE);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (layout);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	block26_data_unref (_data26_);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_data26_ = NULL;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return self;
#line 4503 "machine.c"
}


BoxesMachineActor* boxes_machine_actor_new (BoxesMachine* machine) {
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return boxes_machine_actor_construct (BOXES_TYPE_MACHINE_ACTOR, machine);
#line 4510 "machine.c"
}


void boxes_machine_actor_set_screenshot (BoxesMachineActor* self, GdkPixbuf* pixbuf) {
	GError * _inner_error_ = NULL;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (pixbuf != NULL);
#line 4520 "machine.c"
	{
		GtkClutterTexture* _tmp0_;
		GdkPixbuf* _tmp1_;
		GtkClutterTexture* _tmp2_;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp0_ = self->priv->screenshot;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = pixbuf;
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		gtk_clutter_texture_set_from_pixbuf (_tmp0_, _tmp1_, &_inner_error_);
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_inner_error_ != NULL) {
#line 4533 "machine.c"
			goto __catch41_g_error;
		}
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = self->priv->thumbnail_screenshot;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp2_ != NULL) {
#line 4540 "machine.c"
			GtkClutterTexture* _tmp3_;
			GdkPixbuf* _tmp4_;
#line 548 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp3_ = self->priv->thumbnail_screenshot;
#line 548 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp4_ = pixbuf;
#line 548 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_clutter_texture_set_from_pixbuf (_tmp3_, _tmp4_, &_inner_error_);
#line 548 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_inner_error_ != NULL) {
#line 4551 "machine.c"
				goto __catch41_g_error;
			}
		}
	}
	goto __finally41;
	__catch41_g_error:
	{
		GError* err = NULL;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		err = _inner_error_;
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_inner_error_ = NULL;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = err;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp5_->message;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_warning ("machine.vala:550: %s", _tmp6_);
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_error_free0 (err);
#line 4574 "machine.c"
	}
	__finally41:
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_inner_error_ != NULL) {
#line 545 "/extra-data/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 545 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_clear_error (&_inner_error_);
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		return;
#line 4585 "machine.c"
	}
}


void boxes_machine_actor_set_password_needed (BoxesMachineActor* self, gboolean needed) {
	ClutterActor* _tmp0_;
	GtkEntry* _tmp1_;
	gboolean _tmp2_;
	GtkEntry* _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 555 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->_actor;
#line 555 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_queue_relayout (_tmp0_);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = self->priv->password_entry;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = needed;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp1_, _tmp2_);
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp3_ = self->priv->password_entry;
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = needed;
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_set_can_focus ((GtkWidget*) _tmp3_, _tmp4_);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = needed;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp5_) {
#line 4619 "machine.c"
		GtkEntry* _tmp6_;
		BoxesMachine* _tmp7_;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = self->priv->password_entry;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp6_);
#line 560 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->machine;
#line 560 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_display (_tmp7_, NULL);
#line 4630 "machine.c"
	}
}


void boxes_machine_actor_set_username_needed (BoxesMachineActor* self, gboolean needed) {
	gboolean _tmp0_;
#line 564 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_debug ("machine.vala:565: FIXME: Do something about fetching username when req" \
"uired?");
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = needed;
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_) {
#line 4645 "machine.c"
		BoxesMachine* _tmp1_;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->priv->machine;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_machine_set_display (_tmp1_, NULL);
#line 4651 "machine.c"
	}
}


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


static GtkWidget* boxes_machine_actor_steal_display_widget_from_thumbnail (BoxesMachineActor* self) {
	GtkWidget* result = NULL;
	GtkWidget* widget;
	ClutterActor* _tmp0_;
	ClutterActor* _tmp5_;
	GtkWidget* _tmp6_;
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 575 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	widget = NULL;
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->thumbnail;
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, GTK_CLUTTER_TYPE_ACTOR)) {
#line 4694 "machine.c"
		ClutterActor* _tmp1_;
		GtkWidget* _tmp2_ = NULL;
		GtkWidget* _tmp3_;
		ClutterActor* _tmp4_;
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = self->priv->thumbnail;
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_get (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GTK_CLUTTER_TYPE_ACTOR) ? ((GtkClutterActor*) _tmp1_) : NULL, "contents", &_tmp2_, NULL);
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_;
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (widget);
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		widget = _tmp3_;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = self->priv->thumbnail;
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_set (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, GTK_CLUTTER_TYPE_ACTOR) ? ((GtkClutterActor*) _tmp4_) : NULL, "contents", NULL, NULL);
#line 4713 "machine.c"
	}
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = self->priv->thumbnail;
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_destroy (_tmp5_);
#line 581 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->thumbnail);
#line 581 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->thumbnail = NULL;
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->thumbnail_screenshot);
#line 582 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->thumbnail_screenshot = NULL;
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = widget;
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp6_ != NULL) {
#line 4731 "machine.c"
		BoxesMachine* _tmp7_;
		BoxesDisplay* _tmp8_;
		BoxesDisplay* _tmp9_;
		GtkWidget* _tmp10_;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->machine;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp8_ = boxes_machine_get_display (_tmp7_);
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp9_ = _tmp8_;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = widget;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_display_set_enable_inputs (_tmp9_, _tmp10_, TRUE);
#line 4746 "machine.c"
	}
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = widget;
#line 587 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 4752 "machine.c"
}


static Block27Data* block27_data_ref (Block27Data* _data27_) {
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_atomic_int_inc (&_data27_->_ref_count_);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return _data27_;
#line 4761 "machine.c"
}


static void block27_data_unref (void * _userdata_) {
	Block27Data* _data27_;
	_data27_ = (Block27Data*) _userdata_;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_atomic_int_dec_and_test (&_data27_->_ref_count_)) {
#line 4770 "machine.c"
		BoxesMachineActor * self;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self = _data27_->self;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		(_data27_->update_screenshot_alloc_target_destroy_notify == NULL) ? NULL : (_data27_->update_screenshot_alloc_target_destroy_notify (_data27_->update_screenshot_alloc_target), NULL);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_->update_screenshot_alloc = NULL;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_->update_screenshot_alloc_target = NULL;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_->update_screenshot_alloc_target_destroy_notify = NULL;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_slice_free (Block27Data, _data27_);
#line 4786 "machine.c"
	}
}


static void ____lambda105_ (BoxesMachineActor* self) {
	BoxesApp* _tmp0_;
#line 637 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 637 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_ui_set_ui_state ((BoxesUI*) _tmp0_, BOXES_UI_STATE_DISPLAY);
#line 4797 "machine.c"
}


static void _____lambda105__clutter_click_action_clicked (ClutterClickAction* _sender, ClutterActor* actor, gpointer self) {
#line 636 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	____lambda105_ (self);
#line 4804 "machine.c"
}


static void _____lambda106_ (BoxesMachineActor* self) {
	BoxesApp* _tmp0_;
	BoxesMachine* _tmp1_;
	ClutterActor* _tmp2_;
	ClutterActorBox* _tmp3_ = NULL;
	ClutterActorBox* _tmp4_;
	gfloat _tmp5_;
	ClutterActor* _tmp6_;
	ClutterActorBox* _tmp7_ = NULL;
	ClutterActorBox* _tmp8_;
	gfloat _tmp9_;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = self->priv->machine;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = self->priv->thumbnail;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_get (_tmp2_, "allocation", &_tmp3_, NULL);
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = _tmp3_;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = (*_tmp4_).x1;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = self->priv->thumbnail;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_get (_tmp6_, "allocation", &_tmp7_, NULL);
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = _tmp7_;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = (*_tmp8_).y1;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_app_connect_to (_tmp0_, _tmp1_, _tmp5_, _tmp9_);
#line 644 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_update_thumbnail (self, NULL, FALSE);
#line 4843 "machine.c"
}


static void ______lambda106__clutter_click_action_clicked (ClutterClickAction* _sender, ClutterActor* actor, gpointer self) {
#line 642 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_____lambda106_ (self);
#line 4850 "machine.c"
}


static void ___lambda109_ (BoxesMachineActor* self, ClutterActor* thumbnail) {
	GtkAllocation alloc = {0};
	BoxesApp* _tmp0_;
	BoxesProperties* _tmp1_;
	GtkWidget* _tmp2_;
	GtkAllocation _tmp3_ = {0};
	BoxesApp* _tmp4_;
	BoxesTopbar* _tmp5_;
	ClutterActor* _tmp6_;
	ClutterActor* _tmp7_;
	ClutterActor* _tmp8_;
	guint _tmp9_ = 0U;
	guint d;
	ClutterActor* _tmp10_;
	ClutterActor* _tmp11_;
	GtkAllocation _tmp12_;
	gint _tmp13_;
	ClutterActor* _tmp14_;
	GtkAllocation _tmp15_;
	gint _tmp16_;
	ClutterActor* _tmp17_;
	ClutterActor* _tmp18_;
	GtkAllocation _tmp19_;
	gint _tmp20_;
	ClutterActor* _tmp21_;
	ClutterActor* _tmp22_;
	GtkAllocation _tmp23_;
	gint _tmp24_;
	ClutterActor* _tmp25_;
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (thumbnail != NULL);
#line 651 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 651 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_->properties;
#line 651 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = _tmp1_->screenshot_placeholder;
#line 651 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_widget_get_allocation (_tmp2_, &_tmp3_);
#line 651 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	alloc = _tmp3_;
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = boxes_app_app;
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = _tmp4_->topbar;
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp6_ = boxes_ui_get_actor ((BoxesUI*) _tmp5_);
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp7_ = _tmp6_;
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_show (_tmp7_);
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = thumbnail;
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = clutter_actor_get_easing_duration (_tmp8_);
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	d = _tmp9_;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = thumbnail;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_easing_duration (_tmp10_, (guint) 0);
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = thumbnail;
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = alloc;
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = _tmp12_.x;
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp11_, "fixed-x", (gfloat) _tmp13_, NULL);
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp14_ = thumbnail;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp15_ = alloc;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp16_ = _tmp15_.y;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp14_, "fixed-y", (gfloat) _tmp16_, NULL);
#line 665 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp17_ = thumbnail;
#line 665 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp18_ = thumbnail;
#line 665 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp19_ = alloc;
#line 665 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp20_ = _tmp19_.width;
#line 665 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp18_, "natural-width", (gfloat) _tmp20_, NULL);
#line 665 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp17_, "min-width", (gfloat) _tmp20_, NULL);
#line 666 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp21_ = thumbnail;
#line 666 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp22_ = thumbnail;
#line 666 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp23_ = alloc;
#line 666 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp24_ = _tmp23_.height;
#line 666 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp22_, "natural-height", (gfloat) _tmp24_, NULL);
#line 666 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_object_set (_tmp21_, "min-height", (gfloat) _tmp24_, NULL);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp25_ = thumbnail;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_easing_duration (_tmp25_, d);
#line 4959 "machine.c"
}


static void ____lambda109__boxes_actor_func (ClutterActor* actor, gpointer self) {
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	___lambda109_ (self, actor);
#line 4966 "machine.c"
}


static gboolean __lambda111_ (Block27Data* _data27_) {
	BoxesMachineActor * self;
	gboolean result = FALSE;
	BoxesActorFunc _tmp0_;
	void* _tmp0__target;
	ClutterActor* _tmp1_;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = _data27_->self;
#line 674 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = _data27_->update_screenshot_alloc;
#line 674 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0__target = _data27_->update_screenshot_alloc_target;
#line 674 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = self->priv->thumbnail;
#line 674 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ (_tmp1_, _tmp0__target);
#line 675 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = FALSE;
#line 675 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 4990 "machine.c"
}


static gboolean ___lambda111__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda111_ (self);
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 4999 "machine.c"
}


static void ___lambda110_ (Block27Data* _data27_) {
	BoxesMachineActor * self;
#line 670 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = _data27_->self;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_idle_add_full (G_PRIORITY_HIGH, ___lambda111__gsource_func, block27_data_ref (_data27_), block27_data_unref);
#line 5009 "machine.c"
}


static void ____lambda110__gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 670 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	___lambda110_ (self);
#line 5016 "machine.c"
}


void boxes_machine_actor_update_thumbnail (BoxesMachineActor* self, GtkWidget* display_widget, gboolean zoom) {
	gulong _tmp0_;
	ClutterActor* _tmp5_;
	BoxesUIState _tmp8_;
	BoxesUIState _tmp9_;
	GError * _inner_error_ = NULL;
#line 590 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_return_if_fail (self != NULL);
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->track_screenshot_id;
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 5032 "machine.c"
		BoxesApp* _tmp1_;
		BoxesProperties* _tmp2_;
		GtkWidget* _tmp3_;
		gulong _tmp4_;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = boxes_app_app;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = _tmp1_->properties;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_->screenshot_placeholder;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = self->priv->track_screenshot_id;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 5047 "machine.c"
	}
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->track_screenshot_id = (gulong) 0;
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = self->priv->thumbnail;
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp5_ != NULL) {
#line 5055 "machine.c"
		ClutterActor* _tmp6_;
		ClutterActor* _tmp7_;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = self->priv->thumbnail;
#line 596 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_actor_remove (_tmp6_);
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = self->priv->thumbnail;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_destroy (_tmp7_);
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self->priv->thumbnail);
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->thumbnail = NULL;
#line 599 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self->priv->thumbnail_screenshot);
#line 599 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->thumbnail_screenshot = NULL;
#line 5074 "machine.c"
	}
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = _tmp8_;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp9_ == BOXES_UI_STATE_PROPERTIES) {
#line 5082 "machine.c"
		Block27Data* _data27_;
		GtkWidget* _tmp10_;
		ClutterActor* _tmp36_;
		ClutterActor* _tmp37_;
		ClutterActor* _tmp38_;
		BoxesApp* _tmp39_;
		ClutterActor* _tmp40_;
		ClutterActor* _tmp41_;
		ClutterClickAction* _tmp42_;
		ClutterClickAction* click;
		ClutterActor* _tmp43_;
		ClutterClickAction* _tmp44_;
		GtkWidget* _tmp45_;
		BoxesApp* _tmp53_;
		BoxesProperties* _tmp54_;
		GtkWidget* _tmp55_;
		gulong _tmp56_ = 0UL;
		gboolean _tmp57_;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_ = g_slice_new0 (Block27Data);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_->_ref_count_ = 1;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_->self = g_object_ref (self);
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp10_ = display_widget;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp10_ != NULL) {
#line 5111 "machine.c"
			GtkWidget* _tmp11_;
			GtkClutterActor* _tmp12_;
#line 604 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp11_ = display_widget;
#line 604 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp12_ = (GtkClutterActor*) gtk_clutter_actor_new_with_contents (_tmp11_);
#line 604 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_object_ref_sink (_tmp12_);
#line 604 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (self->priv->thumbnail);
#line 604 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			self->priv->thumbnail = (ClutterActor*) _tmp12_;
#line 5124 "machine.c"
		} else {
			GtkClutterTexture* _tmp13_;
			GtkClutterTexture* _tmp14_;
			GdkPixbuf* pixbuf;
			BoxesUIState _tmp15_;
			GtkClutterTexture* _tmp34_;
			ClutterActor* _tmp35_;
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp13_ = (GtkClutterTexture*) gtk_clutter_texture_new ();
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_object_ref_sink (_tmp13_);
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (self->priv->thumbnail_screenshot);
#line 606 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			self->priv->thumbnail_screenshot = _tmp13_;
#line 607 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp14_ = self->priv->thumbnail_screenshot;
#line 607 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_reactive ((ClutterActor*) _tmp14_, TRUE);
#line 609 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			pixbuf = NULL;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp15_ = ((BoxesUI*) self)->previous_ui_state;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp15_ == BOXES_UI_STATE_WIZARD) {
#line 5150 "machine.c"
				BoxesApp* _tmp16_;
				GtkApplicationWindow* _tmp17_;
				GdkScreen* _tmp18_ = NULL;
				GtkIconTheme* _tmp19_ = NULL;
				GtkIconTheme* _tmp20_;
				GtkIconTheme* theme;
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp16_ = boxes_app_app;
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp17_ = _tmp16_->window;
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp18_ = gtk_window_get_screen ((GtkWindow*) _tmp17_);
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp19_ = gtk_icon_theme_get_for_screen (_tmp18_);
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp20_ = _g_object_ref0 (_tmp19_);
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				theme = _tmp20_;
#line 5169 "machine.c"
				{
					GtkIconTheme* _tmp21_;
					GdkPixbuf* _tmp22_ = NULL;
					GdkPixbuf* _tmp23_;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp21_ = theme;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp22_ = gtk_icon_theme_load_icon (_tmp21_, "media-optical", BOXES_MACHINE_SCREENSHOT_HEIGHT, 0, &_inner_error_);
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp23_ = _tmp22_;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					if (_inner_error_ != NULL) {
#line 5182 "machine.c"
						goto __catch42_g_error;
					}
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_object_unref0 (pixbuf);
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					pixbuf = _tmp23_;
#line 5189 "machine.c"
				}
				goto __finally42;
				__catch42_g_error:
				{
					GError* err = NULL;
					GError* _tmp24_;
					const gchar* _tmp25_;
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					err = _inner_error_;
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_inner_error_ = NULL;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp24_ = err;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp25_ = _tmp24_->message;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					g_warning ("machine.vala:615: %s", _tmp25_);
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_error_free0 (err);
#line 5209 "machine.c"
				}
				__finally42:
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				if (_inner_error_ != NULL) {
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_object_unref0 (theme);
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_g_object_unref0 (pixbuf);
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					block27_data_unref (_data27_);
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_data27_ = NULL;
#line 612 "/extra-data/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 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					g_clear_error (&_inner_error_);
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					return;
#line 5228 "machine.c"
				}
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_object_unref0 (theme);
#line 5232 "machine.c"
			} else {
				BoxesMachine* _tmp26_;
				GdkPixbuf* _tmp27_;
				GdkPixbuf* _tmp28_;
				GdkPixbuf* _tmp29_;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp26_ = self->priv->machine;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp27_ = boxes_machine_get_pixbuf (_tmp26_);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp28_ = _tmp27_;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp29_ = _g_object_ref0 (_tmp28_);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_object_unref0 (pixbuf);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				pixbuf = _tmp29_;
#line 5250 "machine.c"
			}
			{
				GtkClutterTexture* _tmp30_;
				GdkPixbuf* _tmp31_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp30_ = self->priv->thumbnail_screenshot;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp31_ = pixbuf;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				gtk_clutter_texture_set_from_pixbuf (_tmp30_, _tmp31_, &_inner_error_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				if (_inner_error_ != NULL) {
#line 5263 "machine.c"
					goto __catch43_g_error;
				}
			}
			goto __finally43;
			__catch43_g_error:
			{
				GError* err = NULL;
				GError* _tmp32_;
				const gchar* _tmp33_;
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				err = _inner_error_;
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_inner_error_ = NULL;
#line 623 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp32_ = err;
#line 623 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp33_ = _tmp32_->message;
#line 623 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				g_warning ("machine.vala:623: %s", _tmp33_);
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_error_free0 (err);
#line 5285 "machine.c"
			}
			__finally43:
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_inner_error_ != NULL) {
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_g_object_unref0 (pixbuf);
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				block27_data_unref (_data27_);
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_data27_ = NULL;
#line 620 "/extra-data/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 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				g_clear_error (&_inner_error_);
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				return;
#line 5302 "machine.c"
			}
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp34_ = self->priv->thumbnail_screenshot;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp35_ = _g_object_ref0 ((ClutterActor*) _tmp34_);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (self->priv->thumbnail);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			self->priv->thumbnail = _tmp35_;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (pixbuf);
#line 5314 "machine.c"
		}
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp36_ = self->priv->thumbnail;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_set_name (_tmp36_, "properties-thumbnail");
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp37_ = self->priv->thumbnail;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_set_x_align (_tmp37_, CLUTTER_ACTOR_ALIGN_FILL);
#line 629 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp38_ = self->priv->thumbnail;
#line 629 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_set_y_align (_tmp38_, CLUTTER_ACTOR_ALIGN_FILL);
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp39_ = boxes_app_app;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp40_ = _tmp39_->overlay_bin_actor;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp41_ = self->priv->thumbnail;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_add_child (_tmp40_, _tmp41_);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp42_ = (ClutterClickAction*) clutter_click_action_new ();
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_object_ref_sink (_tmp42_);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		click = _tmp42_;
#line 633 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp43_ = self->priv->thumbnail;
#line 633 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp44_ = click;
#line 633 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		clutter_actor_add_action (_tmp43_, (ClutterAction*) _tmp44_);
#line 635 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp45_ = display_widget;
#line 635 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (_tmp45_ != NULL) {
#line 5352 "machine.c"
			ClutterClickAction* _tmp46_;
			BoxesMachine* _tmp47_;
			BoxesDisplay* _tmp48_;
			BoxesDisplay* _tmp49_;
			GtkWidget* _tmp50_;
#line 636 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp46_ = click;
#line 636 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			g_signal_connect_object (_tmp46_, "clicked", (GCallback) _____lambda105__clutter_click_action_clicked, self, 0);
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp47_ = self->priv->machine;
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp48_ = boxes_machine_get_display (_tmp47_);
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp49_ = _tmp48_;
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp50_ = display_widget;
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_display_set_enable_inputs (_tmp49_, _tmp50_, FALSE);
#line 5372 "machine.c"
		} else {
			BoxesUIState _tmp51_;
#line 641 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp51_ = ((BoxesUI*) self)->previous_ui_state;
#line 641 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp51_ != BOXES_UI_STATE_WIZARD) {
#line 5379 "machine.c"
				ClutterClickAction* _tmp52_;
#line 642 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp52_ = click;
#line 642 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				g_signal_connect_object (_tmp52_, "clicked", (GCallback) ______lambda106__clutter_click_action_clicked, self, 0);
#line 5385 "machine.c"
			}
		}
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_->update_screenshot_alloc = ____lambda109__boxes_actor_func;
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_->update_screenshot_alloc_target = g_object_ref (self);
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_->update_screenshot_alloc_target_destroy_notify = g_object_unref;
#line 670 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp53_ = boxes_app_app;
#line 670 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp54_ = _tmp53_->properties;
#line 670 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp55_ = _tmp54_->screenshot_placeholder;
#line 670 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp56_ = g_signal_connect_data (_tmp55_, "size-allocate", (GCallback) ____lambda110__gtk_widget_size_allocate, block27_data_ref (_data27_), (GClosureNotify) block27_data_unref, 0);
#line 670 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self->priv->track_screenshot_id = _tmp56_;
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp57_ = zoom;
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		if (!_tmp57_) {
#line 5408 "machine.c"
			ClutterActor* _tmp58_;
			BoxesActorFunc _tmp59_;
			void* _tmp59__target;
			ClutterActor* _tmp60_;
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp58_ = self->priv->thumbnail;
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_set_easing_duration (_tmp58_, (guint) 0);
#line 681 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp59_ = _data27_->update_screenshot_alloc;
#line 681 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp59__target = _data27_->update_screenshot_alloc_target;
#line 681 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp60_ = self->priv->thumbnail;
#line 681 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp59_ (_tmp60_, _tmp59__target);
#line 5425 "machine.c"
		}
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (click);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		block27_data_unref (_data27_);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_data27_ = NULL;
#line 5433 "machine.c"
	}
}


static void _____lambda118_ (BoxesMachineActor* self) {
	GtkWidget* _tmp0_ = NULL;
	GtkWidget* widget;
	GtkWidget* _tmp1_;
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_machine_actor_steal_display_widget_from_thumbnail (self);
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	widget = _tmp0_;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = widget;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp1_ != NULL) {
#line 5450 "machine.c"
		BoxesApp* _tmp2_;
		BoxesDisplayPage* _tmp3_;
		BoxesMachine* _tmp4_;
		BoxesDisplay* _tmp5_;
		BoxesDisplay* _tmp6_;
		GtkWidget* _tmp7_;
#line 725 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = boxes_app_app;
#line 725 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_->display_page;
#line 725 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = self->priv->machine;
#line 725 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp5_ = boxes_machine_get_display (_tmp4_);
#line 725 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp6_ = _tmp5_;
#line 725 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp7_ = widget;
#line 725 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		boxes_display_page_show_display (_tmp3_, _tmp6_, _tmp7_);
#line 5471 "machine.c"
	}
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (widget);
#line 5475 "machine.c"
}


static void ______lambda118__clutter_actor_transitions_completed (ClutterActor* _sender, gpointer self) {
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_____lambda118_ (self);
#line 5482 "machine.c"
}


static Block28Data* block28_data_ref (Block28Data* _data28_) {
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_atomic_int_inc (&_data28_->_ref_count_);
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return _data28_;
#line 5491 "machine.c"
}


static void block28_data_unref (void * _userdata_) {
	Block28Data* _data28_;
	_data28_ = (Block28Data*) _userdata_;
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (g_atomic_int_dec_and_test (&_data28_->_ref_count_)) {
#line 5500 "machine.c"
		BoxesMachineActor * self;
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		self = _data28_->self;
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_g_object_unref0 (self);
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_slice_free (Block28Data, _data28_);
#line 5508 "machine.c"
	}
}


static void ____lambda119_ (Block28Data* _data28_) {
	BoxesMachineActor * self;
	ClutterActor* _tmp0_;
	gulong _tmp1_;
	ClutterActor* _tmp2_;
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = _data28_->self;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->thumbnail;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _data28_->completed_id;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _tmp1_);
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp2_ = self->priv->thumbnail;
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	clutter_actor_set_easing_duration (_tmp2_, (guint) 0);
#line 5530 "machine.c"
}


static void _____lambda119__clutter_actor_transitions_completed (ClutterActor* _sender, gpointer self) {
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	____lambda119_ (self);
#line 5537 "machine.c"
}


static void boxes_machine_actor_real_ui_state_changed (BoxesUI* base) {
	BoxesMachineActor * self;
	gint window_width = 0;
	gint window_height = 0;
	gint width = 0;
	gint height = 0;
	gint x = 0;
	gint y = 0;
	BoxesApp* _tmp0_;
	BoxesDisplayPage* _tmp1_;
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
	BoxesApp* _tmp4_;
	GtkApplicationWindow* _tmp5_;
	gint _tmp6_ = 0;
	gint _tmp7_ = 0;
	gint _tmp8_;
	gint _tmp9_;
	gint _tmp10_;
	gint _tmp11_;
	BoxesUIState _tmp12_;
	BoxesUIState _tmp13_;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) base;
#line 691 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = boxes_app_app;
#line 691 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp1_ = _tmp0_->display_page;
#line 691 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_display_page_get_size (_tmp1_, &_tmp2_, &_tmp3_);
#line 691 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	width = _tmp2_;
#line 691 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	height = _tmp3_;
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp4_ = boxes_app_app;
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp5_ = _tmp4_->window;
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	gtk_window_get_size ((GtkWindow*) _tmp5_, &_tmp6_, &_tmp7_);
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	window_width = _tmp6_;
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	window_height = _tmp7_;
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp8_ = window_width;
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp9_ = width;
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	x = _tmp8_ - _tmp9_;
#line 694 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp10_ = window_height;
#line 694 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp11_ = height;
#line 694 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	y = _tmp10_ - _tmp11_;
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp12_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp13_ = _tmp12_;
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (_tmp13_) {
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_CREDS:
#line 5605 "machine.c"
		{
			GtkClutterActor* _tmp14_;
#line 698 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp14_ = self->priv->gtk_vbox;
#line 698 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_show ((ClutterActor*) _tmp14_);
#line 699 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 5614 "machine.c"
		}
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_DISPLAY:
#line 5618 "machine.c"
		{
			GtkClutterActor* _tmp15_;
			BoxesUIState _tmp16_;
#line 702 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp15_ = self->priv->gtk_vbox;
#line 702 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_hide ((ClutterActor*) _tmp15_);
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp16_ = ((BoxesUI*) self)->previous_ui_state;
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp16_ == BOXES_UI_STATE_CREDS) {
#line 5630 "machine.c"
				ClutterActor* _tmp17_;
				ClutterActor* _tmp18_;
				ClutterActor* _tmp19_;
				ClutterActor* _tmp20_;
				ClutterActor* _tmp21_;
				ClutterActor* _tmp22_;
				ClutterActor* _tmp23_;
				ClutterActor* _tmp24_;
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp17_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp18_ = _tmp17_;
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_x_align (_tmp18_, CLUTTER_ACTOR_ALIGN_FILL);
#line 705 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp19_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 705 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp20_ = _tmp19_;
#line 705 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_y_align (_tmp20_, CLUTTER_ACTOR_ALIGN_FILL);
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp21_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp22_ = _tmp21_;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				g_object_set (_tmp22_, "natural-width-set", FALSE, NULL);
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp23_ = boxes_ui_get_actor ((BoxesUI*) self);
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp24_ = _tmp23_;
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				g_object_set (_tmp24_, "natural-height-set", FALSE, NULL);
#line 5663 "machine.c"
			} else {
				ClutterActor* _tmp25_;
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp25_ = self->priv->thumbnail;
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				if (_tmp25_ != NULL) {
#line 5670 "machine.c"
					BoxesApp* _tmp26_;
					BoxesProperties* _tmp27_;
					GtkWidget* _tmp28_;
					gulong _tmp29_;
					ClutterActor* _tmp30_;
					BoxesApp* _tmp31_;
					guint _tmp32_;
					ClutterActor* _tmp33_;
					ClutterActor* _tmp34_;
					ClutterActor* _tmp35_;
					ClutterActor* _tmp36_;
					ClutterActor* _tmp37_;
					ClutterActor* _tmp38_;
					ClutterActor* _tmp39_;
					ClutterActor* _tmp40_;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp26_ = boxes_app_app;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp27_ = _tmp26_->properties;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp28_ = _tmp27_->screenshot_placeholder;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp29_ = self->priv->track_screenshot_id;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					g_signal_handler_disconnect ((GObject*) _tmp28_, _tmp29_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					self->priv->track_screenshot_id = (gulong) 0;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp30_ = self->priv->thumbnail;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp31_ = boxes_app_app;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp32_ = _tmp31_->duration;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					clutter_actor_set_easing_duration (_tmp30_, _tmp32_);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp33_ = self->priv->thumbnail;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					clutter_actor_set_x_align (_tmp33_, CLUTTER_ACTOR_ALIGN_FILL);
#line 717 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp34_ = self->priv->thumbnail;
#line 717 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					clutter_actor_set_y_align (_tmp34_, CLUTTER_ACTOR_ALIGN_FILL);
#line 718 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp35_ = self->priv->thumbnail;
#line 718 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					clutter_actor_set_fixed_position_set (_tmp35_, FALSE);
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp36_ = self->priv->thumbnail;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp37_ = self->priv->thumbnail;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					g_object_set (_tmp37_, "natural-width-set", FALSE, NULL);
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					g_object_set (_tmp36_, "min-width-set", FALSE, NULL);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp38_ = self->priv->thumbnail;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp39_ = self->priv->thumbnail;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					g_object_set (_tmp39_, "natural-height-set", FALSE, NULL);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					g_object_set (_tmp38_, "min-height-set", FALSE, NULL);
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp40_ = self->priv->thumbnail;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					g_signal_connect_object (_tmp40_, "transitions-completed", (GCallback) ______lambda118__clutter_actor_transitions_completed, self, 0);
#line 5738 "machine.c"
				} else {
					BoxesApp* _tmp41_;
					BoxesDisplayPage* _tmp42_;
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp41_ = boxes_app_app;
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp42_ = _tmp41_->display_page;
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					boxes_display_page_show (_tmp42_);
#line 5748 "machine.c"
				}
			}
#line 730 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 5753 "machine.c"
		}
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_COLLECTION:
#line 5757 "machine.c"
		{
			GtkEntry* _tmp43_;
			GtkEntry* _tmp44_;
			GtkLabel* _tmp45_;
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp43_ = self->priv->password_entry;
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_widget_set_can_focus ((GtkWidget*) _tmp43_, FALSE);
#line 734 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp44_ = self->priv->password_entry;
#line 734 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_widget_hide ((GtkWidget*) _tmp44_);
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp45_ = self->priv->label;
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			gtk_widget_show ((GtkWidget*) _tmp45_);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 5776 "machine.c"
		}
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_UI_STATE_PROPERTIES:
#line 5780 "machine.c"
		{
			BoxesApp* _tmp46_;
			BoxesDisplayPage* _tmp47_;
			GtkWidget* _tmp48_ = NULL;
			GtkWidget* display_widget;
			GtkWidget* _tmp49_;
			gboolean zoom;
			GtkWidget* _tmp50_;
			gboolean _tmp51_;
			gboolean _tmp52_;
			ClutterActor* _tmp69_;
#line 739 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp46_ = boxes_app_app;
#line 739 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp47_ = _tmp46_->display_page;
#line 739 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp48_ = boxes_display_page_remove_display (_tmp47_);
#line 739 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			display_widget = _tmp48_;
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp49_ = display_widget;
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			zoom = _tmp49_ != NULL;
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp50_ = display_widget;
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp51_ = zoom;
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			boxes_machine_actor_update_thumbnail (self, _tmp50_, _tmp51_);
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp52_ = zoom;
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			if (_tmp52_) {
#line 5814 "machine.c"
				Block28Data* _data28_;
				ClutterActor* _tmp53_;
				gint _tmp54_;
				gint _tmp55_;
				BoxesApp* _tmp56_;
				gboolean _tmp57_;
				gboolean _tmp58_;
				ClutterActor* _tmp63_;
				ClutterActor* _tmp64_;
				BoxesApp* _tmp65_;
				guint _tmp66_;
				ClutterActor* _tmp67_;
				gulong _tmp68_ = 0UL;
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_data28_ = g_slice_new0 (Block28Data);
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_data28_->_ref_count_ = 1;
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_data28_->self = g_object_ref (self);
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp53_ = self->priv->thumbnail;
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp54_ = width;
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp55_ = height;
#line 746 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				boxes_allocate_actor_no_animation (_tmp53_, (gfloat) 0, (gfloat) 0, (gfloat) _tmp54_, (gfloat) _tmp55_);
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp56_ = boxes_app_app;
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp57_ = boxes_app_get_fullscreen (_tmp56_);
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp58_ = _tmp57_;
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				if (_tmp58_) {
#line 5850 "machine.c"
					BoxesApp* _tmp59_;
					BoxesTopbar* _tmp60_;
					ClutterActor* _tmp61_;
					ClutterActor* _tmp62_;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp59_ = boxes_app_app;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp60_ = _tmp59_->topbar;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp61_ = boxes_ui_get_actor ((BoxesUI*) _tmp60_);
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					_tmp62_ = _tmp61_;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
					clutter_actor_hide (_tmp62_);
#line 5865 "machine.c"
				}
#line 753 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp63_ = self->priv->thumbnail;
#line 753 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_easing_mode (_tmp63_, CLUTTER_LINEAR);
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp64_ = self->priv->thumbnail;
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp65_ = boxes_app_app;
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp66_ = _tmp65_->duration;
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				clutter_actor_set_easing_duration (_tmp64_, _tmp66_);
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_data28_->completed_id = (gulong) 0;
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp67_ = self->priv->thumbnail;
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_tmp68_ = g_signal_connect_data (_tmp67_, "transitions-completed", (GCallback) _____lambda119__clutter_actor_transitions_completed, block28_data_ref (_data28_), (GClosureNotify) block28_data_unref, 0);
#line 756 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_data28_->completed_id = _tmp68_;
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				block28_data_unref (_data28_);
#line 745 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
				_data28_ = NULL;
#line 5891 "machine.c"
			}
#line 762 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_tmp69_ = self->priv->thumbnail;
#line 762 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			clutter_actor_show (_tmp69_);
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			_g_object_unref0 (display_widget);
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 5901 "machine.c"
		}
		default:
		{
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
			break;
#line 5907 "machine.c"
		}
	}
}


static ClutterActor* boxes_machine_actor_real_get_actor (BoxesUI* base) {
	ClutterActor* result;
	BoxesMachineActor* self;
	ClutterActor* _tmp0_;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = (BoxesMachineActor*) base;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->_actor;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	result = _tmp0_;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	return result;
#line 5925 "machine.c"
}


static void boxes_machine_actor_class_init (BoxesMachineActorClass * klass) {
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	boxes_machine_actor_parent_class = g_type_class_peek_parent (klass);
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	g_type_class_add_private (klass, sizeof (BoxesMachineActorPrivate));
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_UI_CLASS (klass)->ui_state_changed = boxes_machine_actor_real_ui_state_changed;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	BOXES_UI_CLASS (klass)->get_actor = boxes_machine_actor_real_get_actor;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_machine_actor_get_property;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_machine_actor_finalize;
#line 471 "/extra-data/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 5944 "machine.c"
}


static void boxes_machine_actor_instance_init (BoxesMachineActor * self) {
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv = BOXES_MACHINE_ACTOR_GET_PRIVATE (self);
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self->priv->track_screenshot_id = (gulong) 0;
#line 5953 "machine.c"
}


static void boxes_machine_actor_finalize (GObject* obj) {
	BoxesMachineActor * self;
	gulong _tmp0_;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActor);
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_tmp0_ = self->priv->track_screenshot_id;
#line 486 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 5966 "machine.c"
		BoxesApp* _tmp1_;
		BoxesProperties* _tmp2_;
		GtkWidget* _tmp3_;
		gulong _tmp4_;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp1_ = boxes_app_app;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp2_ = _tmp1_->properties;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp3_ = _tmp2_->screenshot_placeholder;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		_tmp4_ = self->priv->track_screenshot_id;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 5981 "machine.c"
	}
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->_actor);
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->screenshot);
#line 476 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->gtk_vbox);
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->thumbnail);
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->thumbnail_screenshot);
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->label);
#line 480 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->vbox);
#line 481 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 482 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	_g_object_unref0 (self->priv->machine);
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	G_OBJECT_CLASS (boxes_machine_actor_parent_class)->finalize (obj);
#line 6003 "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 };
		GType boxes_machine_actor_type_id;
		boxes_machine_actor_type_id = g_type_register_static (BOXES_TYPE_UI, "BoxesMachineActor", &g_define_type_info, 0);
		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 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
	switch (property_id) {
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		case BOXES_MACHINE_ACTOR_ACTOR:
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		g_value_set_object (value, boxes_ui_get_actor ((BoxesUI*) self));
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6030 "machine.c"
		default:
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/machine.vala"
		break;
#line 6036 "machine.c"
	}
}



