/* libvirt-machine-properties.c generated by valac 0.39.5, the Vala compiler
 * generated from libvirt-machine-properties.vala, do not modify */

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

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


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

typedef struct _BoxesIPropertiesProvider BoxesIPropertiesProvider;
typedef struct _BoxesIPropertiesProviderIface BoxesIPropertiesProviderIface;

#define BOXES_TYPE_PROPERTIES_PAGE (boxes_properties_page_get_type ())

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

typedef struct _BoxesProperty BoxesProperty;
typedef struct _BoxesPropertyClass BoxesPropertyClass;

#define BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES (boxes_libvirt_machine_properties_get_type ())
#define BOXES_LIBVIRT_MACHINE_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachineProperties))
#define BOXES_LIBVIRT_MACHINE_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachinePropertiesClass))
#define BOXES_IS_LIBVIRT_MACHINE_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES))
#define BOXES_IS_LIBVIRT_MACHINE_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES))
#define BOXES_LIBVIRT_MACHINE_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachinePropertiesClass))

typedef struct _BoxesLibvirtMachineProperties BoxesLibvirtMachineProperties;
typedef struct _BoxesLibvirtMachinePropertiesClass BoxesLibvirtMachinePropertiesClass;
typedef struct _BoxesLibvirtMachinePropertiesPrivate BoxesLibvirtMachinePropertiesPrivate;

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

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

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

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;

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

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;
enum  {
	BOXES_LIBVIRT_MACHINE_PROPERTIES_0_PROPERTY,
	BOXES_LIBVIRT_MACHINE_PROPERTIES_NUM_PROPERTIES
};
static GParamSpec* boxes_libvirt_machine_properties_properties[BOXES_LIBVIRT_MACHINE_PROPERTIES_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

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

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIIface BoxesUIIface;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
typedef struct _BoxesCollectionItemPrivate BoxesCollectionItemPrivate;
typedef struct _BoxesMachinePrivate BoxesMachinePrivate;

#define BOXES_MACHINE_TYPE_CONNECT_FLAGS (boxes_machine_connect_flags_get_type ())
#define _g_free0(var) (var = (g_free (var), NULL))
#define __vala_GVirDomainInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirDomainInfo_free (var), NULL)))
#define __vala_GVirNodeInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirNodeInfo_free (var), NULL)))
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))

#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_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))

#define BOXES_TYPE_EDITABLE_STRING_PROPERTY (boxes_editable_string_property_get_type ())
#define BOXES_EDITABLE_STRING_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EDITABLE_STRING_PROPERTY, BoxesEditableStringProperty))
#define BOXES_EDITABLE_STRING_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EDITABLE_STRING_PROPERTY, BoxesEditableStringPropertyClass))
#define BOXES_IS_EDITABLE_STRING_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EDITABLE_STRING_PROPERTY))
#define BOXES_IS_EDITABLE_STRING_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EDITABLE_STRING_PROPERTY))
#define BOXES_EDITABLE_STRING_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EDITABLE_STRING_PROPERTY, BoxesEditableStringPropertyClass))

typedef struct _BoxesEditableStringProperty BoxesEditableStringProperty;
typedef struct _BoxesEditableStringPropertyClass BoxesEditableStringPropertyClass;
typedef struct _Block45Data Block45Data;

#define BOXES_TYPE_STRING_PROPERTY (boxes_string_property_get_type ())
#define BOXES_STRING_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_STRING_PROPERTY, BoxesStringProperty))
#define BOXES_STRING_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_STRING_PROPERTY, BoxesStringPropertyClass))
#define BOXES_IS_STRING_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_STRING_PROPERTY))
#define BOXES_IS_STRING_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_STRING_PROPERTY))
#define BOXES_STRING_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_STRING_PROPERTY, BoxesStringPropertyClass))

typedef struct _BoxesStringProperty BoxesStringProperty;
typedef struct _BoxesStringPropertyClass BoxesStringPropertyClass;

#define BOXES_TYPE_SNAPSHOTS_PROPERTY (boxes_snapshots_property_get_type ())
#define BOXES_SNAPSHOTS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SNAPSHOTS_PROPERTY, BoxesSnapshotsProperty))
#define BOXES_SNAPSHOTS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SNAPSHOTS_PROPERTY, BoxesSnapshotsPropertyClass))
#define BOXES_IS_SNAPSHOTS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SNAPSHOTS_PROPERTY))
#define BOXES_IS_SNAPSHOTS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SNAPSHOTS_PROPERTY))
#define BOXES_SNAPSHOTS_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SNAPSHOTS_PROPERTY, BoxesSnapshotsPropertyClass))

typedef struct _BoxesSnapshotsProperty BoxesSnapshotsProperty;
typedef struct _BoxesSnapshotsPropertyClass BoxesSnapshotsPropertyClass;

#define BOXES_TYPE_SIZE_PROPERTY (boxes_size_property_get_type ())
#define BOXES_SIZE_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SIZE_PROPERTY, BoxesSizeProperty))
#define BOXES_SIZE_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SIZE_PROPERTY, BoxesSizePropertyClass))
#define BOXES_IS_SIZE_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SIZE_PROPERTY))
#define BOXES_IS_SIZE_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SIZE_PROPERTY))
#define BOXES_SIZE_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SIZE_PROPERTY, BoxesSizePropertyClass))

typedef struct _BoxesSizeProperty BoxesSizeProperty;
typedef struct _BoxesSizePropertyClass BoxesSizePropertyClass;
typedef struct _Block46Data Block46Data;

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

typedef struct _BoxesVMCreator BoxesVMCreator;
typedef struct _BoxesVMCreatorClass BoxesVMCreatorClass;

#define BOXES_TYPE_INSTALLER_MEDIA (boxes_installer_media_get_type ())
#define BOXES_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia))
#define BOXES_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))
#define BOXES_IS_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_IS_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_INSTALLER_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

#define BOXES_TYPE_APP_WINDOW (boxes_app_window_get_type ())
#define BOXES_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindow))
#define BOXES_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))
#define BOXES_IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP_WINDOW))
#define BOXES_IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP_WINDOW))
#define BOXES_APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))

typedef struct _BoxesAppWindow BoxesAppWindow;
typedef struct _BoxesAppWindowClass BoxesAppWindowClass;
typedef struct _BoxesAppWindowPrivate BoxesAppWindowPrivate;

#define BOXES_TYPE_WIZARD_WINDOW (boxes_wizard_window_get_type ())
#define BOXES_WIZARD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindow))
#define BOXES_WIZARD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindowClass))
#define BOXES_IS_WIZARD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_WINDOW))
#define BOXES_IS_WIZARD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_WINDOW))
#define BOXES_WIZARD_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindowClass))

typedef struct _BoxesWizardWindow BoxesWizardWindow;
typedef struct _BoxesWizardWindowClass BoxesWizardWindowClass;

#define BOXES_TYPE_PROPERTIES_WINDOW (boxes_properties_window_get_type ())
#define BOXES_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindow))
#define BOXES_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindowClass))
#define BOXES_IS_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTIES_WINDOW))
#define BOXES_IS_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTIES_WINDOW))
#define BOXES_PROPERTIES_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindowClass))

typedef struct _BoxesPropertiesWindow BoxesPropertiesWindow;
typedef struct _BoxesPropertiesWindowClass BoxesPropertiesWindowClass;

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

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

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

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

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

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

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

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

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

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;

#define BOXES_TYPE_TROUBLESHOOT_VIEW (boxes_troubleshoot_view_get_type ())
#define BOXES_TROUBLESHOOT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_TROUBLESHOOT_VIEW, BoxesTroubleshootView))
#define BOXES_TROUBLESHOOT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_TROUBLESHOOT_VIEW, BoxesTroubleshootViewClass))
#define BOXES_IS_TROUBLESHOOT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_TROUBLESHOOT_VIEW))
#define BOXES_IS_TROUBLESHOOT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_TROUBLESHOOT_VIEW))
#define BOXES_TROUBLESHOOT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_TROUBLESHOOT_VIEW, BoxesTroubleshootViewClass))

typedef struct _BoxesTroubleshootView BoxesTroubleshootView;
typedef struct _BoxesTroubleshootViewClass BoxesTroubleshootViewClass;
typedef struct _BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData;

#define BOXES_TYPE_OS_DATABASE (boxes_os_database_get_type ())
#define BOXES_OS_DATABASE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_OS_DATABASE, BoxesOSDatabase))
#define BOXES_OS_DATABASE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_OS_DATABASE, BoxesOSDatabaseClass))
#define BOXES_IS_OS_DATABASE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_OS_DATABASE))
#define BOXES_IS_OS_DATABASE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_OS_DATABASE))
#define BOXES_OS_DATABASE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_OS_DATABASE, BoxesOSDatabaseClass))

typedef struct _BoxesOSDatabase BoxesOSDatabase;
typedef struct _BoxesOSDatabaseClass BoxesOSDatabaseClass;

#define BOXES_TYPE_MEDIA_MANAGER (boxes_media_manager_get_type ())
#define BOXES_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManager))
#define BOXES_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManagerClass))
#define BOXES_IS_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MEDIA_MANAGER))
#define BOXES_IS_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MEDIA_MANAGER))
#define BOXES_MEDIA_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManagerClass))

typedef struct _BoxesMediaManager BoxesMediaManager;
typedef struct _BoxesMediaManagerClass BoxesMediaManagerClass;
typedef struct _BoxesLibvirtMachinePropertiesGetOsForMachineData BoxesLibvirtMachinePropertiesGetOsForMachineData;

#define BOXES_TYPE_RESOURCE_GRAPH (boxes_resource_graph_get_type ())
#define BOXES_RESOURCE_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_RESOURCE_GRAPH, BoxesResourceGraph))
#define BOXES_RESOURCE_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_RESOURCE_GRAPH, BoxesResourceGraphClass))
#define BOXES_IS_RESOURCE_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_RESOURCE_GRAPH))
#define BOXES_IS_RESOURCE_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_RESOURCE_GRAPH))
#define BOXES_RESOURCE_GRAPH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_RESOURCE_GRAPH, BoxesResourceGraphClass))

typedef struct _BoxesResourceGraph BoxesResourceGraph;
typedef struct _BoxesResourceGraphClass BoxesResourceGraphClass;
typedef struct _Block47Data Block47Data;
typedef struct _BoxesLibvirtMachinePrivate BoxesLibvirtMachinePrivate;
typedef struct _Block48Data Block48Data;
typedef struct _Block49Data Block49Data;

#define BOXES_MACHINE_TYPE_MACHINE_STATE (boxes_machine_machine_state_get_type ())
typedef struct _Block50Data Block50Data;
#define __vala_GVirStorageVolInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirStorageVolInfo_free (var), NULL)))
#define __vala_GVirStoragePoolInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirStoragePoolInfo_free (var), NULL)))
typedef struct _Block51Data Block51Data;
typedef struct _Block52Data Block52Data;

#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_NOTIFICATION (boxes_notification_get_type ())
#define BOXES_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_NOTIFICATION, BoxesNotification))
#define BOXES_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_NOTIFICATION, BoxesNotificationClass))
#define BOXES_IS_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_NOTIFICATION))
#define BOXES_IS_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_NOTIFICATION))
#define BOXES_NOTIFICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_NOTIFICATION, BoxesNotificationClass))

typedef struct _BoxesNotification BoxesNotification;
typedef struct _BoxesNotificationClass BoxesNotificationClass;
typedef struct _BoxesLibvirtMachinePropertiesChangeStorageSizeData BoxesLibvirtMachinePropertiesChangeStorageSizeData;
typedef struct _BoxesLibvirtMachinePropertiesForceChangeStorageSizeData BoxesLibvirtMachinePropertiesForceChangeStorageSizeData;
typedef struct _BoxesLibvirtMachinePropertiesGetSnapshotsData BoxesLibvirtMachinePropertiesGetSnapshotsData;
typedef struct _Block53Data Block53Data;

#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 enum  {
	BOXES_PROPERTIES_PAGE_GENERAL,
	BOXES_PROPERTIES_PAGE_SYSTEM,
	BOXES_PROPERTIES_PAGE_DEVICES,
	BOXES_PROPERTIES_PAGE_SNAPSHOTS,
	BOXES_PROPERTIES_PAGE_LAST
} BoxesPropertiesPage;

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

struct _BoxesLibvirtMachineProperties {
	GObject parent_instance;
	BoxesLibvirtMachinePropertiesPrivate * priv;
};

struct _BoxesLibvirtMachinePropertiesClass {
	GObjectClass parent_class;
};

struct _BoxesLibvirtMachinePropertiesPrivate {
	BoxesLibvirtMachine* machine;
};

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

struct _BoxesUIIface {
	GTypeInterface parent_iface;
	BoxesUIState (*get_previous_ui_state) (BoxesUI* self);
	void (*set_previous_ui_state) (BoxesUI* self, BoxesUIState value);
	BoxesUIState (*get_ui_state) (BoxesUI* self);
	void (*set_ui_state) (BoxesUI* self, BoxesUIState value);
};

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

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

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

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

struct _BoxesMachineClass {
	BoxesCollectionItemClass parent_class;
	void (*save_real) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*save_real_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*take_screenshot) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GdkPixbuf* (*take_screenshot_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	GList* (*get_properties) (BoxesMachine* self, BoxesPropertiesPage page);
	void (*connect_display) (BoxesMachine* self, BoxesMachineConnectFlags flags, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*connect_display_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*restart) (BoxesMachine* self);
	void (*clone) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*clone_finish) (BoxesMachine* self, GAsyncResult* _res_);
	void (*disconnect_display) (BoxesMachine* self);
	void (*update_status) (BoxesMachine* self);
	void (*delete) (BoxesMachine* self, gboolean by_user);
	gboolean (*get_suspend_at_exit) (BoxesMachine* self);
	gboolean (*get_can_save) (BoxesMachine* self);
	gboolean (*get_can_restart) (BoxesMachine* self);
	gboolean (*get_can_clone) (BoxesMachine* self);
	gboolean (*get_should_autosave) (BoxesMachine* self);
	gboolean (*get_is_local) (BoxesMachine* self);
};

struct _Block45Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesEditableStringProperty* name_property;
};

struct _Block46Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	GtkLabel* label;
	gboolean empty;
	GtkLabel* button_label;
	GVirConfigDomainDisk* disk_config;
};

struct _BoxesInstallerMedia {
	GObject parent_instance;
	BoxesInstallerMediaPrivate * priv;
	OsinfoOs* os;
	OsinfoResources* resources;
	OsinfoMedia* os_media;
	gchar* label;
	gchar* device_file;
	gchar* mount_point;
	gboolean from_image;
};

struct _BoxesInstallerMediaClass {
	GObjectClass parent_class;
	void (*set_direct_boot_params) (BoxesInstallerMedia* self, GVirConfigDomainOs* os);
	void (*prepare) (BoxesInstallerMedia* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gboolean (*prepare_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_for_installation) (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_for_installation_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_to_continue_installation) (BoxesInstallerMedia* self, const gchar* vm_name);
	void (*clean_up) (BoxesInstallerMedia* self);
	void (*clean_up_preparation_cache) (BoxesInstallerMedia* self);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*setup_post_install_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*populate_setup_box) (BoxesInstallerMedia* self, GtkBox* setup_box);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	BoxesVMCreator* (*get_vm_creator) (BoxesInstallerMedia* self);
	OsinfoDeviceList* (*get_supported_devices) (BoxesInstallerMedia* self);
	guint64 (*get_installed_size) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
	gboolean (*get_ready_to_create) (BoxesInstallerMedia* self);
	gboolean (*get_live) (BoxesInstallerMedia* self);
	gboolean (*get_eject_after_install) (BoxesInstallerMedia* self);
	gchar* (*get_architecture) (BoxesInstallerMedia* self);
};

struct _BoxesAppWindow {
	GtkApplicationWindow parent_instance;
	BoxesAppWindowPrivate * priv;
	BoxesWizardWindow* wizard_window;
	BoxesPropertiesWindow* props_window;
	BoxesSearchbar* searchbar;
	BoxesTopbar* topbar;
	BoxesSelectionbar* selectionbar;
	BoxesDisplayPage* display_page;
	BoxesEmptyBoxes* empty_boxes;
	BoxesTroubleshootView* troubleshoot_view;
	GtkStack* below_bin;
	GSettings* settings;
};

struct _BoxesAppWindowClass {
	GtkApplicationWindowClass parent_class;
};

typedef void (*BoxesPropertiesWindowFileChosenFunc) (const gchar* path, void* user_data);
struct _BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesLibvirtMachineProperties* self;
	BoxesSizeProperty* ram_property;
	BoxesSizeProperty* storage_property;
	gboolean _tmp0_;
	OsinfoOs* os;
	BoxesLibvirtMachine* _tmp1_;
	OsinfoOs* _tmp2_;
	OsinfoOs* _tmp3_;
	gchar* architecture;
	BoxesLibvirtMachine* _tmp4_;
	GVirConfigDomain* _tmp5_;
	GVirConfigDomain* _tmp6_;
	GVirConfigDomainOs* _tmp7_;
	GVirConfigDomainOs* _tmp8_;
	const gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	OsinfoResources* resources;
	OsinfoOs* _tmp12_;
	const gchar* _tmp13_;
	OsinfoResources* _tmp14_;
	OsinfoResources* _tmp15_;
	OsinfoResources* _tmp16_;
	gint64 _tmp17_;
	gint64 _tmp18_;
	OsinfoResources* _tmp19_;
	gint64 _tmp20_;
	gint64 _tmp21_;
};

typedef enum  {
	BOXES_OS_DATABASE_ERROR_NON_BOOTABLE,
	BOXES_OS_DATABASE_ERROR_DB_LOADING_FAILED,
	BOXES_OS_DATABASE_ERROR_UNKNOWN_OS_ID,
	BOXES_OS_DATABASE_ERROR_UNKNOWN_MEDIA_ID
} BoxesOSDatabaseError;
#define BOXES_OS_DATABASE_ERROR boxes_os_database_error_quark ()
struct _BoxesLibvirtMachinePropertiesGetOsForMachineData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* machine;
	OsinfoOs* result;
	gchar* os_id;
	GVirConfigDomain* _tmp0_;
	GVirConfigDomain* _tmp1_;
	gchar* _tmp2_;
	const gchar* _tmp3_;
	BoxesOSDatabase* os_db;
	BoxesMediaManager* _tmp4_;
	BoxesMediaManager* _tmp5_;
	BoxesOSDatabase* _tmp6_;
	BoxesOSDatabase* _tmp7_;
	BoxesOSDatabase* _tmp8_;
	BoxesOSDatabase* _tmp9_;
	OsinfoOs* _tmp10_;
	BoxesOSDatabase* _tmp11_;
	const gchar* _tmp12_;
	OsinfoOs* _tmp13_;
	OsinfoOs* _tmp14_;
	GError* _error_;
	const gchar* _tmp15_;
	GError* _tmp16_;
	const gchar* _tmp17_;
	GError * _inner_error_;
};

struct _Block47Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesResourceGraph* cpu_graph;
	BoxesResourceGraph* io_graph;
	BoxesResourceGraph* net_graph;
	gulong stats_id;
	BoxesProperty* prop;
	gulong flushed_id;
};

struct _BoxesLibvirtMachine {
	BoxesMachine parent_instance;
	BoxesLibvirtMachinePrivate * priv;
	BoxesLibvirtMachineProperties* properties;
	gdouble* cpu_stats;
	gint cpu_stats_length1;
	gint _cpu_stats_size_;
	gdouble* io_stats;
	gint io_stats_length1;
	gint _io_stats_size_;
	gdouble* net_stats;
	gint net_stats_length1;
	gint _net_stats_size_;
};

struct _BoxesLibvirtMachineClass {
	BoxesMachineClass parent_class;
};

struct _Block48Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	GtkButton* restart_button;
	GtkButton* shutdown_button;
	gulong state_notify_id;
	BoxesProperty* prop;
	gulong flushed_id;
};

struct _Block49Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesSizeProperty* property;
};

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 _Block50Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
};

struct _Block51Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
};

struct _Block52Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
	gpointer _async_data_;
};

typedef void (*BoxesNotificationOKFunc) (void* user_data);
typedef void (*BoxesNotificationDismissFunc) (void* user_data);
struct _BoxesLibvirtMachinePropertiesChangeStorageSizeData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
	Block52Data* _data52_;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	GVirStorageVol* _tmp2_;
	GList* snapshots;
	GList* _tmp3_;
	GList* _tmp4_;
	GList* _tmp5_;
	GError* e;
	BoxesLibvirtMachine* _tmp6_;
	const gchar* _tmp7_;
	const gchar* _tmp8_;
	GError* _tmp9_;
	const gchar* _tmp10_;
	guint num_snapshots;
	GList* _tmp11_;
	guint _tmp12_;
	gchar* msg;
	guint _tmp13_;
	guint _tmp14_;
	gchar* _tmp15_;
	BoxesNotificationOKFunc undo;
	void* undo_target;
	GDestroyNotify undo_target_destroy_notify;
	BoxesNotificationDismissFunc really_resize;
	void* really_resize_target;
	GDestroyNotify really_resize_target_destroy_notify;
	BoxesLibvirtMachine* _tmp16_;
	BoxesAppWindow* _tmp17_;
	BoxesAppWindow* _tmp18_;
	BoxesNotificationbar* _tmp19_;
	BoxesNotificationbar* _tmp20_;
	const gchar* _tmp21_;
	BoxesNotificationOKFunc _tmp22_;
	void* _tmp22__target;
	GDestroyNotify _tmp22__target_destroy_notify;
	BoxesNotificationDismissFunc _tmp23_;
	void* _tmp23__target;
	GDestroyNotify _tmp23__target_destroy_notify;
	BoxesNotification* _tmp24_;
	BoxesNotification* _tmp25_;
	BoxesLibvirtMachine* _tmp26_;
	gboolean _tmp27_;
	gboolean _tmp28_;
	GVirDomainDisk* disk;
	BoxesLibvirtMachine* _tmp29_;
	GVirDomainDisk* _tmp30_;
	GVirDomainDisk* _tmp31_;
	guint64 size;
	GVirDomainDisk* _tmp32_;
	guint64 _tmp33_;
	GVirStoragePool* pool;
	BoxesLibvirtMachine* _tmp34_;
	GVirConnection* _tmp35_;
	GVirConnection* _tmp36_;
	GVirStoragePool* _tmp37_;
	GVirStoragePool* _tmp38_;
	BoxesLibvirtMachine* _tmp39_;
	guint64 _tmp40_;
	GError* _error_;
	BoxesLibvirtMachine* _tmp41_;
	GVirStorageVol* _tmp42_;
	GVirStorageVol* _tmp43_;
	const gchar* _tmp44_;
	guint64 _tmp45_;
	GError* _tmp46_;
	const gchar* _tmp47_;
	GError* _vala1__error_;
	BoxesLibvirtMachine* _tmp48_;
	GVirStorageVol* _tmp49_;
	GVirStorageVol* _tmp50_;
	const gchar* _tmp51_;
	GError* _tmp52_;
	const gchar* _tmp53_;
	GError * _inner_error_;
};

struct _BoxesLibvirtMachinePropertiesForceChangeStorageSizeData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
	GList* snapshots;
	GList* _tmp0_;
	GList* _tmp1_;
	GList* snapshot_collection;
	GList* snapshot_it;
	GVirDomainSnapshot* _tmp2_;
	GVirDomainSnapshot* snapshot;
	GVirDomainSnapshot* _tmp3_;
	GError* e;
	GError* _tmp4_;
	const gchar* _tmp5_;
	GError * _inner_error_;
};

struct _BoxesLibvirtMachinePropertiesGetSnapshotsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	BoxesLibvirtMachineProperties* self;
	GCancellable* cancellable;
	GList* result;
	BoxesLibvirtMachine* _tmp0_;
	GVirDomain* _tmp1_;
	GVirDomain* _tmp2_;
	BoxesLibvirtMachine* _tmp3_;
	GVirDomain* _tmp4_;
	GVirDomain* _tmp5_;
	GList* _tmp6_;
	GError * _inner_error_;
};

struct _Block53Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	GtkBox* box;
	GtkSwitch* toggle;
	gchar* name;
};


static gpointer boxes_libvirt_machine_properties_parent_class = NULL;
extern BoxesApp* boxes_app_app;
static BoxesIPropertiesProviderIface * boxes_libvirt_machine_properties_boxes_iproperties_provider_parent_iface = NULL;

GType boxes_properties_page_get_type (void) G_GNUC_CONST;
GType boxes_property_get_type (void) G_GNUC_CONST;
GType boxes_iproperties_provider_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_properties_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
#define BOXES_LIBVIRT_MACHINE_PROPERTIES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachinePropertiesPrivate))
#define BOXES_LIBVIRT_MACHINE_PROPERTIES_MEGABYTES ((guint64) (1000 * 1000))
BoxesLibvirtMachineProperties* boxes_libvirt_machine_properties_new (BoxesLibvirtMachine* machine);
BoxesLibvirtMachineProperties* boxes_libvirt_machine_properties_construct (GType object_type,
                                                                           BoxesLibvirtMachine* machine);
static void __lambda118_ (BoxesLibvirtMachineProperties* self);
static gboolean boxes_libvirt_machine_properties_save_machine_name_change (BoxesLibvirtMachineProperties* self);
static void ___lambda118__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
GVirDomain* boxes_libvirt_machine_get_domain (BoxesLibvirtMachine* self);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
gchar* boxes_libvirt_machine_properties_collect_logs (BoxesLibvirtMachineProperties* self);
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_machine_connect_flags_get_type (void) G_GNUC_CONST;
GVirConnection* boxes_libvirt_machine_get_connection (BoxesLibvirtMachine* self);
static void _vala_GVirDomainInfo_free (GVirDomainInfo* self);
const gchar* gvir_domain_state_to_string (GVirDomainState self);
static void _vala_GVirNodeInfo_free (GVirNodeInfo* self);
GType boxes_display_get_type (void) G_GNUC_CONST;
BoxesDisplay* boxes_machine_get_display (BoxesMachine* self);
void boxes_display_collect_logs (BoxesDisplay* self,
                                 GString* builder);
static GList* boxes_libvirt_machine_properties_real_get_properties (BoxesIPropertiesProvider* base,
                                                             BoxesPropertiesPage page);
gboolean boxes_machine_get_is_on (BoxesMachine* self);
gboolean boxes_libvirt_machine_update_display (BoxesLibvirtMachine* self,
                                               GError** error);
static void _g_object_unref0_ (gpointer var);
static inline void _g_list_free__g_object_unref0_ (GList* self);
GType boxes_editable_string_property_get_type (void) G_GNUC_CONST;
static Block45Data* block45_data_ref (Block45Data* _data45_);
static void block45_data_unref (void * _userdata_);
BoxesEditableStringProperty* boxes_iproperties_provider_add_editable_string_property (BoxesIPropertiesProvider* self,
                                                                                      GList* * list,
                                                                                      const gchar* name,
                                                                                      const gchar* value);
static void ___lambda119_ (BoxesLibvirtMachineProperties* self,
                    BoxesEditableStringProperty* property,
                    const gchar* name);
void boxes_collection_item_set_name (BoxesCollectionItem* self,
                                     const gchar* value);
static void ____lambda119__boxes_editable_string_property_changed (BoxesEditableStringProperty* _sender,
                                                            const gchar* value,
                                                            gpointer self);
static void ___lambda120_ (Block45Data* _data45_);
void boxes_editable_string_property_set_text (BoxesEditableStringProperty* self,
                                              const gchar* value);
static void ____lambda120__g_object_notify (GObject* _sender,
                                     GParamSpec* pspec,
                                     gpointer self);
gchar* boxes_libvirt_machine_get_ip_address (BoxesLibvirtMachine* self);
GType boxes_string_property_get_type (void) G_GNUC_CONST;
BoxesStringProperty* boxes_iproperties_provider_add_string_property (BoxesIPropertiesProvider* self,
                                                                     GList* * list,
                                                                     const gchar* name,
                                                                     const gchar* value);
const gchar* boxes_display_get_protocol (BoxesDisplay* self);
gchar* boxes_display_get_uri (BoxesDisplay* self);
static void boxes_libvirt_machine_properties_add_resource_usage_graphs (BoxesLibvirtMachineProperties* self,
                                                                 GList* * list);
static void boxes_libvirt_machine_properties_add_system_props_buttons (BoxesLibvirtMachineProperties* self,
                                                                GList* * list);
void boxes_libvirt_machine_properties_get_resources_properties (BoxesLibvirtMachineProperties* self,
                                                                GList* * list);
static void boxes_libvirt_machine_properties_add_run_in_bg_property (BoxesLibvirtMachineProperties* self,
                                                              GList* * list);
GVirConfigDomain* boxes_libvirt_machine_get_domain_config (BoxesLibvirtMachine* self);
static void boxes_libvirt_machine_properties_add_cdrom_property (BoxesLibvirtMachineProperties* self,
                                                          GVirConfigDomainDisk* disk_config,
                                                          GList* * list);
gboolean boxes_vm_configurator_is_install_config (GVirConfigDomain* domain);
GType boxes_snapshots_property_get_type (void) G_GNUC_CONST;
static BoxesSnapshotsProperty* boxes_libvirt_machine_properties_add_snapshots_property (BoxesLibvirtMachineProperties* self,
                                                                                 GList* * list);
GType boxes_size_property_get_type (void) G_GNUC_CONST;
static BoxesSizeProperty* boxes_libvirt_machine_properties_add_ram_property (BoxesLibvirtMachineProperties* self,
                                                                      GList* * list);
static BoxesSizeProperty* boxes_libvirt_machine_properties_add_storage_property (BoxesLibvirtMachineProperties* self,
                                                                          GList* * list);
static void boxes_libvirt_machine_properties_mark_recommended_resources (BoxesLibvirtMachineProperties* self,
                                                                  BoxesSizeProperty* ram_property,
                                                                  BoxesSizeProperty* storage_property,
                                                                  GAsyncReadyCallback _callback_,
                                                                  gpointer _user_data_);
static void boxes_libvirt_machine_properties_mark_recommended_resources_finish (BoxesLibvirtMachineProperties* self,
                                                                         GAsyncResult* _res_);
static Block46Data* block46_data_ref (Block46Data* _data46_);
static void block46_data_unref (void * _userdata_);
gpointer boxes_vm_creator_ref (gpointer instance);
void boxes_vm_creator_unref (gpointer instance);
GParamSpec* boxes_param_spec_vm_creator (const gchar* name,
                                         const gchar* nick,
                                         const gchar* blurb,
                                         GType object_type,
                                         GParamFlags flags);
void boxes_value_set_vm_creator (GValue* value,
                                 gpointer v_object);
void boxes_value_take_vm_creator (GValue* value,
                                  gpointer v_object);
gpointer boxes_value_get_vm_creator (const GValue* value);
GType boxes_vm_creator_get_type (void) G_GNUC_CONST;
BoxesVMCreator* boxes_libvirt_machine_get_vm_creator (BoxesLibvirtMachine* self);
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
BoxesInstallerMedia* boxes_vm_creator_get_install_media (BoxesVMCreator* self);
gboolean boxes_vm_creator_get_express_install (BoxesVMCreator* self);
BoxesProperty* boxes_iproperties_provider_add_property (BoxesIPropertiesProvider* self,
                                                        GList* * list,
                                                        const gchar* name,
                                                        GtkWidget* widget,
                                                        GtkWidget* extra_widget);
static void __lambda145_ (Block46Data* _data46_);
GType boxes_app_window_get_type (void) G_GNUC_CONST;
BoxesAppWindow* boxes_machine_get_window (BoxesMachine* self);
GType boxes_wizard_window_get_type (void) G_GNUC_CONST;
GType boxes_properties_window_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
GType boxes_troubleshoot_view_get_type (void) G_GNUC_CONST;
void boxes_properties_window_show_file_chooser (BoxesPropertiesWindow* self,
                                                BoxesPropertiesWindowFileChosenFunc file_chosen_func,
                                                void* file_chosen_func_target,
                                                GDestroyNotify file_chosen_func_target_destroy_notify);
static void ___lambda146_ (Block46Data* _data46_,
                    const gchar* path);
static void ____lambda146__boxes_properties_window_file_chosen_func (const gchar* path,
                                                              gpointer self);
static void ___lambda145__gtk_button_clicked (GtkButton* _sender,
                                       gpointer self);
void boxes_property_set_description_alignment (BoxesProperty* self,
                                               GtkAlign value);
static void boxes_libvirt_machine_properties_update_ram_property (BoxesLibvirtMachineProperties* self,
                                                           BoxesProperty* property);
void boxes_property_set_reboot_required (BoxesProperty* self,
                                         gboolean value);
static void boxes_libvirt_machine_properties_mark_recommended_resources_data_free (gpointer _data);
static gboolean boxes_libvirt_machine_properties_mark_recommended_resources_co (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_);
static void boxes_libvirt_machine_properties_get_os_for_machine (BoxesLibvirtMachineProperties* self,
                                                          BoxesLibvirtMachine* machine,
                                                          GAsyncReadyCallback _callback_,
                                                          gpointer _user_data_);
static OsinfoOs* boxes_libvirt_machine_properties_get_os_for_machine_finish (BoxesLibvirtMachineProperties* self,
                                                                      GAsyncResult* _res_);
static void boxes_libvirt_machine_properties_mark_recommended_resources_ready (GObject* source_object,
                                                                        GAsyncResult* _res_,
                                                                        gpointer _user_data_);
OsinfoResources* boxes_os_database_get_recommended_resources_for_os (OsinfoOs* os,
                                                                     const gchar* architecture);
void boxes_size_property_set_recommended (BoxesSizeProperty* self,
                                          guint64 value);
static void boxes_libvirt_machine_properties_get_os_for_machine_data_free (gpointer _data);
static gboolean boxes_libvirt_machine_properties_get_os_for_machine_co (BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_);
gchar* boxes_vm_configurator_get_os_id (GVirConfigDomain* domain);
GType boxes_os_database_get_type (void) G_GNUC_CONST;
GType boxes_media_manager_get_type (void) G_GNUC_CONST;
BoxesMediaManager* boxes_media_manager_get_instance (void);
BoxesOSDatabase* boxes_media_manager_get_os_db (BoxesMediaManager* self);
void boxes_os_database_get_os_by_id (BoxesOSDatabase* self,
                                     const gchar* id,
                                     GAsyncReadyCallback _callback_,
                                     gpointer _user_data_);
GQuark boxes_os_database_error_quark (void);
OsinfoOs* boxes_os_database_get_os_by_id_finish (BoxesOSDatabase* self,
                                                 GAsyncResult* _res_,
                                                 GError** error);
static void boxes_libvirt_machine_properties_get_os_for_machine_ready (GObject* source_object,
                                                                GAsyncResult* _res_,
                                                                gpointer _user_data_);
GType boxes_resource_graph_get_type (void) G_GNUC_CONST;
static Block47Data* block47_data_ref (Block47Data* _data47_);
static void block47_data_unref (void * _userdata_);
BoxesResourceGraph* boxes_resource_graph_new (gdouble ymax);
BoxesResourceGraph* boxes_resource_graph_construct (GType object_type,
                                                    gdouble ymax);
void boxes_resource_graph_set_npoints (BoxesResourceGraph* self,
                                       gint value);
static void __lambda121_ (Block47Data* _data47_);
void boxes_resource_graph_set_points (BoxesResourceGraph* self,
                                      gdouble* value,
                                      int value_length1);
static void ___lambda121__boxes_libvirt_machine_stats_updated (BoxesLibvirtMachine* _sender,
                                                        gpointer self);
static void __lambda122_ (Block47Data* _data47_);
static void ___lambda122__boxes_property_flushed (BoxesProperty* _sender,
                                           gpointer self);
static Block48Data* block48_data_ref (Block48Data* _data48_);
static void block48_data_unref (void * _userdata_);
static void __lambda123_ (BoxesLibvirtMachineProperties* self);
void boxes_machine_restart (BoxesMachine* self);
void boxes_properties_window_revert_state (BoxesPropertiesWindow* self);
static void ___lambda123__gtk_button_clicked (GtkButton* _sender,
                                       gpointer self);
gboolean boxes_machine_get_is_running (BoxesMachine* self);
static void __lambda135_ (BoxesLibvirtMachineProperties* self);
void boxes_libvirt_machine_force_shutdown (BoxesLibvirtMachine* self);
static void ___lambda135__gtk_button_clicked (GtkButton* _sender,
                                       gpointer self);
static void __lambda136_ (Block48Data* _data48_);
static void ___lambda136__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
static void __lambda137_ (BoxesLibvirtMachineProperties* self);
void boxes_properties_window_show_troubleshoot_log (BoxesPropertiesWindow* self,
                                                    const gchar* log);
static void ___lambda137__gtk_button_clicked (GtkButton* _sender,
                                       gpointer self);
static void __lambda138_ (Block48Data* _data48_);
static void ___lambda138__boxes_property_flushed (BoxesProperty* _sender,
                                           gpointer self);
static Block49Data* block49_data_ref (Block49Data* _data49_);
static void block49_data_unref (void * _userdata_);
BoxesSizeProperty* boxes_iproperties_provider_add_size_property (BoxesIPropertiesProvider* self,
                                                                 GList* * list,
                                                                 const gchar* name,
                                                                 guint64 size,
                                                                 guint64 min,
                                                                 guint64 max,
                                                                 guint64 allocation,
                                                                 guint64 step,
                                                                 GFormatSizeFlags format_flags);
GtkWidget* boxes_property_get_widget (BoxesProperty* self);
gboolean boxes_vm_configurator_is_live_config (GVirConfigDomain* domain);
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
GType boxes_machine_machine_state_get_type (void) G_GNUC_CONST;
BoxesMachineMachineState boxes_machine_get_state (BoxesMachine* self);
void boxes_property_set_sensitive (BoxesProperty* self,
                                   gboolean value);
static void boxes_libvirt_machine_properties_on_ram_changed (BoxesLibvirtMachineProperties* self,
                                                      BoxesProperty* property,
                                                      guint64 value);
static void _boxes_libvirt_machine_properties_on_ram_changed_boxes_size_property_changed (BoxesSizeProperty* _sender,
                                                                                   guint64 value,
                                                                                   gpointer self);
static void ___lambda140_ (Block49Data* _data49_);
static void ____lambda140__g_object_notify (GObject* _sender,
                                     GParamSpec* pspec,
                                     gpointer self);
static Block50Data* block50_data_ref (Block50Data* _data50_);
static void block50_data_unref (void * _userdata_);
static gboolean __lambda139_ (Block50Data* _data50_);
static gboolean ___lambda139__gsource_func (gpointer self);
void boxes_property_set_deferred_change (BoxesProperty* self,
                                         GSourceFunc value,
                                         gpointer value_target,
                                         GDestroyNotify value_target_destroy_notify);
gboolean boxes_libvirt_machine_get_importing (BoxesLibvirtMachine* self);
GVirStorageVol* boxes_libvirt_machine_get_storage_volume (BoxesLibvirtMachine* self);
GVirStoragePool* boxes_get_storage_pool (GVirConnection* connection);
static void _vala_GVirStorageVolInfo_free (GVirStorageVolInfo* self);
static guint64 boxes_libvirt_machine_properties_get_minimum_disk_size (BoxesLibvirtMachineProperties* self,
                                                                GError** error);
static void _vala_GVirStoragePoolInfo_free (GVirStoragePoolInfo* self);
void boxes_property_set_defer_interval (BoxesProperty* self,
                                        guint value);
static void boxes_libvirt_machine_properties_on_storage_changed (BoxesLibvirtMachineProperties* self,
                                                          BoxesProperty* property,
                                                          guint64 value);
static void _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed (BoxesSizeProperty* _sender,
                                                                                       guint64 value,
                                                                                       gpointer self);
static Block51Data* block51_data_ref (Block51Data* _data51_);
static void block51_data_unref (void * _userdata_);
static gboolean __lambda141_ (Block51Data* _data51_);
static void boxes_libvirt_machine_properties_change_storage_size (BoxesLibvirtMachineProperties* self,
                                                           BoxesProperty* property,
                                                           guint64 value,
                                                           GAsyncReadyCallback _callback_,
                                                           gpointer _user_data_);
static void boxes_libvirt_machine_properties_change_storage_size_finish (BoxesLibvirtMachineProperties* self,
                                                                  GAsyncResult* _res_);
static gboolean ___lambda141__gsource_func (gpointer self);
static void boxes_libvirt_machine_properties_change_storage_size_data_free (gpointer _data);
static gboolean boxes_libvirt_machine_properties_change_storage_size_co (BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_);
static Block52Data* block52_data_ref (Block52Data* _data52_);
static void block52_data_unref (void * _userdata_);
void boxes_libvirt_machine_properties_get_snapshots (BoxesLibvirtMachineProperties* self,
                                                     GCancellable* cancellable,
                                                     GAsyncReadyCallback _callback_,
                                                     gpointer _user_data_);
GList* boxes_libvirt_machine_properties_get_snapshots_finish (BoxesLibvirtMachineProperties* self,
                                                              GAsyncResult* _res_,
                                                              GError** error);
static void boxes_libvirt_machine_properties_change_storage_size_ready (GObject* source_object,
                                                                 GAsyncResult* _res_,
                                                                 gpointer _user_data_);
static void ___lambda142_ (BoxesLibvirtMachineProperties* self);
static void ____lambda142__boxes_notification_ok_func (gpointer self);
static void ___lambda143_ (Block52Data* _data52_);
static void boxes_libvirt_machine_properties_force_change_storage_size (BoxesLibvirtMachineProperties* self,
                                                                 BoxesProperty* property,
                                                                 guint64 value,
                                                                 GAsyncReadyCallback _callback_,
                                                                 gpointer _user_data_);
static void boxes_libvirt_machine_properties_force_change_storage_size_finish (BoxesLibvirtMachineProperties* self,
                                                                        GAsyncResult* _res_);
static void ____lambda143__boxes_notification_dismiss_func (gpointer self);
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
BoxesNotificationbar* boxes_app_window_get_notificationbar (BoxesAppWindow* self);
GType boxes_notification_get_type (void) G_GNUC_CONST;
BoxesNotification* boxes_notificationbar_display_for_action (BoxesNotificationbar* self,
                                                             const gchar* message,
                                                             const gchar* action_label,
                                                             BoxesNotificationOKFunc action_func,
                                                             void* action_func_target,
                                                             GDestroyNotify action_func_target_destroy_notify,
                                                             BoxesNotificationDismissFunc ignore_func,
                                                             void* ignore_func_target,
                                                             GDestroyNotify ignore_func_target_destroy_notify,
                                                             gint timeout);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
GVirDomainDisk* boxes_libvirt_machine_get_domain_disk (BoxesLibvirtMachine* self,
                                                       GError** error);
void boxes_libvirt_machine_update_domain_config (BoxesLibvirtMachine* self);
static void boxes_libvirt_machine_properties_resize_storage_volume (BoxesLibvirtMachineProperties* self,
                                                             guint64 size,
                                                             GError** error);
static void boxes_libvirt_machine_properties_force_change_storage_size_data_free (gpointer _data);
static gboolean boxes_libvirt_machine_properties_force_change_storage_size_co (BoxesLibvirtMachinePropertiesForceChangeStorageSizeData* _data_);
static void boxes_libvirt_machine_properties_force_change_storage_size_ready (GObject* source_object,
                                                                       GAsyncResult* _res_,
                                                                       gpointer _user_data_);
OsinfoResources* boxes_os_database_get_minimum_resources_for_os (OsinfoOs* os,
                                                                 const gchar* architecture);
OsinfoResources* boxes_os_database_get_minimum_resources (void);
void boxes_libvirt_machine_set_storage_volume (BoxesLibvirtMachine* self,
                                               GVirStorageVol* value);
static void boxes_libvirt_machine_properties_get_snapshots_data_free (gpointer _data);
static gboolean boxes_libvirt_machine_properties_get_snapshots_co (BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_);
static void boxes_libvirt_machine_properties_get_snapshots_ready (GObject* source_object,
                                                           GAsyncResult* _res_,
                                                           gpointer _user_data_);
static Block53Data* block53_data_ref (Block53Data* _data53_);
static void block53_data_unref (void * _userdata_);
GType boxes_app_get_type (void) G_GNUC_CONST;
GVirConnection* boxes_app_get_default_connection (BoxesApp* self);
static void __lambda144_ (Block53Data* _data53_,
                   GParamSpec* tooltip);
static void ___lambda144__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
BoxesSnapshotsProperty* boxes_snapshots_property_new (BoxesLibvirtMachine* machine);
BoxesSnapshotsProperty* boxes_snapshots_property_construct (GType object_type,
                                                            BoxesLibvirtMachine* machine);
static void boxes_libvirt_machine_properties_finalize (GObject * obj);


static void
__lambda118_ (BoxesLibvirtMachineProperties* self)
{
#line 14 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_save_machine_name_change (self);
#line 1168 "libvirt-machine-properties.c"
}


static void
___lambda118__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
#line 13 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda118_ ((BoxesLibvirtMachineProperties*) self);
#line 1179 "libvirt-machine-properties.c"
}


BoxesLibvirtMachineProperties*
boxes_libvirt_machine_properties_construct (GType object_type,
                                            BoxesLibvirtMachine* machine)
{
	BoxesLibvirtMachineProperties * self = NULL;
#line 10 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 10 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = (BoxesLibvirtMachineProperties*) g_object_new (object_type, NULL);
#line 11 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self->priv->machine = machine;
#line 13 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object ((GObject*) machine, "notify::name", (GCallback) ___lambda118__g_object_notify, self, 0);
#line 10 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return self;
#line 1198 "libvirt-machine-properties.c"
}


BoxesLibvirtMachineProperties*
boxes_libvirt_machine_properties_new (BoxesLibvirtMachine* machine)
{
#line 10 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return boxes_libvirt_machine_properties_construct (BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, machine);
#line 1207 "libvirt-machine-properties.c"
}


static gboolean
boxes_libvirt_machine_properties_save_machine_name_change (BoxesLibvirtMachineProperties* self)
{
	gboolean result = FALSE;
	gboolean _tmp21_ = FALSE;
	GError * _inner_error_ = NULL;
#line 18 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1219 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp0_;
		GVirDomain* _tmp1_;
		GVirDomain* _tmp2_;
		GVirConfigDomain* _tmp3_;
		GVirConfigDomain* _tmp4_;
		BoxesLibvirtMachine* _tmp5_;
		const gchar* _tmp6_;
		const gchar* _tmp7_;
		BoxesLibvirtMachine* _tmp8_;
		GVirDomain* _tmp9_;
		GVirDomain* _tmp10_;
		GVirConfigDomain* _tmp11_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp3_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1246 "libvirt-machine-properties.c"
			goto __catch34_g_error;
		}
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = config;
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = self->priv->machine;
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp5_);
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _tmp6_;
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_set_title (_tmp4_, _tmp7_);
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = self->priv->machine;
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = boxes_libvirt_machine_get_domain (_tmp8_);
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = config;
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_set_config (_tmp10_, _tmp11_, &_inner_error_);
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 1273 "libvirt-machine-properties.c"
			goto __catch34_g_error;
		}
#line 26 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = TRUE;
#line 26 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 26 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 1282 "libvirt-machine-properties.c"
	}
	goto __finally34;
	__catch34_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp12_;
		GVirDomain* _tmp13_;
		GVirDomain* _tmp14_;
		const gchar* _tmp15_;
		BoxesLibvirtMachine* _tmp16_;
		const gchar* _tmp17_;
		const gchar* _tmp18_;
		GError* _tmp19_;
		const gchar* _tmp20_;
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = self->priv->machine;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = boxes_libvirt_machine_get_domain (_tmp12_);
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = gvir_domain_get_name (_tmp14_);
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = self->priv->machine;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp16_);
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _tmp17_;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _error_;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_->message;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:28: Failed to save change of title of " \
"box from '%s' to '%s': %s", _tmp15_, _tmp18_, _tmp20_);
#line 30 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = FALSE;
#line 30 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 30 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 1327 "libvirt-machine-properties.c"
	}
	__finally34:
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _tmp21_;
#line 1336 "libvirt-machine-properties.c"
}


static void
_vala_GVirDomainInfo_free (GVirDomainInfo* self)
{
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_domain_info_get_type (), self);
#line 1345 "libvirt-machine-properties.c"
}


static void
_vala_GVirNodeInfo_free (GVirNodeInfo* self)
{
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_node_info_get_type (), self);
#line 1354 "libvirt-machine-properties.c"
}


gchar*
boxes_libvirt_machine_properties_collect_logs (BoxesLibvirtMachineProperties* self)
{
	gchar* result = NULL;
	GString* builder = NULL;
	GString* _tmp0_;
	GString* _tmp1_;
	BoxesLibvirtMachine* _tmp2_;
	BoxesCollectionSource* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	GString* _tmp7_;
	BoxesLibvirtMachine* _tmp8_;
	GVirDomain* _tmp9_;
	GVirDomain* _tmp10_;
	const gchar* _tmp11_;
	GString* _tmp12_;
	BoxesLibvirtMachine* _tmp13_;
	GVirDomain* _tmp14_;
	GVirDomain* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_ = NULL;
	BoxesLibvirtMachine* _tmp18_;
	GVirDomain* _tmp19_;
	GVirDomain* _tmp20_;
	GString* _tmp21_;
	BoxesLibvirtMachine* _tmp46_;
	BoxesDisplay* _tmp47_;
	BoxesDisplay* _tmp48_;
	GString* _tmp77_;
	const gchar* _tmp78_;
	gchar* _tmp79_;
	GError * _inner_error_ = NULL;
#line 34 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 35 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = g_string_new ("");
#line 35 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	builder = _tmp0_;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = builder;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = self->priv->machine;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = ((BoxesMachine*) _tmp2_)->source;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_collection_source_get_uri (_tmp3_);
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp1_, "Broker URL: %s\n", _tmp6_);
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp6_);
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = builder;
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = self->priv->machine;
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = boxes_libvirt_machine_get_domain (_tmp8_);
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _tmp9_;
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = gvir_domain_get_name (_tmp10_);
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp7_, "Domain: %s\n", _tmp11_);
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = builder;
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = self->priv->machine;
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = boxes_libvirt_machine_get_domain (_tmp13_);
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _tmp14_;
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = gvir_domain_get_uuid (_tmp15_);
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp12_, "UUID: %s\n", _tmp16_);
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp18_ = self->priv->machine;
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp19_ = boxes_libvirt_machine_get_domain (_tmp18_);
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp20_ = _tmp19_;
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (gvir_domain_get_persistent (_tmp20_)) {
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = "yes";
#line 1448 "libvirt-machine-properties.c"
	} else {
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = "no";
#line 1452 "libvirt-machine-properties.c"
	}
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp21_ = builder;
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp21_, "Persistent: %s\n", _tmp17_);
#line 1458 "libvirt-machine-properties.c"
	{
		GVirDomainInfo* info = NULL;
		BoxesLibvirtMachine* _tmp22_;
		GVirDomain* _tmp23_;
		GVirDomain* _tmp24_;
		GVirDomainInfo* _tmp25_;
		GString* _tmp26_;
		GVirDomainInfo* _tmp27_;
		guint64 _tmp28_;
		GString* _tmp29_;
		GVirDomainInfo* _tmp30_;
		guint64 _tmp31_;
		GVirNodeInfo* _tmp32_ = NULL;
		BoxesLibvirtMachine* _tmp33_;
		GVirConnection* _tmp34_;
		GVirConnection* _tmp35_;
		GVirNodeInfo* _tmp36_;
		GString* _tmp37_;
		gulong _tmp38_;
		GString* _tmp39_;
		GVirDomainInfo* _tmp40_;
		guint16 _tmp41_;
		GString* _tmp42_;
		GVirDomainInfo* _tmp43_;
		GVirDomainState _tmp44_;
		GEnumValue* _tmp45_;
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = self->priv->machine;
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = boxes_libvirt_machine_get_domain (_tmp22_);
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = _tmp23_;
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = gvir_domain_get_info (_tmp24_, &_inner_error_);
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		info = _tmp25_;
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1497 "libvirt-machine-properties.c"
			goto __catch35_g_error;
		}
#line 43 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = builder;
#line 43 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = info;
#line 43 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = _tmp27_->cpuTime;
#line 43 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp26_, "Cpu time: %" G_GINT64_MODIFIER "d\n", _tmp28_);
#line 44 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = builder;
#line 44 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = info;
#line 44 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = _tmp30_->memory;
#line 44 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp29_, "Memory: %" G_GINT64_MODIFIER "d KiB\n", _tmp31_);
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = self->priv->machine;
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = boxes_libvirt_machine_get_connection (_tmp33_);
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = _tmp34_;
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = gvir_connection_get_node_info (_tmp35_, &_inner_error_);
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = _tmp36_;
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirDomainInfo_free0 (info);
#line 1530 "libvirt-machine-properties.c"
			goto __catch35_g_error;
		}
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = builder;
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = _tmp32_->memory;
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp37_, "Max memory: %" G_GINT64_MODIFIER "d KiB\n", _tmp38_);
#line 47 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = builder;
#line 47 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp40_ = info;
#line 47 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = _tmp40_->nrVirtCpu;
#line 47 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp39_, "CPUs: %d\n", (gint) _tmp41_);
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = builder;
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = info;
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = _tmp43_->state;
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp45_ = g_enum_get_value (g_type_class_ref (gvir_domain_state_get_type ()), _tmp44_);
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp42_, "State: %s\n", (_tmp45_ != NULL) ? _tmp45_->value_name : NULL);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp32_);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirDomainInfo_free0 (info);
#line 1561 "libvirt-machine-properties.c"
	}
	goto __finally35;
	__catch35_g_error:
	{
		GError* e = NULL;
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 1573 "libvirt-machine-properties.c"
	}
	__finally35:
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1586 "libvirt-machine-properties.c"
	}
#line 52 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp46_ = self->priv->machine;
#line 52 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp47_ = boxes_machine_get_display ((BoxesMachine*) _tmp46_);
#line 52 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp48_ = _tmp47_;
#line 52 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp48_ != NULL) {
#line 1596 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp49_;
		BoxesDisplay* _tmp50_;
		BoxesDisplay* _tmp51_;
		GString* _tmp52_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp49_ = self->priv->machine;
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp50_ = boxes_machine_get_display ((BoxesMachine*) _tmp49_);
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp51_ = _tmp50_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp52_ = builder;
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_display_collect_logs (_tmp51_, _tmp52_);
#line 1611 "libvirt-machine-properties.c"
	}
	{
		GVirConfigDomain* conf = NULL;
		BoxesLibvirtMachine* _tmp53_;
		GVirDomain* _tmp54_;
		GVirDomain* _tmp55_;
		GVirConfigDomain* _tmp56_;
		GString* _tmp57_;
		GString* _tmp58_;
		GString* _tmp59_;
		gchar* _tmp60_;
		gchar* _tmp61_;
		GString* _tmp62_;
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp53_ = self->priv->machine;
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp54_ = boxes_libvirt_machine_get_domain (_tmp53_);
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp55_ = _tmp54_;
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp56_ = gvir_domain_get_config (_tmp55_, (guint) GVIR_DOMAIN_XML_NONE, &_inner_error_);
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		conf = _tmp56_;
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1637 "libvirt-machine-properties.c"
			goto __catch36_g_error;
		}
#line 58 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp57_ = builder;
#line 58 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp57_, "\nDomain config:\n");
#line 59 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = builder;
#line 59 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp58_, "------------------------------------------------------------\n");
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp59_ = builder;
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = gvir_config_object_to_xml ((GVirConfigObject*) conf);
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = _tmp60_;
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append (_tmp59_, _tmp61_);
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp61_);
#line 62 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp62_ = builder;
#line 62 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp62_, "%s", "\n" "------------------------------------------------------------\n");
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (conf);
#line 1664 "libvirt-machine-properties.c"
	}
	goto __finally36;
	__catch36_g_error:
	{
		GError* _error_ = NULL;
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 1676 "libvirt-machine-properties.c"
	}
	__finally36:
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1689 "libvirt-machine-properties.c"
	}
	{
		gchar* logfile = NULL;
		const gchar* _tmp63_;
		BoxesLibvirtMachine* _tmp64_;
		GVirDomain* _tmp65_;
		GVirDomain* _tmp66_;
		const gchar* _tmp67_;
		gchar* _tmp68_;
		gchar* _tmp69_;
		gchar* _tmp70_;
		gchar* _tmp71_;
		gchar* data = NULL;
		gchar* _tmp72_ = NULL;
		GString* _tmp73_;
		GString* _tmp74_;
		GString* _tmp75_;
		GString* _tmp76_;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp63_ = g_get_user_cache_dir ();
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp64_ = self->priv->machine;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp65_ = boxes_libvirt_machine_get_domain (_tmp64_);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp66_ = _tmp65_;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp67_ = gvir_domain_get_name (_tmp66_);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp68_ = g_strconcat (_tmp67_, ".log", NULL);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp69_ = _tmp68_;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp70_ = g_build_filename (_tmp63_, "libvirt/qemu/log", _tmp69_, NULL);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp71_ = _tmp70_;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp69_);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		logfile = _tmp71_;
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_file_get_contents (logfile, &_tmp72_, NULL, &_inner_error_);
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (data);
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		data = _tmp72_;
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (data);
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (logfile);
#line 1742 "libvirt-machine-properties.c"
			goto __catch37_g_error;
		}
#line 73 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp73_ = builder;
#line 73 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp73_, "\nQEMU log:\n");
#line 74 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp74_ = builder;
#line 74 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp74_, "------------------------------------------------------------\n");
#line 76 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp75_ = builder;
#line 76 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append (_tmp75_, data);
#line 77 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp76_ = builder;
#line 77 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp76_, "------------------------------------------------------------\n");
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (data);
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (logfile);
#line 1765 "libvirt-machine-properties.c"
	}
	goto __finally37;
	__catch37_g_error:
	{
		GError* e = NULL;
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 1777 "libvirt-machine-properties.c"
	}
	__finally37:
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1790 "libvirt-machine-properties.c"
	}
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp77_ = builder;
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp78_ = _tmp77_->str;
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp79_ = g_strdup (_tmp78_);
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _tmp79_;
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_string_free0 (builder);
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 1804 "libvirt-machine-properties.c"
}


static void
_g_object_unref0_ (gpointer var)
{
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 1813 "libvirt-machine-properties.c"
}


static inline void
_g_list_free__g_object_unref0_ (GList* self)
{
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_list_free_full (self, (GDestroyNotify) _g_object_unref0_);
#line 1822 "libvirt-machine-properties.c"
}


static Block45Data*
block45_data_ref (Block45Data* _data45_)
{
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data45_->_ref_count_);
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data45_;
#line 1833 "libvirt-machine-properties.c"
}


static void
block45_data_unref (void * _userdata_)
{
	Block45Data* _data45_;
	_data45_ = (Block45Data*) _userdata_;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data45_->_ref_count_)) {
#line 1844 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data45_->self;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data45_->name_property);
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block45Data, _data45_);
#line 1854 "libvirt-machine-properties.c"
	}
}


static void
___lambda119_ (BoxesLibvirtMachineProperties* self,
               BoxesEditableStringProperty* property,
               const gchar* name)
{
	BoxesLibvirtMachine* _tmp0_;
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (name != NULL);
#line 98 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 98 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_collection_item_set_name ((BoxesCollectionItem*) _tmp0_, name);
#line 1873 "libvirt-machine-properties.c"
}


static void
____lambda119__boxes_editable_string_property_changed (BoxesEditableStringProperty* _sender,
                                                       const gchar* value,
                                                       gpointer self)
{
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda119_ ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 1884 "libvirt-machine-properties.c"
}


static gpointer
_g_object_ref0 (gpointer self)
{
#line 101 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return self ? g_object_ref (self) : NULL;
#line 1893 "libvirt-machine-properties.c"
}


static void
___lambda120_ (Block45Data* _data45_)
{
	BoxesLibvirtMachineProperties* self;
	BoxesEditableStringProperty* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
#line 102 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data45_->self;
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data45_->name_property;
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp1_);
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_editable_string_property_set_text (_tmp0_, _tmp3_);
#line 1917 "libvirt-machine-properties.c"
}


static void
____lambda120__g_object_notify (GObject* _sender,
                                GParamSpec* pspec,
                                gpointer self)
{
#line 102 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda120_ (self);
#line 1928 "libvirt-machine-properties.c"
}


static GList*
boxes_libvirt_machine_properties_real_get_properties (BoxesIPropertiesProvider* base,
                                                      BoxesPropertiesPage page)
{
	BoxesLibvirtMachineProperties * self;
	GList* result = NULL;
	GList* list = NULL;
	gboolean _tmp0_ = FALSE;
	BoxesLibvirtMachine* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GError * _inner_error_ = NULL;
#line 83 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = (BoxesLibvirtMachineProperties*) base;
#line 84 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	list = NULL;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_is_on ((BoxesMachine*) _tmp1_);
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 1956 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp4_;
		BoxesDisplay* _tmp5_;
		BoxesDisplay* _tmp6_;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_machine_get_display ((BoxesMachine*) _tmp4_);
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp6_ == NULL;
#line 1968 "libvirt-machine-properties.c"
	} else {
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = FALSE;
#line 1972 "libvirt-machine-properties.c"
	}
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 1976 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp7_;
#line 89 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = self->priv->machine;
#line 89 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_update_display (_tmp7_, &_inner_error_);
#line 89 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1985 "libvirt-machine-properties.c"
				goto __catch38_g_error;
			}
		}
		goto __finally38;
		__catch38_g_error:
		{
			GError* e = NULL;
			GError* _tmp8_;
			const gchar* _tmp9_;
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 91 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = e;
#line 91 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = _tmp8_->message;
#line 91 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_warning ("libvirt-machine-properties.vala:91: %s", _tmp9_);
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 2007 "libvirt-machine-properties.c"
		}
		__finally38:
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__g_list_free__g_object_unref0_0 (list);
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return NULL;
#line 2020 "libvirt-machine-properties.c"
		}
	}
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (page) {
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_GENERAL:
#line 2027 "libvirt-machine-properties.c"
		{
			Block45Data* _data45_;
			BoxesEditableStringProperty* property = NULL;
			BoxesLibvirtMachine* _tmp10_;
			const gchar* _tmp11_;
			const gchar* _tmp12_;
			BoxesEditableStringProperty* _tmp13_;
			BoxesEditableStringProperty* _tmp14_;
			BoxesEditableStringProperty* _tmp15_;
			BoxesEditableStringProperty* _tmp16_;
			BoxesLibvirtMachine* _tmp17_;
			gchar* ip = NULL;
			BoxesLibvirtMachine* _tmp18_;
			gchar* _tmp19_;
			const gchar* _tmp20_;
			BoxesLibvirtMachine* _tmp24_;
			BoxesCollectionSource* _tmp25_;
			gchar* _tmp26_;
			gchar* _tmp27_;
			gchar* _tmp28_;
			BoxesStringProperty* _tmp29_;
			BoxesStringProperty* _tmp30_;
			BoxesLibvirtMachine* _tmp31_;
			BoxesDisplay* _tmp32_;
			BoxesDisplay* _tmp33_;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_ = g_slice_new0 (Block45Data);
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_->_ref_count_ = 1;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_->self = g_object_ref (self);
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = self->priv->machine;
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp10_);
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = _tmp11_;
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = boxes_iproperties_provider_add_editable_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("_Name"), _tmp12_);
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			property = _tmp13_;
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = property;
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp14_, "changed", (GCallback) ____lambda119__boxes_editable_string_property_changed, self, 0);
#line 101 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = property;
#line 101 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp16_ = _g_object_ref0 (_tmp15_);
#line 101 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_->name_property = _tmp16_;
#line 102 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = self->priv->machine;
#line 102 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_data ((GObject*) _tmp17_, "notify::name", (GCallback) ____lambda120__g_object_notify, block45_data_ref (_data45_), (GClosureNotify) block45_data_unref, 0);
#line 106 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = self->priv->machine;
#line 106 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = boxes_libvirt_machine_get_ip_address (_tmp18_);
#line 106 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			ip = _tmp19_;
#line 107 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = ip;
#line 107 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp20_ != NULL) {
#line 2093 "libvirt-machine-properties.c"
				const gchar* _tmp21_;
				BoxesStringProperty* _tmp22_;
				BoxesStringProperty* _tmp23_;
#line 108 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp21_ = ip;
#line 108 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp22_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("IP Address"), _tmp21_);
#line 108 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp23_ = _tmp22_;
#line 108 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp23_);
#line 2105 "libvirt-machine-properties.c"
			}
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = self->priv->machine;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = ((BoxesMachine*) _tmp24_)->source;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = boxes_collection_source_get_name (_tmp25_);
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = _tmp26_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = _tmp27_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("Broker"), _tmp28_);
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = _tmp29_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp30_);
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp28_);
#line 111 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = self->priv->machine;
#line 111 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = boxes_machine_get_display ((BoxesMachine*) _tmp31_);
#line 111 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = _tmp32_;
#line 111 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp33_ != NULL) {
#line 2133 "libvirt-machine-properties.c"
				BoxesLibvirtMachine* _tmp34_;
				BoxesDisplay* _tmp35_;
				BoxesDisplay* _tmp36_;
				const gchar* _tmp37_;
				const gchar* _tmp38_;
				BoxesStringProperty* _tmp39_;
				BoxesStringProperty* _tmp40_;
				BoxesLibvirtMachine* _tmp41_;
				BoxesDisplay* _tmp42_;
				BoxesDisplay* _tmp43_;
				gchar* _tmp44_;
				gchar* _tmp45_;
				gchar* _tmp46_;
				gboolean _tmp47_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp34_ = self->priv->machine;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp35_ = boxes_machine_get_display ((BoxesMachine*) _tmp34_);
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp36_ = _tmp35_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp37_ = boxes_display_get_protocol (_tmp36_);
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp38_ = _tmp37_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp39_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("Display Protocol"), _tmp38_);
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp40_ = _tmp39_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp40_);
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp41_ = self->priv->machine;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp42_ = boxes_machine_get_display ((BoxesMachine*) _tmp41_);
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp43_ = _tmp42_;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp44_ = boxes_display_get_uri (_tmp43_);
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp45_ = _tmp44_;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp46_ = _tmp45_;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp47_ = _tmp46_ != NULL;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_free0 (_tmp46_);
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp47_) {
#line 2182 "libvirt-machine-properties.c"
					BoxesLibvirtMachine* _tmp48_;
					BoxesDisplay* _tmp49_;
					BoxesDisplay* _tmp50_;
					gchar* _tmp51_;
					gchar* _tmp52_;
					gchar* _tmp53_;
					BoxesStringProperty* _tmp54_;
					BoxesStringProperty* _tmp55_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp48_ = self->priv->machine;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp49_ = boxes_machine_get_display ((BoxesMachine*) _tmp48_);
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp50_ = _tmp49_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp51_ = boxes_display_get_uri (_tmp50_);
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp52_ = _tmp51_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp53_ = _tmp52_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp54_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("Display URL"), _tmp53_);
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp55_ = _tmp54_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (_tmp55_);
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_free0 (_tmp53_);
#line 2211 "libvirt-machine-properties.c"
				}
			}
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (ip);
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (property);
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			block45_data_unref (_data45_);
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_ = NULL;
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2224 "libvirt-machine-properties.c"
		}
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_SYSTEM:
#line 2228 "libvirt-machine-properties.c"
		{
#line 122 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_resource_usage_graphs (self, &list);
#line 124 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_system_props_buttons (self, &list);
#line 126 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_get_resources_properties (self, &list);
#line 128 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_run_in_bg_property (self, &list);
#line 130 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2240 "libvirt-machine-properties.c"
		}
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_DEVICES:
#line 2244 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp56_;
			GVirConfigDomain* _tmp57_;
			GVirConfigDomain* _tmp58_;
			GList* _tmp59_;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp56_ = self->priv->machine;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp57_ = boxes_libvirt_machine_get_domain_config (_tmp56_);
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp58_ = _tmp57_;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp59_ = gvir_config_domain_get_devices (_tmp58_);
#line 2258 "libvirt-machine-properties.c"
			{
				GList* device_config_collection = NULL;
				GList* device_config_it = NULL;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				device_config_collection = _tmp59_;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				for (device_config_it = device_config_collection; device_config_it != NULL; device_config_it = device_config_it->next) {
#line 2266 "libvirt-machine-properties.c"
					GVirConfigDomainDevice* _tmp60_;
					GVirConfigDomainDevice* device_config = NULL;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp60_ = _g_object_ref0 ((GVirConfigDomainDevice*) device_config_it->data);
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					device_config = _tmp60_;
#line 2273 "libvirt-machine-properties.c"
					{
						GVirConfigDomainDevice* _tmp61_;
						GVirConfigDomainDisk* disk_config = NULL;
						GVirConfigDomainDevice* _tmp62_;
						GVirConfigDomainDisk* _tmp63_;
						GVirConfigDomainDiskGuestDeviceType disk_type = 0;
						GVirConfigDomainDisk* _tmp64_;
						GVirConfigDomainDiskGuestDeviceType _tmp65_;
#line 134 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp61_ = device_config;
#line 134 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp61_, gvir_config_domain_disk_get_type ())) {
#line 135 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
							_g_object_unref0 (device_config);
#line 135 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
							continue;
#line 2290 "libvirt-machine-properties.c"
						}
#line 136 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp62_ = device_config;
#line 136 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp63_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp62_, gvir_config_domain_disk_get_type ()) ? ((GVirConfigDomainDisk*) _tmp62_) : NULL);
#line 136 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						disk_config = _tmp63_;
#line 137 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp64_ = disk_config;
#line 137 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						disk_type = gvir_config_domain_disk_get_guest_device_type (_tmp64_);
#line 138 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp65_ = disk_type;
#line 138 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						if (_tmp65_ == GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_CDROM) {
#line 2306 "libvirt-machine-properties.c"
							GVirConfigDomainDisk* _tmp66_;
#line 139 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
							_tmp66_ = disk_config;
#line 139 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
							boxes_libvirt_machine_properties_add_cdrom_property (self, _tmp66_, &list);
#line 2312 "libvirt-machine-properties.c"
						}
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (disk_config);
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (device_config);
#line 2318 "libvirt-machine-properties.c"
					}
				}
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (device_config_collection);
#line 2323 "libvirt-machine-properties.c"
			}
#line 142 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2327 "libvirt-machine-properties.c"
		}
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_SNAPSHOTS:
#line 2331 "libvirt-machine-properties.c"
		{
			{
				GVirConfigDomain* config = NULL;
				BoxesLibvirtMachine* _tmp67_;
				GVirDomain* _tmp68_;
				GVirDomain* _tmp69_;
				GVirConfigDomain* _tmp70_;
				gboolean _tmp71_ = FALSE;
				GVirConfigDomain* _tmp72_;
				GVirConfigDomainCpu* _tmp73_;
				GVirConfigDomainCpu* _tmp74_;
				gboolean _tmp75_;
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp67_ = self->priv->machine;
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp68_ = boxes_libvirt_machine_get_domain (_tmp67_);
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp69_ = _tmp68_;
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp70_ = gvir_domain_get_config (_tmp69_, (guint) 0, &_inner_error_);
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				config = _tmp70_;
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2356 "libvirt-machine-properties.c"
					goto __catch39_g_error;
				}
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp72_ = config;
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp73_ = gvir_config_domain_get_cpu (_tmp72_);
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp74_ = _tmp73_;
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp75_ = gvir_config_domain_cpu_get_mode (_tmp74_) != GVIR_CONFIG_DOMAIN_CPU_MODE_HOST_PASSTHROUGH;
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp74_);
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp75_) {
#line 2371 "libvirt-machine-properties.c"
					GVirConfigDomain* _tmp76_;
#line 149 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp76_ = config;
#line 149 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp71_ = !boxes_vm_configurator_is_install_config (_tmp76_);
#line 2377 "libvirt-machine-properties.c"
				} else {
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp71_ = FALSE;
#line 2381 "libvirt-machine-properties.c"
				}
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp71_) {
#line 2385 "libvirt-machine-properties.c"
					BoxesSnapshotsProperty* _tmp77_;
					BoxesSnapshotsProperty* _tmp78_;
#line 150 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp77_ = boxes_libvirt_machine_properties_add_snapshots_property (self, &list);
#line 150 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp78_ = _tmp77_;
#line 150 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (_tmp78_);
#line 2394 "libvirt-machine-properties.c"
				}
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (config);
#line 2398 "libvirt-machine-properties.c"
			}
			goto __finally39;
			__catch39_g_error:
			{
				GError* e = NULL;
				GError* _tmp79_;
				const gchar* _tmp80_;
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				e = _inner_error_;
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_inner_error_ = NULL;
#line 152 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp79_ = e;
#line 152 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp80_ = _tmp79_->message;
#line 152 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_warning ("libvirt-machine-properties.vala:152: %s", _tmp80_);
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_error_free0 (e);
#line 2418 "libvirt-machine-properties.c"
			}
			__finally39:
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (list);
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_clear_error (&_inner_error_);
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				return NULL;
#line 2431 "libvirt-machine-properties.c"
			}
#line 155 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2435 "libvirt-machine-properties.c"
		}
		default:
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		break;
#line 2440 "libvirt-machine-properties.c"
	}
#line 158 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = list;
#line 158 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 2446 "libvirt-machine-properties.c"
}


void
boxes_libvirt_machine_properties_get_resources_properties (BoxesLibvirtMachineProperties* self,
                                                           GList* * list)
{
	BoxesSizeProperty* ram_property = NULL;
	BoxesSizeProperty* _tmp0_;
	BoxesSizeProperty* storage_property = NULL;
	BoxesSizeProperty* _tmp1_;
#line 161 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 162 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = boxes_libvirt_machine_properties_add_ram_property (self, list);
#line 162 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	ram_property = _tmp0_;
#line 163 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_properties_add_storage_property (self, list);
#line 163 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	storage_property = _tmp1_;
#line 164 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources (self, ram_property, storage_property, NULL, NULL);
#line 161 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (storage_property);
#line 161 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (ram_property);
#line 2474 "libvirt-machine-properties.c"
}


static Block46Data*
block46_data_ref (Block46Data* _data46_)
{
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data46_->_ref_count_);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data46_;
#line 2485 "libvirt-machine-properties.c"
}


static void
block46_data_unref (void * _userdata_)
{
	Block46Data* _data46_;
	_data46_ = (Block46Data*) _userdata_;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data46_->_ref_count_)) {
#line 2496 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data46_->self;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data46_->button_label);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data46_->label);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data46_->disk_config);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block46Data, _data46_);
#line 2510 "libvirt-machine-properties.c"
	}
}


static void
___lambda146_ (Block46Data* _data46_,
               const gchar* path)
{
	BoxesLibvirtMachineProperties* self;
	GError * _inner_error_ = NULL;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data46_->self;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (path != NULL);
#line 212 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_config_domain_disk_set_source (_data46_->disk_config, path);
#line 2527 "libvirt-machine-properties.c"
	{
		BoxesLibvirtMachine* _tmp0_;
		GVirDomain* _tmp1_;
		GVirDomain* _tmp2_;
		GtkLabel* _tmp3_;
		GtkLabel* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_update_device (_tmp2_, (GVirConfigDomainDevice*) _data46_->disk_config, (guint) GVIR_DOMAIN_UPDATE_DEVICE_CURRENT, &_inner_error_);
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2546 "libvirt-machine-properties.c"
			goto __catch40_g_error;
		}
#line 215 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _data46_->button_label;
#line 215 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp3_, _ ("_Remove"));
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _data46_->label;
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_get_utf8_basename (path);
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp4_, _tmp6_);
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp6_);
#line 217 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data46_->empty = FALSE;
#line 2565 "libvirt-machine-properties.c"
	}
	goto __finally40;
	__catch40_g_error:
	{
		GError* e = NULL;
		gchar* path_basename = NULL;
		gchar* _tmp7_;
		gchar* msg = NULL;
		gchar* _tmp8_;
		BoxesLibvirtMachine* _tmp9_;
		const gchar* _tmp10_;
		const gchar* _tmp11_;
		BoxesLibvirtMachine* _tmp12_;
		const gchar* _tmp13_;
		const gchar* _tmp14_;
		gchar* _tmp15_;
		gchar* _tmp16_;
		const gchar* _tmp17_;
		BoxesLibvirtMachine* _tmp18_;
		const gchar* _tmp19_;
		const gchar* _tmp20_;
		GError* _tmp21_;
		const gchar* _tmp22_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 219 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = boxes_get_utf8_basename (path);
#line 219 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		path_basename = _tmp7_;
#line 222 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = g_strdup (_ ("Insertion of “%s” as a CD/DVD into “%s” failed"));
#line 222 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		msg = _tmp8_;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = self->priv->machine;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = msg;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = path_basename;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = self->priv->machine;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp12_);
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = g_strdup_printf (_tmp10_, _tmp11_, _tmp14_);
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _tmp15_;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_emit_by_name ((BoxesMachine*) _tmp9_, "got-error", _tmp16_);
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp16_);
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = path_basename;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = self->priv->machine;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp18_);
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = e;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _tmp21_->message;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:224: Error inserting '%s' as CD into '" \
"%s': %s", _tmp17_, _tmp20_, _tmp22_);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (msg);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (path_basename);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 2641 "libvirt-machine-properties.c"
	}
	__finally40:
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 2652 "libvirt-machine-properties.c"
	}
}


static void
____lambda146__boxes_properties_window_file_chosen_func (const gchar* path,
                                                         gpointer self)
{
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda146_ (self, path);
#line 2663 "libvirt-machine-properties.c"
}


static void
__lambda145_ (Block46Data* _data46_)
{
	BoxesLibvirtMachineProperties* self;
	gboolean _tmp0_;
	GError * _inner_error_ = NULL;
#line 209 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data46_->self;
#line 210 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data46_->empty;
#line 210 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 2679 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp1_;
		BoxesAppWindow* _tmp2_;
		BoxesAppWindow* _tmp3_;
		BoxesPropertiesWindow* _tmp4_;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp3_->props_window;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_properties_window_show_file_chooser (_tmp4_, ____lambda146__boxes_properties_window_file_chosen_func, block46_data_ref (_data46_), block46_data_unref);
#line 2694 "libvirt-machine-properties.c"
	} else {
#line 228 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_disk_set_source (_data46_->disk_config, "");
#line 2698 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp5_;
			GVirDomain* _tmp6_;
			GVirDomain* _tmp7_;
			GtkLabel* _tmp8_;
			GtkLabel* _tmp9_;
			gchar* _tmp10_;
			gchar* _tmp11_;
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp5_ = self->priv->machine;
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp6_ = boxes_libvirt_machine_get_domain (_tmp5_);
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = _tmp6_;
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gvir_domain_update_device (_tmp7_, (GVirConfigDomainDevice*) _data46_->disk_config, (guint) GVIR_DOMAIN_UPDATE_DEVICE_CURRENT, &_inner_error_);
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2717 "libvirt-machine-properties.c"
				goto __catch41_g_error;
			}
#line 231 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data46_->empty = TRUE;
#line 232 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = _data46_->button_label;
#line 232 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_text_with_mnemonic (_tmp8_, _ ("_Select"));
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = _data46_->label;
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = g_markup_printf_escaped ("<i>%s</i>", _ ("empty"));
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = _tmp10_;
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_markup (_tmp9_, _tmp11_);
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp11_);
#line 2736 "libvirt-machine-properties.c"
		}
		goto __finally41;
		__catch41_g_error:
		{
			GError* e = NULL;
			BoxesLibvirtMachine* _tmp12_;
			BoxesLibvirtMachine* _tmp13_;
			const gchar* _tmp14_;
			const gchar* _tmp15_;
			gchar* _tmp16_;
			gchar* _tmp17_;
			BoxesLibvirtMachine* _tmp18_;
			const gchar* _tmp19_;
			const gchar* _tmp20_;
			GError* _tmp21_;
			const gchar* _tmp22_;
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = self->priv->machine;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = self->priv->machine;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp13_);
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = _tmp14_;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp16_ = g_strdup_printf (_ ("Removal of CD/DVD from “%s” failed"), _tmp15_);
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _tmp16_;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_emit_by_name ((BoxesMachine*) _tmp12_, "got-error", _tmp17_);
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp17_);
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = self->priv->machine;
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp18_);
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = _tmp19_;
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = e;
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = _tmp21_->message;
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:237: Error ejecting CD from '%s': %s", _tmp20_, _tmp22_);
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 2787 "libvirt-machine-properties.c"
		}
		__finally41:
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 2798 "libvirt-machine-properties.c"
		}
	}
}


static void
___lambda145__gtk_button_clicked (GtkButton* _sender,
                                  gpointer self)
{
#line 209 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda145_ (self);
#line 2810 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_add_cdrom_property (BoxesLibvirtMachineProperties* self,
                                                     GVirConfigDomainDisk* disk_config,
                                                     GList* * list)
{
	Block46Data* _data46_;
	GVirConfigDomainDisk* _tmp0_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp1_;
	GtkGrid* _tmp2_;
	GtkGrid* _tmp3_;
	GtkLabel* _tmp4_;
	GtkLabel* _tmp5_;
	GtkGrid* _tmp6_;
	GtkLabel* _tmp7_;
	gchar* source = NULL;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	gboolean _tmp10_ = FALSE;
	const gchar* _tmp11_;
	gboolean _tmp13_;
	BoxesLibvirtMachine* _tmp21_;
	BoxesVMCreator* _tmp22_;
	BoxesVMCreator* _tmp23_;
	GtkLabel* _tmp46_;
	GtkButton* button = NULL;
	GtkButton* _tmp47_;
	GtkButton* _tmp48_;
	GtkLabel* _tmp49_;
	GtkGrid* _tmp50_;
	GtkButton* _tmp51_;
	gboolean _tmp52_;
	GtkButton* _tmp55_;
	BoxesProperty* property = NULL;
	GtkGrid* _tmp56_;
	BoxesProperty* _tmp57_;
	BoxesProperty* _tmp58_;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (disk_config != NULL);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_ = g_slice_new0 (Block46Data);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->_ref_count_ = 1;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->self = g_object_ref (self);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (disk_config);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data46_->disk_config);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->disk_config = _tmp0_;
#line 168 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = (GtkGrid*) gtk_grid_new ();
#line 168 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp1_);
#line 168 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp1_;
#line 169 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = grid;
#line 169 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_orientable_set_orientation ((GtkOrientable*) _tmp2_, GTK_ORIENTATION_HORIZONTAL);
#line 170 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = grid;
#line 170 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (_tmp3_, (guint) 12);
#line 172 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = (GtkLabel*) gtk_label_new ("");
#line 172 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp4_);
#line 172 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->label = _tmp4_;
#line 173 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _data46_->label;
#line 173 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_label_set_ellipsize (_tmp5_, PANGO_ELLIPSIZE_END);
#line 174 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = grid;
#line 174 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _data46_->label;
#line 174 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp6_, (GtkWidget*) _tmp7_);
#line 176 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = gvir_config_domain_disk_get_source (_data46_->disk_config);
#line 176 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = g_strdup (_tmp8_);
#line 176 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	source = _tmp9_;
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = source;
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp11_ == NULL) {
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = TRUE;
#line 2909 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp12_;
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = source;
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = g_strcmp0 (_tmp12_, "") == 0;
#line 2916 "libvirt-machine-properties.c"
	}
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->empty = _tmp10_;
#line 179 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = _data46_->empty;
#line 179 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp13_) {
#line 2924 "libvirt-machine-properties.c"
		GtkLabel* _tmp14_;
		gchar* _tmp15_;
		gchar* _tmp16_;
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _data46_->label;
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = g_markup_printf_escaped ("<i>%s</i>", _ ("empty"));
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _tmp15_;
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_markup (_tmp14_, _tmp16_);
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp16_);
#line 2938 "libvirt-machine-properties.c"
	} else {
		GtkLabel* _tmp17_;
		const gchar* _tmp18_;
		gchar* _tmp19_;
		gchar* _tmp20_;
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _data46_->label;
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = source;
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = boxes_get_utf8_basename (_tmp18_);
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_;
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp17_, _tmp20_);
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp20_);
#line 2956 "libvirt-machine-properties.c"
	}
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp21_ = self->priv->machine;
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp22_ = boxes_libvirt_machine_get_vm_creator (_tmp21_);
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp23_ = _tmp22_;
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp23_ != NULL) {
#line 2966 "libvirt-machine-properties.c"
		BoxesInstallerMedia* media = NULL;
		BoxesLibvirtMachine* _tmp24_;
		BoxesVMCreator* _tmp25_;
		BoxesVMCreator* _tmp26_;
		BoxesInstallerMedia* _tmp27_;
		BoxesInstallerMedia* _tmp28_;
		BoxesInstallerMedia* _tmp29_;
		gboolean _tmp30_ = FALSE;
		BoxesLibvirtMachine* _tmp31_;
		BoxesVMCreator* _tmp32_;
		BoxesVMCreator* _tmp33_;
		gboolean _tmp34_;
		gboolean _tmp35_;
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = self->priv->machine;
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = boxes_libvirt_machine_get_vm_creator (_tmp24_);
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = _tmp25_;
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = boxes_vm_creator_get_install_media (_tmp26_);
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = _tmp27_;
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _g_object_ref0 (_tmp28_);
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		media = _tmp29_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = self->priv->machine;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = boxes_libvirt_machine_get_vm_creator (_tmp31_);
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = _tmp32_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = boxes_vm_creator_get_express_install (_tmp33_);
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = _tmp34_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp35_) {
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = TRUE;
#line 3008 "libvirt-machine-properties.c"
		} else {
			gboolean _tmp36_ = FALSE;
			BoxesInstallerMedia* _tmp37_;
			OsinfoMedia* _tmp38_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = media;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = _tmp37_->os_media;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp38_ != NULL) {
#line 3019 "libvirt-machine-properties.c"
				BoxesInstallerMedia* _tmp39_;
				OsinfoMedia* _tmp40_;
				gboolean _tmp41_;
				gboolean _tmp42_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp39_ = media;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp40_ = _tmp39_->os_media;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_get (_tmp40_, "live", &_tmp41_, NULL);
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp42_ = _tmp41_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp36_ = _tmp42_;
#line 3034 "libvirt-machine-properties.c"
			} else {
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp36_ = FALSE;
#line 3038 "libvirt-machine-properties.c"
			}
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = _tmp36_;
#line 3042 "libvirt-machine-properties.c"
		}
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp30_) {
#line 3046 "libvirt-machine-properties.c"
			GtkGrid* _tmp43_;
			BoxesProperty* _tmp44_;
			BoxesProperty* _tmp45_;
#line 190 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp43_ = grid;
#line 190 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp44_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, _ ("CD/DVD"), (GtkWidget*) _tmp43_, NULL);
#line 190 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp45_ = _tmp44_;
#line 190 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp45_);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (media);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (source);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (grid);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			block46_data_unref (_data46_);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data46_ = NULL;
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 3070 "libvirt-machine-properties.c"
		}
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (media);
#line 3074 "libvirt-machine-properties.c"
	}
#line 196 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp46_ = (GtkLabel*) gtk_label_new ("");
#line 196 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp46_);
#line 196 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->button_label = _tmp46_;
#line 197 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp47_ = (GtkButton*) gtk_button_new ();
#line 197 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp47_);
#line 197 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	button = _tmp47_;
#line 198 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp48_ = button;
#line 198 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp49_ = _data46_->button_label;
#line 198 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp48_, (GtkWidget*) _tmp49_);
#line 200 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp50_ = grid;
#line 200 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp51_ = button;
#line 200 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp50_, (GtkWidget*) _tmp51_);
#line 202 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp52_ = _data46_->empty;
#line 202 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp52_) {
#line 3104 "libvirt-machine-properties.c"
		GtkLabel* _tmp53_;
#line 204 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp53_ = _data46_->button_label;
#line 204 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp53_, _ ("_Select"));
#line 3110 "libvirt-machine-properties.c"
	} else {
		GtkLabel* _tmp54_;
#line 207 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp54_ = _data46_->button_label;
#line 207 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp54_, _ ("_Remove"));
#line 3117 "libvirt-machine-properties.c"
	}
#line 209 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp55_ = button;
#line 209 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_data (_tmp55_, "clicked", (GCallback) ___lambda145__gtk_button_clicked, block46_data_ref (_data46_), (GClosureNotify) block46_data_unref, 0);
#line 242 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp56_ = grid;
#line 242 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp57_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, _ ("CD/DVD"), (GtkWidget*) _tmp56_, NULL);
#line 242 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	property = _tmp57_;
#line 243 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp58_ = property;
#line 243 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_description_alignment (_tmp58_, GTK_ALIGN_START);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (property);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (button);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (source);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block46_data_unref (_data46_);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_ = NULL;
#line 3145 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_update_ram_property (BoxesLibvirtMachineProperties* self,
                                                      BoxesProperty* property)
{
	GError * _inner_error_ = NULL;
#line 246 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 246 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 3158 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp0_;
		GVirDomain* _tmp1_;
		GVirDomain* _tmp2_;
		GVirConfigDomain* _tmp3_;
		guint64 actual = 0ULL;
		BoxesLibvirtMachine* _tmp4_;
		GVirConfigDomain* _tmp5_;
		GVirConfigDomain* _tmp6_;
		guint64 _tmp7_;
		guint64 _tmp8_;
		guint64 pending = 0ULL;
		guint64 _tmp9_;
		guint64 _tmp10_;
		guint64 _tmp11_;
		guint64 _tmp12_;
		guint64 _tmp13_;
		guint64 _tmp14_;
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp3_;
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3190 "libvirt-machine-properties.c"
			goto __catch42_g_error;
		}
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_domain_config (_tmp4_);
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = gvir_config_domain_get_memory (_tmp6_);
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_;
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		actual = _tmp8_ / 1024;
#line 252 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = gvir_config_domain_get_memory (config);
#line 252 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 252 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		pending = _tmp10_ / 1024;
#line 254 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = actual;
#line 254 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = pending;
#line 254 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:254: RAM actual: %llu, pending: %llu", _tmp11_, _tmp12_);
#line 256 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = actual;
#line 256 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = pending;
#line 256 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required (property, (_tmp13_ - _tmp14_) > ((guint64) 1));
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 3225 "libvirt-machine-properties.c"
	}
	goto __finally42;
	__catch42_g_error:
	{
		GError* e = NULL;
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 3237 "libvirt-machine-properties.c"
	}
	__finally42:
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 3248 "libvirt-machine-properties.c"
	}
}


static void
boxes_libvirt_machine_properties_mark_recommended_resources_data_free (gpointer _data)
{
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->ram_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->storage_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData, _data_);
#line 3266 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_mark_recommended_resources (BoxesLibvirtMachineProperties* self,
                                                             BoxesSizeProperty* ram_property,
                                                             BoxesSizeProperty* storage_property,
                                                             GAsyncReadyCallback _callback_,
                                                             gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	BoxesSizeProperty* _tmp1_;
	BoxesSizeProperty* _tmp2_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_mark_recommended_resources_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (ram_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->ram_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->ram_property = _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 (storage_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->storage_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->storage_property = _tmp2_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources_co (_data_);
#line 3305 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_mark_recommended_resources_finish (BoxesLibvirtMachineProperties* self,
                                                                    GAsyncResult* _res_)
{
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 3316 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_mark_recommended_resources_ready (GObject* source_object,
                                                                   GAsyncResult* _res_,
                                                                   gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources_co (_data_);
#line 3334 "libvirt-machine-properties.c"
}


static gboolean
boxes_libvirt_machine_properties_mark_recommended_resources_co (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_)
{
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 3345 "libvirt-machine-properties.c"
		goto _state_0;
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 3349 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 3354 "libvirt-machine-properties.c"
	}
	_state_0:
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->ram_property == NULL) {
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = _data_->storage_property == NULL;
#line 3361 "libvirt-machine-properties.c"
	} else {
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = FALSE;
#line 3365 "libvirt-machine-properties.c"
	}
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp0_) {
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3377 "libvirt-machine-properties.c"
			}
		}
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3384 "libvirt-machine-properties.c"
	}
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = _data_->self->priv->machine;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine (_data_->self, _data_->_tmp1_, boxes_libvirt_machine_properties_mark_recommended_resources_ready, _data_);
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 3394 "libvirt-machine-properties.c"
	_state_1:
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = boxes_libvirt_machine_properties_get_os_for_machine_finish (_data_->self, _data_->_res_);
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os = _data_->_tmp2_;
#line 266 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->os;
#line 266 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp3_ == NULL) {
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os);
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3414 "libvirt-machine-properties.c"
			}
		}
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3421 "libvirt-machine-properties.c"
	}
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = _data_->self->priv->machine;
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp4_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = gvir_config_domain_get_os (_data_->_tmp6_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = gvir_config_domain_os_get_arch (_data_->_tmp8_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = g_strdup (_data_->_tmp9_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp8_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->architecture = _data_->_tmp11_;
#line 270 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp12_ = _data_->os;
#line 270 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp13_ = _data_->architecture;
#line 270 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp14_ = boxes_os_database_get_recommended_resources_for_os (_data_->_tmp12_, _data_->_tmp13_);
#line 270 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->resources = _data_->_tmp14_;
#line 271 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp15_ = _data_->resources;
#line 271 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp15_ != NULL) {
#line 272 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->ram_property != NULL) {
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp16_ = _data_->resources;
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp17_ = osinfo_resources_get_ram (_data_->_tmp16_);
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp18_ = _data_->_tmp17_;
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_size_property_set_recommended (_data_->ram_property, (guint64) _data_->_tmp18_);
#line 3465 "libvirt-machine-properties.c"
		}
#line 274 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->storage_property != NULL) {
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp19_ = _data_->resources;
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp20_ = osinfo_resources_get_storage (_data_->_tmp19_);
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp21_ = _data_->_tmp20_;
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_size_property_set_recommended (_data_->storage_property, (guint64) _data_->_tmp21_);
#line 3477 "libvirt-machine-properties.c"
		}
	}
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->resources);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->architecture);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ != 0) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3494 "libvirt-machine-properties.c"
		}
	}
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 3501 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_get_os_for_machine_data_free (gpointer _data)
{
	BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->machine);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->result);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesGetOsForMachineData, _data_);
#line 3518 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_get_os_for_machine (BoxesLibvirtMachineProperties* self,
                                                     BoxesLibvirtMachine* machine,
                                                     GAsyncReadyCallback _callback_,
                                                     gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesGetOsForMachineData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_get_os_for_machine_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (machine);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->machine);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->machine = _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine_co (_data_);
#line 3549 "libvirt-machine-properties.c"
}


static OsinfoOs*
boxes_libvirt_machine_properties_get_os_for_machine_finish (BoxesLibvirtMachineProperties* self,
                                                            GAsyncResult* _res_)
{
	OsinfoOs* result;
	BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _data_->result;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->result = NULL;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 3567 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_get_os_for_machine_ready (GObject* source_object,
                                                           GAsyncResult* _res_,
                                                           gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine_co (_data_);
#line 3585 "libvirt-machine-properties.c"
}


static gboolean
boxes_libvirt_machine_properties_get_os_for_machine_co (BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_)
{
#line 279 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 279 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 3596 "libvirt-machine-properties.c"
		goto _state_0;
#line 279 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 3600 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 279 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 3605 "libvirt-machine-properties.c"
	}
	_state_0:
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = boxes_libvirt_machine_get_domain_config (_data_->machine);
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = boxes_vm_configurator_get_os_id (_data_->_tmp1_);
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os_id = _data_->_tmp2_;
#line 281 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->os_id;
#line 281 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp3_ == NULL) {
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = NULL;
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3632 "libvirt-machine-properties.c"
			}
		}
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3639 "libvirt-machine-properties.c"
	}
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = boxes_media_manager_get_instance ();
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = boxes_media_manager_get_os_db (_data_->_tmp5_);
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = _data_->_tmp6_;
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = _g_object_ref0 (_data_->_tmp7_);
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp5_);
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os_db = _data_->_tmp9_;
#line 3657 "libvirt-machine-properties.c"
	{
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp11_ = _data_->os_db;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp12_ = _data_->os_id;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_state_ = 1;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_os_database_get_os_by_id (_data_->_tmp11_, _data_->_tmp12_, boxes_libvirt_machine_properties_get_os_for_machine_ready, _data_);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3669 "libvirt-machine-properties.c"
		_state_1:
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp13_ = boxes_os_database_get_os_by_id_finish (_data_->_tmp11_, _data_->_res_, &_data_->_inner_error_);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp10_ = _data_->_tmp13_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_data_->_inner_error_->domain == BOXES_OS_DATABASE_ERROR) {
#line 3679 "libvirt-machine-properties.c"
				goto __catch43_boxes_os_database_error;
			}
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_data_->os_db);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_data_->os_id);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_data_->_inner_error_);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_unref (_data_->_async_result);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return FALSE;
#line 3694 "libvirt-machine-properties.c"
		}
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp14_ = _data_->_tmp10_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp10_ = NULL;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = _data_->_tmp14_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->_tmp10_);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os_db);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3716 "libvirt-machine-properties.c"
			}
		}
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3723 "libvirt-machine-properties.c"
	}
	goto __finally43;
	__catch43_boxes_os_database_error:
	{
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_inner_error_ = NULL;
#line 288 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp15_ = _data_->os_id;
#line 288 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp16_ = _data_->_error_;
#line 288 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp17_ = _data_->_tmp16_->message;
#line 288 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:288: Failed to find OS with ID '%s': %" \
"s", _data_->_tmp15_, _data_->_tmp17_);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = NULL;
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_data_->_error_);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os_db);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3756 "libvirt-machine-properties.c"
			}
		}
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3763 "libvirt-machine-properties.c"
	}
	__finally43:
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os_db);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->os_id);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_data_->_inner_error_);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 3778 "libvirt-machine-properties.c"
}


static Block47Data*
block47_data_ref (Block47Data* _data47_)
{
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data47_->_ref_count_);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data47_;
#line 3789 "libvirt-machine-properties.c"
}


static void
block47_data_unref (void * _userdata_)
{
	Block47Data* _data47_;
	_data47_ = (Block47Data*) _userdata_;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data47_->_ref_count_)) {
#line 3800 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data47_->self;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data47_->prop);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data47_->net_graph);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data47_->io_graph);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data47_->cpu_graph);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block47Data, _data47_);
#line 3816 "libvirt-machine-properties.c"
	}
}


static void
__lambda121_ (Block47Data* _data47_)
{
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gdouble* _tmp1_;
	gint _tmp1__length1;
	BoxesLibvirtMachine* _tmp2_;
	gdouble* _tmp3_;
	gint _tmp3__length1;
	BoxesLibvirtMachine* _tmp4_;
	gdouble* _tmp5_;
	gint _tmp5__length1;
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data47_->self;
#line 322 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 322 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _tmp0_->cpu_stats;
#line 322 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1__length1 = _tmp0_->cpu_stats_length1;
#line 322 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data47_->cpu_graph, _tmp1_, _tmp1__length1);
#line 323 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = self->priv->machine;
#line 323 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_->io_stats;
#line 323 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3__length1 = _tmp2_->io_stats_length1;
#line 323 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data47_->io_graph, _tmp3_, _tmp3__length1);
#line 324 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = self->priv->machine;
#line 324 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_->net_stats;
#line 324 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5__length1 = _tmp4_->net_stats_length1;
#line 324 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data47_->net_graph, _tmp5_, _tmp5__length1);
#line 3860 "libvirt-machine-properties.c"
}


static void
___lambda121__boxes_libvirt_machine_stats_updated (BoxesLibvirtMachine* _sender,
                                                   gpointer self)
{
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda121_ (self);
#line 3870 "libvirt-machine-properties.c"
}


static void
__lambda122_ (Block47Data* _data47_)
{
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gulong _tmp1_;
#line 329 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data47_->self;
#line 330 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 330 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _data47_->stats_id);
#line 331 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data47_->flushed_id;
#line 331 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _data47_->prop, _tmp1_);
#line 3890 "libvirt-machine-properties.c"
}


static void
___lambda122__boxes_property_flushed (BoxesProperty* _sender,
                                      gpointer self)
{
#line 329 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda122_ (self);
#line 3900 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_add_resource_usage_graphs (BoxesLibvirtMachineProperties* self,
                                                            GList* * list)
{
	Block47Data* _data47_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp0_;
	BoxesResourceGraph* _tmp1_;
	GtkLabel* label = NULL;
	GtkLabel* _tmp2_;
	GtkLabel* _tmp3_;
	BoxesResourceGraph* _tmp4_;
	GtkLabel* _tmp5_;
	GtkLabel* _tmp6_;
	BoxesResourceGraph* _tmp7_;
	GtkLabel* _tmp8_;
	GtkLabel* _tmp9_;
	BoxesLibvirtMachine* _tmp10_;
	gulong _tmp11_;
	BoxesProperty* _tmp12_;
	gulong _tmp13_;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_ = g_slice_new0 (Block47Data);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->_ref_count_ = 1;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->self = g_object_ref (self);
#line 294 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = (GtkGrid*) gtk_grid_new ();
#line 294 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp0_);
#line 294 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp0_;
#line 295 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_top ((GtkWidget*) grid, 20);
#line 296 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) grid, 20);
#line 297 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_row_spacing (grid, 5);
#line 298 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (grid, 10);
#line 299 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_homogeneous (grid, TRUE);
#line 300 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_vexpand ((GtkWidget*) grid, FALSE);
#line 303 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_resource_graph_new ((gdouble) 100);
#line 303 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp1_);
#line 303 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->cpu_graph = _tmp1_;
#line 304 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_npoints (_data47_->cpu_graph, 20);
#line 305 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data47_->cpu_graph, 0, 0, 1, 1);
#line 306 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = (GtkLabel*) gtk_label_new (_ ("CPU"));
#line 306 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp2_);
#line 306 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp2_;
#line 307 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = label;
#line 307 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp3_, 0, 1, 1, 1);
#line 310 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_resource_graph_new ((gdouble) 104857600);
#line 310 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp4_);
#line 310 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->io_graph = _tmp4_;
#line 311 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data47_->io_graph, 1, 0, 1, 1);
#line 312 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = (GtkLabel*) gtk_label_new (_ ("I/O"));
#line 312 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp5_);
#line 312 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 312 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp5_;
#line 313 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = label;
#line 313 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp6_, 1, 1, 1, 1);
#line 316 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = boxes_resource_graph_new ((gdouble) 1048576);
#line 316 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp7_);
#line 316 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->net_graph = _tmp7_;
#line 317 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data47_->net_graph, 2, 0, 1, 1);
#line 318 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = (GtkLabel*) gtk_label_new (_ ("Network"));
#line 318 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp8_);
#line 318 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 318 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp8_;
#line 319 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = label;
#line 319 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp9_, 2, 1, 1, 1);
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = self->priv->machine;
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = g_signal_connect_data (_tmp10_, "stats-updated", (GCallback) ___lambda121__boxes_libvirt_machine_stats_updated, block47_data_ref (_data47_), (GClosureNotify) block47_data_unref, 0);
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->stats_id = _tmp11_;
#line 327 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) grid, NULL);
#line 327 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->prop = _tmp12_;
#line 328 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->flushed_id = (gulong) 0;
#line 329 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = g_signal_connect_data (_data47_->prop, "flushed", (GCallback) ___lambda122__boxes_property_flushed, block47_data_ref (_data47_), (GClosureNotify) block47_data_unref, 0);
#line 329 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->flushed_id = _tmp13_;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block47_data_unref (_data47_);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_ = NULL;
#line 4035 "libvirt-machine-properties.c"
}


static Block48Data*
block48_data_ref (Block48Data* _data48_)
{
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data48_->_ref_count_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data48_;
#line 4046 "libvirt-machine-properties.c"
}


static void
block48_data_unref (void * _userdata_)
{
	Block48Data* _data48_;
	_data48_ = (Block48Data*) _userdata_;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data48_->_ref_count_)) {
#line 4057 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data48_->self;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data48_->prop);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data48_->shutdown_button);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data48_->restart_button);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block48Data, _data48_);
#line 4071 "libvirt-machine-properties.c"
	}
}


static void
__lambda123_ (BoxesLibvirtMachineProperties* self)
{
	BoxesLibvirtMachine* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesAppWindow* _tmp2_;
	BoxesAppWindow* _tmp3_;
	BoxesPropertiesWindow* _tmp4_;
#line 349 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 349 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_machine_restart ((BoxesMachine*) _tmp0_);
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_revert_state (_tmp4_);
#line 4098 "libvirt-machine-properties.c"
}


static void
___lambda123__gtk_button_clicked (GtkButton* _sender,
                                  gpointer self)
{
#line 348 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda123_ ((BoxesLibvirtMachineProperties*) self);
#line 4108 "libvirt-machine-properties.c"
}


static void
__lambda135_ (BoxesLibvirtMachineProperties* self)
{
	BoxesLibvirtMachine* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesAppWindow* _tmp2_;
	BoxesAppWindow* _tmp3_;
	BoxesPropertiesWindow* _tmp4_;
#line 358 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 358 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_force_shutdown (_tmp0_);
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_revert_state (_tmp4_);
#line 4134 "libvirt-machine-properties.c"
}


static void
___lambda135__gtk_button_clicked (GtkButton* _sender,
                                  gpointer self)
{
#line 357 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda135_ ((BoxesLibvirtMachineProperties*) self);
#line 4144 "libvirt-machine-properties.c"
}


static void
__lambda136_ (Block48Data* _data48_)
{
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	BoxesLibvirtMachine* _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data48_->self;
#line 365 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 365 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp0_);
#line 365 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 365 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data48_->restart_button, _tmp2_);
#line 366 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = self->priv->machine;
#line 366 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp3_);
#line 366 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 366 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data48_->shutdown_button, _tmp5_);
#line 4176 "libvirt-machine-properties.c"
}


static void
___lambda136__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda136_ (self);
#line 4187 "libvirt-machine-properties.c"
}


static void
__lambda137_ (BoxesLibvirtMachineProperties* self)
{
	gchar* log = NULL;
	gchar* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesAppWindow* _tmp2_;
	BoxesAppWindow* _tmp3_;
	BoxesPropertiesWindow* _tmp4_;
#line 373 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = boxes_libvirt_machine_properties_collect_logs (self);
#line 373 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	log = _tmp0_;
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_show_troubleshoot_log (_tmp4_, log);
#line 372 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (log);
#line 4216 "libvirt-machine-properties.c"
}


static void
___lambda137__gtk_button_clicked (GtkButton* _sender,
                                  gpointer self)
{
#line 372 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda137_ ((BoxesLibvirtMachineProperties*) self);
#line 4226 "libvirt-machine-properties.c"
}


static void
__lambda138_ (Block48Data* _data48_)
{
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gulong _tmp1_;
#line 379 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data48_->self;
#line 380 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 380 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _data48_->state_notify_id);
#line 381 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data48_->flushed_id;
#line 381 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _data48_->prop, _tmp1_);
#line 4246 "libvirt-machine-properties.c"
}


static void
___lambda138__boxes_property_flushed (BoxesProperty* _sender,
                                      gpointer self)
{
#line 379 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda138_ (self);
#line 4256 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_add_system_props_buttons (BoxesLibvirtMachineProperties* self,
                                                           GList* * list)
{
	Block48Data* _data48_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp0_;
	GtkGrid* inner_grid = NULL;
	GtkGrid* _tmp1_;
	GtkButton* _tmp2_;
	BoxesLibvirtMachine* _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
	GtkButton* _tmp6_;
	GtkStyleContext* _tmp7_;
	BoxesLibvirtMachine* _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp10_;
	BoxesLibvirtMachine* _tmp11_;
	gulong _tmp12_;
	GtkButton* log_button = NULL;
	GtkButton* _tmp13_;
	BoxesProperty* _tmp14_;
	gulong _tmp15_;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_ = g_slice_new0 (Block48Data);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->_ref_count_ = 1;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->self = g_object_ref (self);
#line 336 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = (GtkGrid*) gtk_grid_new ();
#line 336 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp0_);
#line 336 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp0_;
#line 337 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) grid, 20);
#line 338 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (grid, 5);
#line 339 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_hexpand ((GtkWidget*) grid, TRUE);
#line 341 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = (GtkGrid*) gtk_grid_new ();
#line 341 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp1_);
#line 341 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	inner_grid = _tmp1_;
#line 342 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (inner_grid, 5);
#line 343 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) inner_grid, GTK_ALIGN_START);
#line 344 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_hexpand ((GtkWidget*) inner_grid, TRUE);
#line 345 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) inner_grid, 0, 0, 1, 1);
#line 347 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Restart"));
#line 347 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp2_);
#line 347 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->restart_button = _tmp2_;
#line 348 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (_data48_->restart_button, "clicked", (GCallback) ___lambda123__gtk_button_clicked, self, 0);
#line 352 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = self->priv->machine;
#line 352 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp3_);
#line 352 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 352 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data48_->restart_button, _tmp5_);
#line 353 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (inner_grid, (GtkWidget*) _data48_->restart_button, 1, 0, 1, 1);
#line 355 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Force Shutdown"));
#line 355 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp6_);
#line 355 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->shutdown_button = _tmp6_;
#line 356 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = gtk_widget_get_style_context ((GtkWidget*) _data48_->shutdown_button);
#line 356 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_style_context_add_class (_tmp7_, GTK_STYLE_CLASS_DESTRUCTIVE_ACTION);
#line 357 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (_data48_->shutdown_button, "clicked", (GCallback) ___lambda135__gtk_button_clicked, self, 0);
#line 361 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = self->priv->machine;
#line 361 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp8_);
#line 361 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _tmp9_;
#line 361 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data48_->shutdown_button, _tmp10_);
#line 362 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (inner_grid, (GtkWidget*) _data48_->shutdown_button, 2, 0, 1, 1);
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = self->priv->machine;
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = g_signal_connect_data ((GObject*) _tmp11_, "notify::state", (GCallback) ___lambda136__g_object_notify, block48_data_ref (_data48_), (GClosureNotify) block48_data_unref, 0);
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->state_notify_id = _tmp12_;
#line 369 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Troubleshooting Log"));
#line 369 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp13_);
#line 369 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	log_button = _tmp13_;
#line 370 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) log_button, GTK_ALIGN_END);
#line 371 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) log_button, 1, 0, 1, 1);
#line 372 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (log_button, "clicked", (GCallback) ___lambda137__gtk_button_clicked, self, 0);
#line 377 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) grid, NULL);
#line 377 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->prop = _tmp14_;
#line 378 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->flushed_id = (gulong) 0;
#line 379 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = g_signal_connect_data (_data48_->prop, "flushed", (GCallback) ___lambda138__boxes_property_flushed, block48_data_ref (_data48_), (GClosureNotify) block48_data_unref, 0);
#line 379 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->flushed_id = _tmp15_;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (log_button);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (inner_grid);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block48_data_unref (_data48_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_ = NULL;
#line 4396 "libvirt-machine-properties.c"
}


static Block49Data*
block49_data_ref (Block49Data* _data49_)
{
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data49_->_ref_count_);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data49_;
#line 4407 "libvirt-machine-properties.c"
}


static void
block49_data_unref (void * _userdata_)
{
	Block49Data* _data49_;
	_data49_ = (Block49Data*) _userdata_;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data49_->_ref_count_)) {
#line 4418 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data49_->self;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data49_->property);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block49Data, _data49_);
#line 4428 "libvirt-machine-properties.c"
	}
}


static void
_boxes_libvirt_machine_properties_on_ram_changed_boxes_size_property_changed (BoxesSizeProperty* _sender,
                                                                              guint64 value,
                                                                              gpointer self)
{
#line 405 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_on_ram_changed ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 4440 "libvirt-machine-properties.c"
}


static void
___lambda140_ (Block49Data* _data49_)
{
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 407 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data49_->self;
#line 408 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 408 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_machine_get_is_on ((BoxesMachine*) _tmp0_);
#line 408 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 408 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (!_tmp2_) {
#line 4461 "libvirt-machine-properties.c"
		BoxesSizeProperty* _tmp3_;
#line 409 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _data49_->property;
#line 409 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required ((BoxesProperty*) _tmp3_, FALSE);
#line 4467 "libvirt-machine-properties.c"
	}
}


static void
____lambda140__g_object_notify (GObject* _sender,
                                GParamSpec* pspec,
                                gpointer self)
{
#line 407 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda140_ (self);
#line 4479 "libvirt-machine-properties.c"
}


static BoxesSizeProperty*
boxes_libvirt_machine_properties_add_ram_property (BoxesLibvirtMachineProperties* self,
                                                   GList* * list)
{
	BoxesSizeProperty* result = NULL;
	GError * _inner_error_ = NULL;
#line 385 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 4491 "libvirt-machine-properties.c"
	{
		Block49Data* _data49_;
		GVirNodeInfo* _tmp0_ = NULL;
		BoxesLibvirtMachine* _tmp1_;
		GVirConnection* _tmp2_;
		GVirConnection* _tmp3_;
		GVirNodeInfo* _tmp4_;
		gulong max_ram = 0UL;
		gulong _tmp5_;
		BoxesLibvirtMachine* _tmp6_;
		GVirConfigDomain* _tmp7_;
		GVirConfigDomain* _tmp8_;
		guint64 _tmp9_;
		guint64 _tmp10_;
		gulong _tmp11_;
		BoxesSizeProperty* _tmp12_;
		BoxesSizeProperty* _tmp13_;
		BoxesSizeProperty* _tmp14_;
		GtkWidget* _tmp15_;
		GtkWidget* _tmp16_;
		gboolean _tmp17_ = FALSE;
		gboolean _tmp18_ = FALSE;
		gboolean _tmp19_ = FALSE;
		BoxesLibvirtMachine* _tmp20_;
		GVirConfigDomain* _tmp21_;
		GVirConfigDomain* _tmp22_;
		BoxesLibvirtMachine* _tmp36_;
		BoxesSizeProperty* _tmp37_;
		BoxesSizeProperty* _tmp38_;
		BoxesSizeProperty* _tmp39_;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data49_ = g_slice_new0 (Block49Data);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data49_->_ref_count_ = 1;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data49_->self = g_object_ref (self);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_libvirt_machine_get_connection (_tmp1_);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = gvir_connection_get_node_info (_tmp3_, &_inner_error_);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp4_;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			block49_data_unref (_data49_);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data49_ = NULL;
#line 4544 "libvirt-machine-properties.c"
			goto __catch44_g_error;
		}
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _tmp0_->memory;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		max_ram = _tmp5_;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = self->priv->machine;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = boxes_libvirt_machine_get_domain_config (_tmp6_);
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = gvir_config_domain_get_memory (_tmp8_);
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = max_ram;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_iproperties_provider_add_size_property ((BoxesIPropertiesProvider*) self, list, _ ("_Memory: "), _tmp10_ * OSINFO_KIBIBYTES, (guint64) (64 * OSINFO_MEBIBYTES), (guint64) (_tmp11_ * OSINFO_KIBIBYTES), (guint64) 0, (guint64) (64 * OSINFO_MEBIBYTES), G_FORMAT_SIZE_IEC_UNITS);
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data49_->property = _tmp12_;
#line 397 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _data49_->property;
#line 397 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_description_alignment ((BoxesProperty*) _tmp13_, GTK_ALIGN_START);
#line 398 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _data49_->property;
#line 398 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = boxes_property_get_widget ((BoxesProperty*) _tmp14_);
#line 398 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _tmp15_;
#line 398 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_widget_set_margin_top (_tmp16_, 5);
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = self->priv->machine;
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = boxes_libvirt_machine_get_domain_config (_tmp20_);
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _tmp21_;
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (boxes_vm_configurator_is_install_config (_tmp22_)) {
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = TRUE;
#line 4589 "libvirt-machine-properties.c"
		} else {
			BoxesLibvirtMachine* _tmp23_;
			GVirConfigDomain* _tmp24_;
			GVirConfigDomain* _tmp25_;
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = self->priv->machine;
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = boxes_libvirt_machine_get_domain_config (_tmp23_);
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = _tmp24_;
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = boxes_vm_configurator_is_live_config (_tmp25_);
#line 4602 "libvirt-machine-properties.c"
		}
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp19_) {
#line 4606 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp26_;
			BoxesAppWindow* _tmp27_;
			BoxesAppWindow* _tmp28_;
			BoxesUIState _tmp29_;
			BoxesUIState _tmp30_;
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = self->priv->machine;
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = boxes_machine_get_window ((BoxesMachine*) _tmp26_);
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = _tmp27_;
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp28_);
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = _tmp29_;
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = _tmp30_ != BOXES_UI_STATE_WIZARD;
#line 4624 "libvirt-machine-properties.c"
		} else {
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = FALSE;
#line 4628 "libvirt-machine-properties.c"
		}
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp18_) {
#line 4632 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp31_;
			BoxesMachineMachineState _tmp32_;
			BoxesMachineMachineState _tmp33_;
#line 402 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = self->priv->machine;
#line 402 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = boxes_machine_get_state ((BoxesMachine*) _tmp31_);
#line 402 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = _tmp32_;
#line 402 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _tmp33_ != BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 4644 "libvirt-machine-properties.c"
		} else {
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = FALSE;
#line 4648 "libvirt-machine-properties.c"
		}
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp17_) {
#line 4652 "libvirt-machine-properties.c"
			BoxesSizeProperty* _tmp34_;
#line 403 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = _data49_->property;
#line 403 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_property_set_sensitive ((BoxesProperty*) _tmp34_, FALSE);
#line 4658 "libvirt-machine-properties.c"
		} else {
			BoxesSizeProperty* _tmp35_;
#line 405 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = _data49_->property;
#line 405 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp35_, "changed", (GCallback) _boxes_libvirt_machine_properties_on_ram_changed_boxes_size_property_changed, self, 0);
#line 4665 "libvirt-machine-properties.c"
		}
#line 407 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = self->priv->machine;
#line 407 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_connect_data ((GObject*) _tmp36_, "notify::state", (GCallback) ____lambda140__g_object_notify, block49_data_ref (_data49_), (GClosureNotify) block49_data_unref, 0);
#line 412 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = _data49_->property;
#line 412 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_update_ram_property (self, (BoxesProperty*) _tmp37_);
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = _data49_->property;
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = _g_object_ref0 (_tmp38_);
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp39_;
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp0_);
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		block49_data_unref (_data49_);
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data49_ = NULL;
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 4689 "libvirt-machine-properties.c"
	}
	goto __finally44;
	__catch44_g_error:
	{
		GError* _error_ = NULL;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 416 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 416 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 416 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 4705 "libvirt-machine-properties.c"
	}
	__finally44:
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return NULL;
#line 4714 "libvirt-machine-properties.c"
}


static Block50Data*
block50_data_ref (Block50Data* _data50_)
{
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data50_->_ref_count_);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data50_;
#line 4725 "libvirt-machine-properties.c"
}


static void
block50_data_unref (void * _userdata_)
{
	Block50Data* _data50_;
	_data50_ = (Block50Data*) _userdata_;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data50_->_ref_count_)) {
#line 4736 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data50_->self;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data50_->property);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block50Data, _data50_);
#line 4746 "libvirt-machine-properties.c"
	}
}


static gboolean
__lambda139_ (Block50Data* _data50_)
{
	BoxesLibvirtMachineProperties* self;
	gboolean result = FALSE;
	guint64 ram = 0ULL;
	GError * _inner_error_ = NULL;
#line 422 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data50_->self;
#line 423 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	ram = ((_data50_->value + OSINFO_KIBIBYTES) - 1) / OSINFO_KIBIBYTES;
#line 4762 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp0_;
		GVirDomain* _tmp1_;
		GVirDomain* _tmp2_;
		GVirConfigDomain* _tmp3_;
		GVirConfigDomain* _tmp4_;
		guint64 _tmp5_;
		GVirConfigDomain* _tmp6_;
		GObjectClass* _tmp7_;
		GParamSpec* _tmp8_;
		BoxesLibvirtMachine* _tmp11_;
		GVirDomain* _tmp12_;
		GVirDomain* _tmp13_;
		GVirConfigDomain* _tmp14_;
		guint64 _tmp15_;
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp3_;
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4791 "libvirt-machine-properties.c"
			goto __catch45_g_error;
		}
#line 426 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = config;
#line 426 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = ram;
#line 426 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_set_memory (_tmp4_, _tmp5_);
#line 427 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = config;
#line 427 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = G_OBJECT_GET_CLASS ((GObject*) _tmp6_);
#line 427 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = g_object_class_find_property (_tmp7_, "current-memory");
#line 427 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp8_ != NULL) {
#line 4808 "libvirt-machine-properties.c"
			GVirConfigDomain* _tmp9_;
			guint64 _tmp10_;
#line 428 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = config;
#line 428 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = ram;
#line 428 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set ((GObject*) _tmp9_, "current-memory", _tmp10_, NULL);
#line 4817 "libvirt-machine-properties.c"
		}
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = self->priv->machine;
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_libvirt_machine_get_domain (_tmp11_);
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = config;
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_set_config (_tmp13_, _tmp14_, &_inner_error_);
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 4833 "libvirt-machine-properties.c"
			goto __catch45_g_error;
		}
#line 430 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = ram;
#line 430 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:430: RAM changed to %llu KiB", _tmp15_);
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 4842 "libvirt-machine-properties.c"
	}
	goto __finally45;
	__catch45_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp16_;
		GVirDomain* _tmp17_;
		GVirDomain* _tmp18_;
		const gchar* _tmp19_;
		guint64 _tmp20_;
		GError* _tmp21_;
		const gchar* _tmp22_;
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = self->priv->machine;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_libvirt_machine_get_domain (_tmp16_);
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _tmp17_;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = gvir_domain_get_name (_tmp18_);
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = ram;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _error_;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _tmp21_->message;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:432: Failed to change RAM of box '%s' " \
"to %llu KiB: %s", _tmp19_, _tmp20_, _tmp22_);
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 4877 "libvirt-machine-properties.c"
	}
	__finally45:
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4882 "libvirt-machine-properties.c"
		gboolean _tmp23_ = FALSE;
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return _tmp23_;
#line 4890 "libvirt-machine-properties.c"
	}
#line 438 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_update_ram_property (self, _data50_->property);
#line 440 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = FALSE;
#line 440 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 4898 "libvirt-machine-properties.c"
}


static gboolean
___lambda139__gsource_func (gpointer self)
{
	gboolean result;
	result = __lambda139_ (self);
#line 422 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 4909 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_on_ram_changed (BoxesLibvirtMachineProperties* self,
                                                 BoxesProperty* property,
                                                 guint64 value)
{
	Block50Data* _data50_;
	BoxesProperty* _tmp0_;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_ = g_slice_new0 (Block50Data);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->_ref_count_ = 1;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->self = g_object_ref (self);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (property);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data50_->property);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->property = _tmp0_;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->value = value;
#line 422 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_deferred_change (_data50_->property, ___lambda139__gsource_func, block50_data_ref (_data50_), block50_data_unref);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block50_data_unref (_data50_);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_ = NULL;
#line 4944 "libvirt-machine-properties.c"
}


static void
_vala_GVirStorageVolInfo_free (GVirStorageVolInfo* self)
{
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_storage_vol_info_get_type (), self);
#line 4953 "libvirt-machine-properties.c"
}


static void
_vala_GVirStoragePoolInfo_free (GVirStoragePoolInfo* self)
{
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_storage_pool_info_get_type (), self);
#line 4962 "libvirt-machine-properties.c"
}


static void
_boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed (BoxesSizeProperty* _sender,
                                                                                  guint64 value,
                                                                                  gpointer self)
{
#line 502 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_on_storage_changed ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 4973 "libvirt-machine-properties.c"
}


static BoxesSizeProperty*
boxes_libvirt_machine_properties_add_storage_property (BoxesLibvirtMachineProperties* self,
                                                       GList* * list)
{
	BoxesSizeProperty* result = NULL;
	gboolean _tmp0_ = FALSE;
	BoxesLibvirtMachine* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GError * _inner_error_ = NULL;
#line 444 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_libvirt_machine_get_importing (_tmp1_);
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = TRUE;
#line 4999 "libvirt-machine-properties.c"
	} else {
		BoxesLibvirtMachine* _tmp4_;
		GVirStorageVol* _tmp5_;
		GVirStorageVol* _tmp6_;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_storage_volume (_tmp4_);
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp6_ == NULL;
#line 5012 "libvirt-machine-properties.c"
	}
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 446 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 446 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5020 "libvirt-machine-properties.c"
	}
	{
		GVirStorageVolInfo* volume_info = NULL;
		BoxesLibvirtMachine* _tmp7_;
		GVirStorageVol* _tmp8_;
		GVirStorageVol* _tmp9_;
		GVirStorageVolInfo* _tmp10_;
		GVirStoragePool* pool = NULL;
		BoxesLibvirtMachine* _tmp11_;
		GVirConnection* _tmp12_;
		GVirConnection* _tmp13_;
		GVirStoragePool* _tmp14_;
		GVirStoragePoolInfo* pool_info = NULL;
		GVirStoragePool* _tmp15_;
		GVirStoragePoolInfo* _tmp16_;
		guint64 min_storage = 0ULL;
		guint64 max_storage = 0ULL;
		GVirStorageVolInfo* _tmp17_;
		guint64 _tmp18_;
		GVirStoragePoolInfo* _tmp19_;
		guint64 _tmp20_;
		guint64 _tmp21_;
		guint64 _tmp22_;
		BoxesSizeProperty* property = NULL;
		GVirStorageVolInfo* _tmp57_;
		guint64 _tmp58_;
		guint64 _tmp59_;
		guint64 _tmp60_;
		GVirStorageVolInfo* _tmp61_;
		guint64 _tmp62_;
		BoxesSizeProperty* _tmp63_;
		BoxesSizeProperty* _tmp64_;
		BoxesSizeProperty* _tmp65_;
		gboolean _tmp66_ = FALSE;
		gboolean _tmp67_ = FALSE;
		gboolean _tmp68_ = FALSE;
		BoxesLibvirtMachine* _tmp69_;
		GVirConfigDomain* _tmp70_;
		GVirConfigDomain* _tmp71_;
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = self->priv->machine;
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = boxes_libvirt_machine_get_storage_volume (_tmp7_);
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _tmp8_;
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = gvir_storage_vol_get_info (_tmp9_, &_inner_error_);
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		volume_info = _tmp10_;
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5072 "libvirt-machine-properties.c"
			goto __catch46_g_error;
		}
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = self->priv->machine;
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_libvirt_machine_get_connection (_tmp11_);
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = boxes_get_storage_pool (_tmp13_);
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		pool = _tmp14_;
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = pool;
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = gvir_storage_pool_get_info (_tmp15_, &_inner_error_);
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		pool_info = _tmp16_;
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 5097 "libvirt-machine-properties.c"
			goto __catch46_g_error;
		}
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		min_storage = boxes_libvirt_machine_properties_get_minimum_disk_size (self, &_inner_error_);
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 5110 "libvirt-machine-properties.c"
			goto __catch46_g_error;
		}
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = volume_info;
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _tmp17_->allocation;
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = pool_info;
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_->available;
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		max_storage = _tmp18_ + _tmp20_;
#line 455 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = min_storage;
#line 455 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = max_storage;
#line 455 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp21_ >= _tmp22_) {
#line 5129 "libvirt-machine-properties.c"
			GtkLabel* label = NULL;
			GtkLabel* _tmp23_;
			gchar* capacity = NULL;
			GVirStorageVolInfo* _tmp24_;
			guint64 _tmp25_;
			gchar* _tmp26_;
			gchar* allocation = NULL;
			GVirStorageVolInfo* _tmp27_;
			guint64 _tmp28_;
			gchar* _tmp29_;
			gchar* markup = NULL;
			const gchar* _tmp30_;
			const gchar* _tmp31_;
			gchar* _tmp32_;
			GtkLabel* _tmp33_;
			const gchar* _tmp34_;
			GtkLabel* _tmp35_;
			GtkLabel* _tmp36_;
			BoxesProperty* _tmp37_;
			BoxesProperty* _tmp38_;
			GtkInfoBar* infobar = NULL;
			GtkInfoBar* _tmp39_;
			GtkInfoBar* _tmp40_;
			GtkContainer* content = NULL;
			GtkInfoBar* _tmp41_;
			GtkContainer* _tmp42_;
			GtkContainer* _tmp43_;
			GtkImage* image = NULL;
			GtkImage* _tmp44_;
			GtkImage* _tmp45_;
			GtkImage* _tmp46_;
			GtkContainer* _tmp47_;
			GtkImage* _tmp48_;
			gchar* msg = NULL;
			gchar* _tmp49_;
			const gchar* _tmp50_;
			GtkLabel* _tmp51_;
			GtkContainer* _tmp52_;
			GtkLabel* _tmp53_;
			GtkInfoBar* _tmp54_;
			BoxesProperty* _tmp55_;
			BoxesProperty* _tmp56_;
#line 456 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = (GtkLabel*) gtk_label_new ("");
#line 456 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp23_);
#line 456 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			label = _tmp23_;
#line 457 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = volume_info;
#line 457 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = _tmp24_->capacity;
#line 457 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = g_format_size_full (_tmp25_, G_FORMAT_SIZE_DEFAULT);
#line 457 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			capacity = _tmp26_;
#line 458 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = volume_info;
#line 458 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = _tmp27_->allocation;
#line 458 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = g_format_size_full (_tmp28_, G_FORMAT_SIZE_DEFAULT);
#line 458 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			allocation = _tmp29_;
#line 459 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = capacity;
#line 459 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = allocation;
#line 459 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = g_strdup_printf (_ ("<span color=\"grey\">Maximum Disk Size</span>\t\t %s <span color=\"gre" \
"y\">(%s used)</span>"), _tmp30_, _tmp31_);
#line 459 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			markup = _tmp32_;
#line 460 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = label;
#line 460 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = markup;
#line 460 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_markup (_tmp33_, _tmp34_);
#line 461 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = label;
#line 461 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_widget_set_halign ((GtkWidget*) _tmp35_, GTK_ALIGN_START);
#line 463 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = label;
#line 463 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp36_, NULL);
#line 463 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = _tmp37_;
#line 463 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp38_);
#line 465 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = (GtkInfoBar*) gtk_info_bar_new ();
#line 465 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp39_);
#line 465 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			infobar = _tmp39_;
#line 466 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = infobar;
#line 466 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_info_bar_set_message_type (_tmp40_, GTK_MESSAGE_WARNING);
#line 468 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = infobar;
#line 468 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp42_ = gtk_info_bar_get_content_area (_tmp41_);
#line 468 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp43_ = _g_object_ref0 (_tmp42_);
#line 468 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			content = _tmp43_;
#line 470 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp44_ = (GtkImage*) gtk_image_new ();
#line 470 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp44_);
#line 470 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			image = _tmp44_;
#line 471 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp45_ = image;
#line 471 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set (_tmp45_, "icon-name", "dialog-warning", NULL);
#line 472 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp46_ = image;
#line 472 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set (_tmp46_, "icon-size", 3, NULL);
#line 473 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp47_ = content;
#line 473 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp48_ = image;
#line 473 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_container_add (_tmp47_, (GtkWidget*) _tmp48_);
#line 475 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp49_ = g_strdup (_ ("There is not enough space on your machine to increase the maximum disk" \
" size."));
#line 475 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			msg = _tmp49_;
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp50_ = msg;
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp51_ = (GtkLabel*) gtk_label_new (_tmp50_);
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp51_);
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (label);
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			label = _tmp51_;
#line 477 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp52_ = content;
#line 477 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp53_ = label;
#line 477 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_container_add (_tmp52_, (GtkWidget*) _tmp53_);
#line 479 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp54_ = infobar;
#line 479 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp55_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp54_, NULL);
#line 479 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp56_ = _tmp55_;
#line 479 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp56_);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			result = NULL;
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (msg);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (image);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (content);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (infobar);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (markup);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (allocation);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (capacity);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (label);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return result;
#line 5312 "libvirt-machine-properties.c"
		}
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp57_ = volume_info;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = _tmp57_->capacity;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp59_ = min_storage;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = max_storage;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = volume_info;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp62_ = _tmp61_->allocation;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp63_ = boxes_iproperties_provider_add_size_property ((BoxesIPropertiesProvider*) self, list, _ ("Maximum _Disk Size: "), _tmp58_, _tmp59_, _tmp60_, _tmp62_, 256 * BOXES_LIBVIRT_MACHINE_PROPERTIES_MEGABYTES, G_FORMAT_SIZE_DEFAULT);
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		property = _tmp63_;
#line 491 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp64_ = property;
#line 491 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_description_alignment ((BoxesProperty*) _tmp64_, GTK_ALIGN_START);
#line 495 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp65_ = property;
#line 495 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_defer_interval ((BoxesProperty*) _tmp65_, (guint) 0);
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp69_ = self->priv->machine;
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp70_ = boxes_libvirt_machine_get_domain_config (_tmp69_);
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp71_ = _tmp70_;
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (boxes_vm_configurator_is_install_config (_tmp71_)) {
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp68_ = TRUE;
#line 5348 "libvirt-machine-properties.c"
		} else {
			BoxesLibvirtMachine* _tmp72_;
			GVirConfigDomain* _tmp73_;
			GVirConfigDomain* _tmp74_;
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp72_ = self->priv->machine;
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp73_ = boxes_libvirt_machine_get_domain_config (_tmp72_);
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp74_ = _tmp73_;
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp68_ = boxes_vm_configurator_is_live_config (_tmp74_);
#line 5361 "libvirt-machine-properties.c"
		}
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp68_) {
#line 5365 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp75_;
			BoxesAppWindow* _tmp76_;
			BoxesAppWindow* _tmp77_;
			BoxesUIState _tmp78_;
			BoxesUIState _tmp79_;
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp75_ = self->priv->machine;
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp76_ = boxes_machine_get_window ((BoxesMachine*) _tmp75_);
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp77_ = _tmp76_;
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp78_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp77_);
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp79_ = _tmp78_;
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp67_ = _tmp79_ != BOXES_UI_STATE_WIZARD;
#line 5383 "libvirt-machine-properties.c"
		} else {
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp67_ = FALSE;
#line 5387 "libvirt-machine-properties.c"
		}
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp67_) {
#line 5391 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp80_;
			BoxesMachineMachineState _tmp81_;
			BoxesMachineMachineState _tmp82_;
#line 499 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp80_ = self->priv->machine;
#line 499 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp81_ = boxes_machine_get_state ((BoxesMachine*) _tmp80_);
#line 499 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp82_ = _tmp81_;
#line 499 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp66_ = _tmp82_ != BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 5403 "libvirt-machine-properties.c"
		} else {
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp66_ = FALSE;
#line 5407 "libvirt-machine-properties.c"
		}
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp66_) {
#line 5411 "libvirt-machine-properties.c"
			BoxesSizeProperty* _tmp83_;
#line 500 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp83_ = property;
#line 500 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_property_set_sensitive ((BoxesProperty*) _tmp83_, FALSE);
#line 5417 "libvirt-machine-properties.c"
		} else {
			BoxesSizeProperty* _tmp84_;
#line 502 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp84_ = property;
#line 502 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp84_, "changed", (GCallback) _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed, self, 0);
#line 5424 "libvirt-machine-properties.c"
		}
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = property;
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (pool);
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5436 "libvirt-machine-properties.c"
	}
	goto __finally46;
	__catch46_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp85_;
		GVirStorageVol* _tmp86_;
		GVirStorageVol* _tmp87_;
		const gchar* _tmp88_;
		GError* _tmp89_;
		const gchar* _tmp90_;
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp85_ = self->priv->machine;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp86_ = boxes_libvirt_machine_get_storage_volume (_tmp85_);
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp87_ = _tmp86_;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp88_ = gvir_storage_vol_get_name (_tmp87_);
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp89_ = _error_;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp90_ = _tmp89_->message;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:506: Failed to get information on volu" \
"me '%s' or it's parent pool: %s", _tmp88_, _tmp90_);
#line 509 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 509 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 509 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5472 "libvirt-machine-properties.c"
	}
	__finally46:
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return NULL;
#line 5481 "libvirt-machine-properties.c"
}


static Block51Data*
block51_data_ref (Block51Data* _data51_)
{
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data51_->_ref_count_);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data51_;
#line 5492 "libvirt-machine-properties.c"
}


static void
block51_data_unref (void * _userdata_)
{
	Block51Data* _data51_;
	_data51_ = (Block51Data*) _userdata_;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data51_->_ref_count_)) {
#line 5503 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data51_->self;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data51_->property);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block51Data, _data51_);
#line 5513 "libvirt-machine-properties.c"
	}
}


static gboolean
__lambda141_ (Block51Data* _data51_)
{
	BoxesLibvirtMachineProperties* self;
	gboolean result = FALSE;
#line 515 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data51_->self;
#line 516 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_change_storage_size (self, _data51_->property, _data51_->value, NULL, NULL);
#line 518 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = FALSE;
#line 518 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 5531 "libvirt-machine-properties.c"
}


static gboolean
___lambda141__gsource_func (gpointer self)
{
	gboolean result;
	result = __lambda141_ (self);
#line 515 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 5542 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_on_storage_changed (BoxesLibvirtMachineProperties* self,
                                                     BoxesProperty* property,
                                                     guint64 value)
{
	Block51Data* _data51_;
	BoxesProperty* _tmp0_;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_ = g_slice_new0 (Block51Data);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->_ref_count_ = 1;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->self = g_object_ref (self);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (property);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data51_->property);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->property = _tmp0_;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->value = value;
#line 515 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_deferred_change (_data51_->property, ___lambda141__gsource_func, block51_data_ref (_data51_), block51_data_unref);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block51_data_unref (_data51_);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_ = NULL;
#line 5577 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_change_storage_size_data_free (gpointer _data)
{
	BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesChangeStorageSizeData, _data_);
#line 5590 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_change_storage_size (BoxesLibvirtMachineProperties* self,
                                                      BoxesProperty* property,
                                                      guint64 value,
                                                      GAsyncReadyCallback _callback_,
                                                      gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	BoxesProperty* _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesChangeStorageSizeData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_change_storage_size_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->property = _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->value = value;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_change_storage_size_co (_data_);
#line 5624 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_change_storage_size_finish (BoxesLibvirtMachineProperties* self,
                                                             GAsyncResult* _res_)
{
	BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 5635 "libvirt-machine-properties.c"
}


static Block52Data*
block52_data_ref (Block52Data* _data52_)
{
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data52_->_ref_count_);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data52_;
#line 5646 "libvirt-machine-properties.c"
}


static void
block52_data_unref (void * _userdata_)
{
	Block52Data* _data52_;
	_data52_ = (Block52Data*) _userdata_;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data52_->_ref_count_)) {
#line 5657 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data52_->self;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data52_->property);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block52Data, _data52_);
#line 5667 "libvirt-machine-properties.c"
	}
}


static void
boxes_libvirt_machine_properties_change_storage_size_ready (GObject* source_object,
                                                            GAsyncResult* _res_,
                                                            gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_change_storage_size_co (_data_);
#line 5686 "libvirt-machine-properties.c"
}


static void
___lambda142_ (BoxesLibvirtMachineProperties* self)
{
	BoxesLibvirtMachine* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 543 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 543 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp0_);
#line 543 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 543 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_debug ("libvirt-machine-properties.vala:543: Storage resize of '%s' cancelled " \
"by user.", _tmp2_);
#line 5704 "libvirt-machine-properties.c"
}


static void
____lambda142__boxes_notification_ok_func (gpointer self)
{
#line 542 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda142_ ((BoxesLibvirtMachineProperties*) self);
#line 5713 "libvirt-machine-properties.c"
}


static void
___lambda143_ (Block52Data* _data52_)
{
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 546 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data52_->self;
#line 547 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 547 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp0_);
#line 547 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 547 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_debug ("libvirt-machine-properties.vala:547: User did not cancel storage resiz" \
"e of '%s'. Deleting all snapshots..", _tmp2_);
#line 548 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_force_change_storage_size (self, _data52_->property, _data52_->value, NULL, NULL);
#line 5736 "libvirt-machine-properties.c"
}


static void
____lambda143__boxes_notification_dismiss_func (gpointer self)
{
#line 546 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda143_ (self);
#line 5745 "libvirt-machine-properties.c"
}


static gboolean
boxes_libvirt_machine_properties_change_storage_size_co (BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_)
{
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 5756 "libvirt-machine-properties.c"
		goto _state_0;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 5760 "libvirt-machine-properties.c"
		goto _state_1;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 2:
#line 5764 "libvirt-machine-properties.c"
		goto _state_2;
		default:
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 5769 "libvirt-machine-properties.c"
	}
	_state_0:
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_data52_ = g_slice_new0 (Block52Data);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_data52_->_ref_count_ = 1;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_data52_->self = g_object_ref (_data_->self);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_data52_->property);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_data52_->property = _data_->property;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_data52_->value = _data_->value;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_data52_->_async_data_ = _data_;
#line 523 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->self->priv->machine;
#line 523 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp0_);
#line 523 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 523 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp2_ == NULL) {
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		block52_data_unref (_data_->_data52_);
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_data52_ = NULL;
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5806 "libvirt-machine-properties.c"
			}
		}
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 5813 "libvirt-machine-properties.c"
	}
	{
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_state_ = 1;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_get_snapshots (_data_->self, NULL, boxes_libvirt_machine_properties_change_storage_size_ready, _data_);
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 5822 "libvirt-machine-properties.c"
		_state_1:
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp4_ = boxes_libvirt_machine_properties_get_snapshots_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp3_ = _data_->_tmp4_;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 5830 "libvirt-machine-properties.c"
			goto __catch47_g_error;
		}
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp5_ = _data_->_tmp3_;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp3_ = NULL;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->snapshots = _data_->_tmp5_;
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__g_list_free__g_object_unref0_0 (_data_->_tmp3_);
#line 5843 "libvirt-machine-properties.c"
	}
	goto __finally47;
	__catch47_g_error:
	{
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->e = _data_->_inner_error_;
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_inner_error_ = NULL;
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp6_ = _data_->self->priv->machine;
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp7_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _data_->_tmp6_);
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp8_ = _data_->_tmp7_;
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp9_ = _data_->e;
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp10_ = _data_->_tmp9_->message;
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:530: Error fetching snapshots for %s: " \
"%s", _data_->_tmp8_, _data_->_tmp10_);
#line 531 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 531 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->snapshots = NULL;
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_data_->e);
#line 5870 "libvirt-machine-properties.c"
	}
	__finally47:
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		block52_data_unref (_data_->_data52_);
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_data52_ = NULL;
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_data_->_inner_error_);
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 5889 "libvirt-machine-properties.c"
	}
#line 534 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = _data_->snapshots;
#line 534 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->num_snapshots = g_list_length (_data_->_tmp11_);
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp12_ = _data_->num_snapshots;
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp12_ != ((guint) 0)) {
#line 538 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp13_ = _data_->num_snapshots;
#line 538 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp14_ = _data_->num_snapshots;
#line 538 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp15_ = g_strdup_printf (ngettext ("Storage resize requires deleting associated snapshot.", "Storage resize requires deleting %llu associated snapshots.", (gulong) _data_->_tmp13_), _data_->_tmp14_);
#line 538 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->msg = _data_->_tmp15_;
#line 542 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo = ____lambda142__boxes_notification_ok_func;
#line 542 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo_target = g_object_ref (_data_->self);
#line 542 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo_target_destroy_notify = g_object_unref;
#line 546 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize = ____lambda143__boxes_notification_dismiss_func;
#line 546 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize_target = block52_data_ref (_data_->_data52_);
#line 546 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize_target_destroy_notify = block52_data_unref;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp16_ = _data_->self->priv->machine;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp17_ = boxes_machine_get_window ((BoxesMachine*) _data_->_tmp16_);
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = _data_->_tmp17_;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp19_ = boxes_app_window_get_notificationbar (_data_->_tmp18_);
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp20_ = _data_->_tmp19_;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp21_ = _data_->msg;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp22_ = _data_->undo;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp22__target = _data_->undo_target;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp22__target_destroy_notify = _data_->undo_target_destroy_notify;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo = NULL;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo_target = NULL;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo_target_destroy_notify = NULL;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp23_ = _data_->really_resize;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp23__target = _data_->really_resize_target;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp23__target_destroy_notify = _data_->really_resize_target_destroy_notify;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize = NULL;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize_target = NULL;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize_target_destroy_notify = NULL;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp24_ = boxes_notificationbar_display_for_action (_data_->_tmp20_, _data_->_tmp21_, _ ("_Undo"), _data_->_tmp22_, _data_->_tmp22__target, _data_->_tmp22__target_destroy_notify, _data_->_tmp23_, _data_->_tmp23__target, _data_->_tmp23__target_destroy_notify, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp25_ = _data_->_tmp24_;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->_tmp25_);
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		(_data_->really_resize_target_destroy_notify == NULL) ? NULL : (_data_->really_resize_target_destroy_notify (_data_->really_resize_target), NULL);
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize = NULL;
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize_target = NULL;
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->really_resize_target_destroy_notify = NULL;
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		(_data_->undo_target_destroy_notify == NULL) ? NULL : (_data_->undo_target_destroy_notify (_data_->undo_target), NULL);
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo = NULL;
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo_target = NULL;
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->undo_target_destroy_notify = NULL;
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->msg);
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		block52_data_unref (_data_->_data52_);
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_data52_ = NULL;
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5993 "libvirt-machine-properties.c"
			}
		}
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 553 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6000 "libvirt-machine-properties.c"
	}
	{
#line 557 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp26_ = _data_->self->priv->machine;
#line 557 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp27_ = boxes_machine_get_is_running ((BoxesMachine*) _data_->_tmp26_);
#line 557 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp28_ = _data_->_tmp27_;
#line 557 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_tmp28_) {
#line 558 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp29_ = _data_->self->priv->machine;
#line 558 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp30_ = boxes_libvirt_machine_get_domain_disk (_data_->_tmp29_, &_data_->_inner_error_);
#line 558 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->disk = _data_->_tmp30_;
#line 558 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 6019 "libvirt-machine-properties.c"
				goto __catch48_g_error;
			}
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp31_ = _data_->disk;
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_data_->_tmp31_ == NULL) {
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_data_->disk);
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				block52_data_unref (_data_->_data52_);
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_data52_ = NULL;
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_data_->_state_ != 0) {
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 6042 "libvirt-machine-properties.c"
					}
				}
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_unref (_data_->_async_result);
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				return FALSE;
#line 6049 "libvirt-machine-properties.c"
			}
#line 562 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->size = ((_data_->_data52_->value + OSINFO_KIBIBYTES) - 1) / OSINFO_KIBIBYTES;
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp32_ = _data_->disk;
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp33_ = _data_->size;
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gvir_domain_disk_resize (_data_->_tmp32_, _data_->_tmp33_, (guint) 0, &_data_->_inner_error_);
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_data_->disk);
#line 6063 "libvirt-machine-properties.c"
				goto __catch48_g_error;
			}
#line 565 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp34_ = _data_->self->priv->machine;
#line 565 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp35_ = boxes_libvirt_machine_get_connection (_data_->_tmp34_);
#line 565 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp36_ = _data_->_tmp35_;
#line 565 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp37_ = boxes_get_storage_pool (_data_->_tmp36_);
#line 565 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->pool = _data_->_tmp37_;
#line 6076 "libvirt-machine-properties.c"
			{
#line 567 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp38_ = _data_->pool;
#line 567 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_state_ = 2;
#line 567 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				gvir_storage_pool_refresh_async (_data_->_tmp38_, NULL, boxes_libvirt_machine_properties_change_storage_size_ready, _data_);
#line 567 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				return FALSE;
#line 6086 "libvirt-machine-properties.c"
				_state_2:
#line 567 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				gvir_storage_pool_refresh_finish (_data_->_tmp38_, _data_->_res_, &_data_->_inner_error_);
#line 567 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 6092 "libvirt-machine-properties.c"
					goto __catch49_g_error;
				}
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp39_ = _data_->self->priv->machine;
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				boxes_libvirt_machine_update_domain_config (_data_->_tmp39_);
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp40_ = _data_->size;
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_debug ("libvirt-machine-properties.vala:569: Storage changed to %llu KiB", _data_->_tmp40_);
#line 6103 "libvirt-machine-properties.c"
			}
			goto __finally49;
			__catch49_g_error:
			{
#line 566 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_error_ = _data_->_inner_error_;
#line 566 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_inner_error_ = NULL;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp41_ = _data_->self->priv->machine;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp42_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp41_);
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp43_ = _data_->_tmp42_;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp44_ = gvir_storage_vol_get_name (_data_->_tmp43_);
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp45_ = _data_->size;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp46_ = _data_->_error_;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp47_ = _data_->_tmp46_->message;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_warning ("libvirt-machine-properties.vala:571: Failed to change storage capacity" \
" of volume '%s' to %llu KiB: %s", _data_->_tmp44_, _data_->_tmp45_, _data_->_tmp47_);
#line 566 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_error_free0 (_data_->_error_);
#line 6130 "libvirt-machine-properties.c"
			}
			__finally49:
#line 566 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 566 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_data_->pool);
#line 566 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_data_->disk);
#line 6139 "libvirt-machine-properties.c"
				goto __catch48_g_error;
			}
#line 557 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_data_->pool);
#line 557 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_data_->disk);
#line 6146 "libvirt-machine-properties.c"
		} else {
#line 577 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_resize_storage_volume (_data_->self, _data_->_data52_->value, &_data_->_inner_error_);
#line 577 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 6152 "libvirt-machine-properties.c"
				goto __catch48_g_error;
			}
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:578: Storage changed to %llu", _data_->_data52_->value);
#line 6157 "libvirt-machine-properties.c"
		}
	}
	goto __finally48;
	__catch48_g_error:
	{
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_inner_error_ = NULL;
#line 581 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp48_ = _data_->self->priv->machine;
#line 581 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp49_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp48_);
#line 581 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp50_ = _data_->_tmp49_;
#line 581 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp51_ = gvir_storage_vol_get_name (_data_->_tmp50_);
#line 581 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp52_ = _data_->_vala1__error_;
#line 581 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp53_ = _data_->_tmp52_->message;
#line 581 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:581: Failed to change storage capacity" \
" of volume '%s' to %llu: %s", _data_->_tmp51_, _data_->_data52_->value, _data_->_tmp53_);
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 6183 "libvirt-machine-properties.c"
	}
	__finally48:
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		block52_data_unref (_data_->_data52_);
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_data52_ = NULL;
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_data_->_inner_error_);
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 556 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6202 "libvirt-machine-properties.c"
	}
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block52_data_unref (_data_->_data52_);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_data52_ = NULL;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ != 0) {
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 6218 "libvirt-machine-properties.c"
		}
	}
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6225 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_force_change_storage_size_data_free (gpointer _data)
{
	BoxesLibvirtMachinePropertiesForceChangeStorageSizeData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesForceChangeStorageSizeData, _data_);
#line 6240 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_force_change_storage_size (BoxesLibvirtMachineProperties* self,
                                                            BoxesProperty* property,
                                                            guint64 value,
                                                            GAsyncReadyCallback _callback_,
                                                            gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesForceChangeStorageSizeData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	BoxesProperty* _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesForceChangeStorageSizeData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_force_change_storage_size_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->property = _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->value = value;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_force_change_storage_size_co (_data_);
#line 6274 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_force_change_storage_size_finish (BoxesLibvirtMachineProperties* self,
                                                                   GAsyncResult* _res_)
{
	BoxesLibvirtMachinePropertiesForceChangeStorageSizeData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 6285 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_force_change_storage_size_ready (GObject* source_object,
                                                                  GAsyncResult* _res_,
                                                                  gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesForceChangeStorageSizeData* _data_;
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_force_change_storage_size_co (_data_);
#line 6303 "libvirt-machine-properties.c"
}


static gboolean
boxes_libvirt_machine_properties_force_change_storage_size_co (BoxesLibvirtMachinePropertiesForceChangeStorageSizeData* _data_)
{
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 6314 "libvirt-machine-properties.c"
		goto _state_0;
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 6318 "libvirt-machine-properties.c"
		goto _state_1;
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 2:
#line 6322 "libvirt-machine-properties.c"
		goto _state_2;
		default:
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 6327 "libvirt-machine-properties.c"
	}
	_state_0:
	{
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_state_ = 1;
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_get_snapshots (_data_->self, NULL, boxes_libvirt_machine_properties_force_change_storage_size_ready, _data_);
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6337 "libvirt-machine-properties.c"
		_state_1:
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = boxes_libvirt_machine_properties_get_snapshots_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->snapshots = _data_->_tmp0_;
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 6345 "libvirt-machine-properties.c"
			goto __catch50_g_error;
		}
#line 592 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp1_ = _data_->snapshots;
#line 6350 "libvirt-machine-properties.c"
		{
#line 592 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->snapshot_collection = _data_->_tmp1_;
#line 592 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			for (_data_->snapshot_it = _data_->snapshot_collection; _data_->snapshot_it != NULL; _data_->snapshot_it = _data_->snapshot_it->next) {
#line 592 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp2_ = _g_object_ref0 ((GVirDomainSnapshot*) _data_->snapshot_it->data);
#line 592 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->snapshot = _data_->_tmp2_;
#line 6360 "libvirt-machine-properties.c"
				{
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_data_->_tmp3_ = _data_->snapshot;
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_data_->_state_ = 2;
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					gvir_domain_snapshot_delete_async (_data_->_tmp3_, (guint) 0, NULL, boxes_libvirt_machine_properties_force_change_storage_size_ready, _data_);
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					return FALSE;
#line 6370 "libvirt-machine-properties.c"
					_state_2:
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					gvir_domain_snapshot_delete_finish (_data_->_tmp3_, _data_->_res_, &_data_->_inner_error_);
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (_data_->snapshot);
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 6380 "libvirt-machine-properties.c"
						goto __catch50_g_error;
					}
#line 592 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (_data_->snapshot);
#line 6385 "libvirt-machine-properties.c"
				}
			}
		}
#line 596 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_change_storage_size (_data_->self, _data_->property, _data_->value, NULL, NULL);
#line 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__g_list_free__g_object_unref0_0 (_data_->snapshots);
#line 6393 "libvirt-machine-properties.c"
	}
	goto __finally50;
	__catch50_g_error:
	{
#line 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->e = _data_->_inner_error_;
#line 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_inner_error_ = NULL;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp4_ = _data_->e;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp5_ = _data_->_tmp4_->message;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:598: Error while deleting snapshots: %" \
"s", _data_->_tmp5_);
#line 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_data_->e);
#line 6410 "libvirt-machine-properties.c"
	}
	__finally50:
#line 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.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 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_data_->_inner_error_);
#line 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 589 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6423 "libvirt-machine-properties.c"
	}
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ != 0) {
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 6433 "libvirt-machine-properties.c"
		}
	}
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6440 "libvirt-machine-properties.c"
}


static guint64
boxes_libvirt_machine_properties_get_minimum_disk_size (BoxesLibvirtMachineProperties* self,
                                                        GError** error)
{
	guint64 result = 0ULL;
	GVirStorageVolInfo* volume_info = NULL;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	GVirStorageVol* _tmp2_;
	GVirStorageVolInfo* _tmp3_;
	BoxesLibvirtMachine* _tmp5_;
	BoxesVMCreator* _tmp6_;
	BoxesVMCreator* _tmp7_;
	OsinfoResources* minimum_resources = NULL;
	BoxesLibvirtMachine* _tmp10_;
	BoxesVMCreator* _tmp11_;
	BoxesVMCreator* _tmp12_;
	BoxesInstallerMedia* _tmp13_;
	BoxesInstallerMedia* _tmp14_;
	OsinfoOs* _tmp15_;
	gboolean _tmp34_ = FALSE;
	OsinfoResources* _tmp35_;
	GError * _inner_error_ = NULL;
#line 602 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, 0ULL);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_storage_vol_get_info (_tmp2_, &_inner_error_);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	volume_info = _tmp3_;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6481 "libvirt-machine-properties.c"
		guint64 _tmp4_ = 0ULL;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return _tmp4_;
#line 6487 "libvirt-machine-properties.c"
	}
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = self->priv->machine;
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = boxes_libvirt_machine_get_vm_creator (_tmp5_);
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp6_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_ == NULL) {
#line 6497 "libvirt-machine-properties.c"
		GVirStorageVolInfo* _tmp8_;
		guint64 _tmp9_;
#line 607 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = volume_info;
#line 607 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _tmp8_->capacity;
#line 607 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp9_;
#line 607 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 607 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6510 "libvirt-machine-properties.c"
	}
#line 610 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	minimum_resources = NULL;
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = self->priv->machine;
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = boxes_libvirt_machine_get_vm_creator (_tmp10_);
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = _tmp11_;
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = boxes_vm_creator_get_install_media (_tmp12_);
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = _tmp13_;
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _tmp14_->os;
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp15_ != NULL) {
#line 6528 "libvirt-machine-properties.c"
		OsinfoOs* os = NULL;
		BoxesLibvirtMachine* _tmp16_;
		BoxesVMCreator* _tmp17_;
		BoxesVMCreator* _tmp18_;
		BoxesInstallerMedia* _tmp19_;
		BoxesInstallerMedia* _tmp20_;
		OsinfoOs* _tmp21_;
		OsinfoOs* _tmp22_;
		gchar* architecture = NULL;
		BoxesLibvirtMachine* _tmp23_;
		GVirConfigDomain* _tmp24_;
		GVirConfigDomain* _tmp25_;
		GVirConfigDomainOs* _tmp26_;
		GVirConfigDomainOs* _tmp27_;
		const gchar* _tmp28_;
		gchar* _tmp29_;
		gchar* _tmp30_;
		OsinfoOs* _tmp31_;
		const gchar* _tmp32_;
		OsinfoResources* _tmp33_;
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = self->priv->machine;
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_libvirt_machine_get_vm_creator (_tmp16_);
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _tmp17_;
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = boxes_vm_creator_get_install_media (_tmp18_);
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_;
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_->os;
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _g_object_ref0 (_tmp21_);
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		os = _tmp22_;
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = self->priv->machine;
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = boxes_libvirt_machine_get_domain_config (_tmp23_);
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = _tmp24_;
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = gvir_config_domain_get_os (_tmp25_);
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = _tmp26_;
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = gvir_config_domain_os_get_arch (_tmp27_);
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = g_strdup (_tmp28_);
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = _tmp29_;
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp27_);
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		architecture = _tmp30_;
#line 615 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = os;
#line 615 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = architecture;
#line 615 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = boxes_os_database_get_minimum_resources_for_os (_tmp31_, _tmp32_);
#line 615 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 615 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		minimum_resources = _tmp33_;
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (architecture);
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (os);
#line 6599 "libvirt-machine-properties.c"
	}
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp35_ = minimum_resources;
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp35_ != NULL) {
#line 6605 "libvirt-machine-properties.c"
		OsinfoResources* _tmp36_;
		gint64 _tmp37_;
		gint64 _tmp38_;
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = minimum_resources;
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = osinfo_resources_get_storage (_tmp36_);
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = _tmp37_;
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = _tmp38_ != ((gint64) -1);
#line 6617 "libvirt-machine-properties.c"
	} else {
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = FALSE;
#line 6621 "libvirt-machine-properties.c"
	}
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp34_) {
#line 6625 "libvirt-machine-properties.c"
		OsinfoResources* _tmp39_;
		gint64 _tmp40_;
		gint64 _tmp41_;
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = minimum_resources;
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp40_ = osinfo_resources_get_storage (_tmp39_);
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = _tmp40_;
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = (guint64) _tmp41_;
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6643 "libvirt-machine-properties.c"
	} else {
		OsinfoResources* _tmp42_;
		GVirStorageVolInfo* _tmp43_;
		guint64 _tmp44_;
		OsinfoResources* _tmp45_;
		gint64 _tmp46_;
		gint64 _tmp47_;
#line 621 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = boxes_os_database_get_minimum_resources ();
#line 621 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 621 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		minimum_resources = _tmp42_;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = volume_info;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = _tmp43_->capacity;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp45_ = minimum_resources;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp46_ = osinfo_resources_get_storage (_tmp45_);
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp47_ = _tmp46_;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = MIN (_tmp44_, (guint64) _tmp47_);
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6675 "libvirt-machine-properties.c"
	}
#line 602 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (minimum_resources);
#line 602 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 6681 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_resize_storage_volume (BoxesLibvirtMachineProperties* self,
                                                        guint64 size,
                                                        GError** error)
{
	GVirStorageVolInfo* volume_info = NULL;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	GVirStorageVol* _tmp2_;
	GVirStorageVolInfo* _tmp3_;
	gboolean _tmp4_ = FALSE;
	BoxesLibvirtMachine* _tmp5_;
	BoxesVMCreator* _tmp6_;
	BoxesVMCreator* _tmp7_;
	GError * _inner_error_ = NULL;
#line 626 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 627 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 627 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 627 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 627 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_storage_vol_get_info (_tmp2_, &_inner_error_);
#line 627 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	volume_info = _tmp3_;
#line 627 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 627 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 627 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 6718 "libvirt-machine-properties.c"
	}
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = self->priv->machine;
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = boxes_libvirt_machine_get_vm_creator (_tmp5_);
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp6_;
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_ != NULL) {
#line 6728 "libvirt-machine-properties.c"
		GVirStorageVolInfo* _tmp8_;
		guint64 _tmp9_;
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = volume_info;
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _tmp8_->capacity;
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = size < _tmp9_;
#line 6737 "libvirt-machine-properties.c"
	} else {
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = FALSE;
#line 6741 "libvirt-machine-properties.c"
	}
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp4_) {
#line 6745 "libvirt-machine-properties.c"
		GVirConfigStorageVol* config = NULL;
		BoxesLibvirtMachine* _tmp10_;
		GVirStorageVol* _tmp11_;
		GVirStorageVol* _tmp12_;
		GVirConfigStorageVol* _tmp13_;
		GVirConfigStorageVol* _tmp14_;
		BoxesLibvirtMachine* _tmp15_;
		GVirStorageVol* _tmp16_;
		GVirStorageVol* _tmp17_;
		GVirStoragePool* pool = NULL;
		BoxesLibvirtMachine* _tmp18_;
		GVirConnection* _tmp19_;
		GVirConnection* _tmp20_;
		GVirStoragePool* _tmp21_;
		GVirStorageVol* _tmp22_ = NULL;
		GVirStoragePool* _tmp23_;
		GVirConfigStorageVol* _tmp24_;
		GVirStorageVol* _tmp25_;
		BoxesLibvirtMachine* _tmp26_;
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = self->priv->machine;
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = boxes_libvirt_machine_get_storage_volume (_tmp10_);
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = _tmp11_;
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = gvir_storage_vol_get_config (_tmp12_, (guint) GVIR_DOMAIN_XML_NONE, &_inner_error_);
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp13_;
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 630 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6783 "libvirt-machine-properties.c"
		}
#line 631 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = config;
#line 631 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_storage_vol_set_capacity (_tmp14_, size);
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = self->priv->machine;
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = boxes_libvirt_machine_get_storage_volume (_tmp15_);
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _tmp16_;
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_vol_delete (_tmp17_, (guint) 0, &_inner_error_);
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6807 "libvirt-machine-properties.c"
		}
#line 634 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = self->priv->machine;
#line 634 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = boxes_libvirt_machine_get_connection (_tmp18_);
#line 634 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_;
#line 634 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = boxes_get_storage_pool (_tmp20_);
#line 634 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		pool = _tmp21_;
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = pool;
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = config;
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = gvir_storage_pool_create_volume (_tmp23_, _tmp24_, &_inner_error_);
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _tmp25_;
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6839 "libvirt-machine-properties.c"
		}
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = self->priv->machine;
#line 635 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_set_storage_volume (_tmp26_, _tmp22_);
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp22_);
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (pool);
#line 628 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 6851 "libvirt-machine-properties.c"
	} else {
		BoxesLibvirtMachine* _tmp27_;
		GVirStorageVol* _tmp28_;
		GVirStorageVol* _tmp29_;
#line 637 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = self->priv->machine;
#line 637 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = boxes_libvirt_machine_get_storage_volume (_tmp27_);
#line 637 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp28_;
#line 637 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_vol_resize (_tmp29_, size, GVIR_STORAGE_VOL_RESIZE_NONE, &_inner_error_);
#line 637 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 637 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 637 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 637 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6872 "libvirt-machine-properties.c"
		}
	}
#line 626 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 6877 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_get_snapshots_data_free (gpointer _data)
{
	BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__g_list_free__g_object_unref0_0 (_data_->result);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesGetSnapshotsData, _data_);
#line 6894 "libvirt-machine-properties.c"
}


void
boxes_libvirt_machine_properties_get_snapshots (BoxesLibvirtMachineProperties* self,
                                                GCancellable* cancellable,
                                                GAsyncReadyCallback _callback_,
                                                gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	GCancellable* _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesGetSnapshotsData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_get_snapshots_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (cancellable);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->cancellable = _tmp1_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_snapshots_co (_data_);
#line 6925 "libvirt-machine-properties.c"
}


GList*
boxes_libvirt_machine_properties_get_snapshots_finish (BoxesLibvirtMachineProperties* self,
                                                       GAsyncResult* _res_,
                                                       GError** error)
{
	GList* result;
	BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (NULL == _data_) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 6942 "libvirt-machine-properties.c"
	}
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _data_->result;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->result = NULL;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6950 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_get_snapshots_ready (GObject* source_object,
                                                      GAsyncResult* _res_,
                                                      gpointer _user_data_)
{
	BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_;
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_snapshots_co (_data_);
#line 6968 "libvirt-machine-properties.c"
}


static gboolean
boxes_libvirt_machine_properties_get_snapshots_co (BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_)
{
#line 641 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 641 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 6979 "libvirt-machine-properties.c"
		goto _state_0;
#line 641 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 6983 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 641 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 6988 "libvirt-machine-properties.c"
	}
	_state_0:
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->self->priv->machine;
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_domain (_data_->_tmp0_);
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_fetch_snapshots_async (_data_->_tmp2_, (guint) GVIR_DOMAIN_SNAPSHOT_LIST_ALL, _data_->cancellable, boxes_libvirt_machine_properties_get_snapshots_ready, _data_);
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 7003 "libvirt-machine-properties.c"
	_state_1:
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_fetch_snapshots_finish (_data_->_tmp2_, _data_->_res_, &_data_->_inner_error_);
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 642 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 7015 "libvirt-machine-properties.c"
	}
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->self->priv->machine;
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = boxes_libvirt_machine_get_domain (_data_->_tmp3_);
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = gvir_domain_get_snapshots (_data_->_tmp5_);
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->result = _data_->_tmp6_;
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ != 0) {
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 7035 "libvirt-machine-properties.c"
		}
	}
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 644 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 7042 "libvirt-machine-properties.c"
}


static Block53Data*
block53_data_ref (Block53Data* _data53_)
{
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data53_->_ref_count_);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data53_;
#line 7053 "libvirt-machine-properties.c"
}


static void
block53_data_unref (void * _userdata_)
{
	Block53Data* _data53_;
	_data53_ = (Block53Data*) _userdata_;
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data53_->_ref_count_)) {
#line 7064 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data53_->self;
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data53_->name);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data53_->toggle);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data53_->box);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block53Data, _data53_);
#line 7078 "libvirt-machine-properties.c"
	}
}


static void
__lambda144_ (Block53Data* _data53_,
              GParamSpec* tooltip)
{
	BoxesLibvirtMachineProperties* self;
	gchar* _tmp0_ = NULL;
	GtkSwitch* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GtkBox* _tmp8_;
#line 668 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data53_->self;
#line 668 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (tooltip != NULL);
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data53_->toggle;
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = gtk_switch_get_active (_tmp1_);
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 7105 "libvirt-machine-properties.c"
		const gchar* _tmp4_;
		gchar* _tmp5_;
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _data53_->name;
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = g_strdup_printf (_ ("“%s” will not be paused automatically."), _tmp4_);
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp0_);
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp5_;
#line 7116 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp6_;
		gchar* _tmp7_;
#line 670 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _data53_->name;
#line 670 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = g_strdup_printf (_ ("“%s” will be paused automatically to save resources."), _tmp6_);
#line 670 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp0_);
#line 670 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp7_;
#line 7128 "libvirt-machine-properties.c"
	}
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = _data53_->box;
#line 669 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp8_, _tmp0_);
#line 668 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp0_);
#line 7136 "libvirt-machine-properties.c"
}


static void
___lambda144__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
#line 668 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda144_ (self, pspec);
#line 7147 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_add_run_in_bg_property (BoxesLibvirtMachineProperties* self,
                                                         GList* * list)
{
	Block53Data* _data53_;
	BoxesLibvirtMachine* _tmp0_;
	GVirConnection* _tmp1_;
	GVirConnection* _tmp2_;
	BoxesApp* _tmp3_;
	GVirConnection* _tmp4_;
	GVirConnection* _tmp5_;
	GVirConnection* _tmp6_;
	gboolean _tmp7_;
	GtkBox* _tmp8_;
	GtkBox* _tmp9_;
	GtkBox* _tmp10_;
	GtkLabel* label = NULL;
	GtkLabel* _tmp11_;
	GtkLabel* _tmp12_;
	GtkStyleContext* _tmp13_;
	GtkBox* _tmp14_;
	GtkLabel* _tmp15_;
	GtkSwitch* _tmp16_;
	BoxesLibvirtMachine* _tmp17_;
	GtkSwitch* _tmp18_;
	GtkSwitch* _tmp19_;
	GtkBox* _tmp20_;
	GtkSwitch* _tmp21_;
	GtkLabel* _tmp22_;
	GtkSwitch* _tmp23_;
	BoxesLibvirtMachine* _tmp24_;
	const gchar* _tmp25_;
	const gchar* _tmp26_;
	gchar* _tmp27_;
	gchar* _tmp28_ = NULL;
	GtkSwitch* _tmp29_;
	gboolean _tmp30_;
	gboolean _tmp31_;
	GtkBox* _tmp36_;
	GtkSwitch* _tmp37_;
	GtkBox* _tmp38_;
	BoxesProperty* _tmp39_;
	BoxesProperty* _tmp40_;
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_ = g_slice_new0 (Block53Data);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->_ref_count_ = 1;
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->self = g_object_ref (self);
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_connection (_tmp0_);
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = boxes_app_app;
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_app_get_default_connection (_tmp3_);
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp2_ != _tmp6_;
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_tmp6_);
#line 648 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_) {
#line 649 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		block53_data_unref (_data53_);
#line 649 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data53_ = NULL;
#line 649 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 7228 "libvirt-machine-properties.c"
	}
#line 651 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 20);
#line 651 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp8_);
#line 651 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->box = _tmp8_;
#line 652 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = _data53_->box;
#line 652 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp9_, GTK_ALIGN_END);
#line 653 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _data53_->box;
#line 653 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_has_tooltip ((GtkWidget*) _tmp10_, TRUE);
#line 655 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = (GtkLabel*) gtk_label_new_with_mnemonic (_ ("_Run in background"));
#line 655 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp11_);
#line 655 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp11_;
#line 656 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = label;
#line 656 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = gtk_widget_get_style_context ((GtkWidget*) _tmp12_);
#line 656 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_style_context_add_class (_tmp13_, "dim-label");
#line 657 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = _data53_->box;
#line 657 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = label;
#line 657 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp14_, (GtkWidget*) _tmp15_);
#line 658 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = (GtkSwitch*) gtk_switch_new ();
#line 658 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp16_);
#line 658 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->toggle = _tmp16_;
#line 659 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp17_ = self->priv->machine;
#line 659 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp18_ = _data53_->toggle;
#line 659 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp17_, "run-in-bg", (GObject*) _tmp18_, "active", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 661 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp19_ = _data53_->toggle;
#line 661 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp19_, GTK_ALIGN_START);
#line 662 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp20_ = _data53_->box;
#line 662 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp21_ = _data53_->toggle;
#line 662 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp20_, (GtkWidget*) _tmp21_);
#line 663 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp22_ = label;
#line 663 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp23_ = _data53_->toggle;
#line 663 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_label_set_mnemonic_widget (_tmp22_, (GtkWidget*) _tmp23_);
#line 665 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp24_ = self->priv->machine;
#line 665 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp25_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp24_);
#line 665 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp26_ = _tmp25_;
#line 665 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp27_ = g_strdup (_tmp26_);
#line 665 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->name = _tmp27_;
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp29_ = _data53_->toggle;
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp30_ = gtk_switch_get_active (_tmp29_);
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp31_ = _tmp30_;
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp31_) {
#line 7308 "libvirt-machine-properties.c"
		const gchar* _tmp32_;
		gchar* _tmp33_;
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = _data53_->name;
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = g_strdup_printf (_ ("“%s” will not be paused automatically."), _tmp32_);
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp28_);
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = _tmp33_;
#line 7319 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp34_;
		gchar* _tmp35_;
#line 667 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = _data53_->name;
#line 667 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = g_strdup_printf (_ ("“%s” will be paused automatically to save resources."), _tmp34_);
#line 667 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp28_);
#line 667 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = _tmp35_;
#line 7331 "libvirt-machine-properties.c"
	}
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp36_ = _data53_->box;
#line 666 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp36_, _tmp28_);
#line 668 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp37_ = _data53_->toggle;
#line 668 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_data ((GObject*) _tmp37_, "notify::active", (GCallback) ___lambda144__g_object_notify, block53_data_ref (_data53_), (GClosureNotify) block53_data_unref, 0);
#line 673 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp38_ = _data53_->box;
#line 673 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp39_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp38_, NULL);
#line 673 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp40_ = _tmp39_;
#line 673 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_tmp40_);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp28_);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block53_data_unref (_data53_);
#line 647 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_ = NULL;
#line 7357 "libvirt-machine-properties.c"
}


static BoxesSnapshotsProperty*
boxes_libvirt_machine_properties_add_snapshots_property (BoxesLibvirtMachineProperties* self,
                                                         GList* * list)
{
	BoxesSnapshotsProperty* result = NULL;
	BoxesSnapshotsProperty* property = NULL;
	BoxesLibvirtMachine* _tmp0_;
	BoxesSnapshotsProperty* _tmp1_;
	BoxesProperty* _tmp2_;
#line 676 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 677 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 677 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_snapshots_property_new (_tmp0_);
#line 677 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	property = _tmp1_;
#line 678 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 ((BoxesProperty*) property);
#line 678 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	*list = g_list_append (*list, _tmp2_);
#line 680 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = property;
#line 680 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 7386 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_class_init (BoxesLibvirtMachinePropertiesClass * klass)
{
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_parent_class = g_type_class_peek_parent (klass);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_type_class_add_private (klass, sizeof (BoxesLibvirtMachinePropertiesPrivate));
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_libvirt_machine_properties_finalize;
#line 7399 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_boxes_iproperties_provider_interface_init (BoxesIPropertiesProviderIface * iface)
{
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_boxes_iproperties_provider_parent_iface = g_type_interface_peek_parent (iface);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	iface->get_properties = (GList* (*) (BoxesIPropertiesProvider *, BoxesPropertiesPage)) boxes_libvirt_machine_properties_real_get_properties;
#line 7410 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_instance_init (BoxesLibvirtMachineProperties * self)
{
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self->priv = BOXES_LIBVIRT_MACHINE_PROPERTIES_GET_PRIVATE (self);
#line 7419 "libvirt-machine-properties.c"
}


static void
boxes_libvirt_machine_properties_finalize (GObject * obj)
{
	BoxesLibvirtMachineProperties * self;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachineProperties);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	G_OBJECT_CLASS (boxes_libvirt_machine_properties_parent_class)->finalize (obj);
#line 7431 "libvirt-machine-properties.c"
}


GType
boxes_libvirt_machine_properties_get_type (void)
{
	static volatile gsize boxes_libvirt_machine_properties_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_libvirt_machine_properties_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesLibvirtMachinePropertiesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_libvirt_machine_properties_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesLibvirtMachineProperties), 0, (GInstanceInitFunc) boxes_libvirt_machine_properties_instance_init, NULL };
		static const GInterfaceInfo boxes_iproperties_provider_info = { (GInterfaceInitFunc) boxes_libvirt_machine_properties_boxes_iproperties_provider_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_libvirt_machine_properties_type_id;
		boxes_libvirt_machine_properties_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesLibvirtMachineProperties", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_libvirt_machine_properties_type_id, BOXES_TYPE_IPROPERTIES_PROVIDER, &boxes_iproperties_provider_info);
		g_once_init_leave (&boxes_libvirt_machine_properties_type_id__volatile, boxes_libvirt_machine_properties_type_id);
	}
	return boxes_libvirt_machine_properties_type_id__volatile;
}



