/* properties.c generated by valac 0.26.0.50-d9a75, the Vala compiler
 * generated from properties.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <libgd/gd.h>
#include <gio/gio.h>


#define BOXES_TYPE_PROPERTIES_PAGE (boxes_properties_page_get_type ())

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

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIIface BoxesUIIface;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())

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

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;
typedef struct _BoxesPropertiesPrivate BoxesPropertiesPrivate;

#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;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))

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

#define BOXES_PROPERTIES_TYPE_PAGE_WIDGET (boxes_properties_page_widget_get_type ())
#define BOXES_PROPERTIES_PAGE_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_PROPERTIES_TYPE_PAGE_WIDGET, BoxesPropertiesPageWidget))
#define BOXES_PROPERTIES_PAGE_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_PROPERTIES_TYPE_PAGE_WIDGET, BoxesPropertiesPageWidgetClass))
#define BOXES_PROPERTIES_IS_PAGE_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_PROPERTIES_TYPE_PAGE_WIDGET))
#define BOXES_PROPERTIES_IS_PAGE_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_PROPERTIES_TYPE_PAGE_WIDGET))
#define BOXES_PROPERTIES_PAGE_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_PROPERTIES_TYPE_PAGE_WIDGET, BoxesPropertiesPageWidgetClass))

typedef struct _BoxesPropertiesPageWidget BoxesPropertiesPageWidget;
typedef struct _BoxesPropertiesPageWidgetClass BoxesPropertiesPageWidgetClass;
typedef struct _Block62Data Block62Data;
#define _g_free0(var) (var = (g_free (var), NULL))

#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;
typedef struct _Block63Data Block63Data;

#define BOXES_MACHINE_TYPE_MACHINE_STATE (boxes_machine_machine_state_get_type ())
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_SEARCHBAR (boxes_searchbar_get_type ())
#define BOXES_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbar))
#define BOXES_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))
#define BOXES_IS_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SEARCHBAR))
#define BOXES_IS_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SEARCHBAR))
#define BOXES_SEARCHBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

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

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

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

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

#define BOXES_TYPE_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_COLLECTION_VIEW (boxes_collection_view_get_type ())
#define BOXES_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionView))
#define BOXES_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))
#define BOXES_IS_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_IS_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_COLLECTION_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;
typedef struct _BoxesPropertiesPageWidgetPrivate BoxesPropertiesPageWidgetPrivate;

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

#define TYPE_PROPERTY_CREATION_FLAG (property_creation_flag_get_type ())

typedef enum  {
	BOXES_PROPERTIES_PAGE_GENERAL,
	BOXES_PROPERTIES_PAGE_SYSTEM,
	BOXES_PROPERTIES_PAGE_DEVICES,
	BOXES_PROPERTIES_PAGE_SNAPSHOTS,
	BOXES_PROPERTIES_PAGE_LAST
} BoxesPropertiesPage;

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
} 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 _BoxesProperties {
	GtkNotebook parent_instance;
	BoxesPropertiesPrivate * priv;
};

struct _BoxesPropertiesClass {
	GtkNotebookClass parent_class;
};

struct _BoxesPropertiesPrivate {
	BoxesUIState _previous_ui_state;
	BoxesUIState _ui_state;
	BoxesAppWindow* window;
	gulong stats_id;
	gboolean restore_fullscreen;
};

struct _Block62Data {
	int _ref_count_;
	BoxesProperties* self;
	BoxesPropertiesPageWidget* page;
};

struct _Block63Data {
	int _ref_count_;
	BoxesProperties* self;
	BoxesMachine* machine;
};

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 _BoxesAppWindow {
	GtkApplicationWindow parent_instance;
	BoxesAppWindowPrivate * priv;
	BoxesWizardWindow* wizard_window;
	BoxesPropertiesWindow* props_window;
	BoxesSearchbar* searchbar;
	BoxesTopbar* topbar;
	BoxesNotificationbar* notificationbar;
	BoxesSelectionbar* selectionbar;
	BoxesDisplayPage* display_page;
	BoxesEmptyBoxes* empty_boxes;
	GtkStack* below_bin;
	BoxesCollectionView* view;
	GSettings* settings;
};

struct _BoxesAppWindowClass {
	GtkApplicationWindowClass parent_class;
};

typedef void (*BoxesNotificationOKFunc) (void* user_data);
typedef void (*BoxesNotificationCancelFunc) (void* user_data);
struct _BoxesPropertiesPageWidget {
	GtkBox parent_instance;
	BoxesPropertiesPageWidgetPrivate * priv;
	gboolean empty;
};

struct _BoxesPropertiesPageWidgetClass {
	GtkBoxClass parent_class;
};

struct _BoxesPropertiesPageWidgetPrivate {
	GtkGrid* grid;
	GList* properties;
};

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


static gpointer boxes_properties_parent_class = NULL;
static gpointer boxes_properties_page_widget_parent_class = NULL;
static BoxesUIIface* boxes_properties_boxes_ui_parent_iface = NULL;

GType boxes_properties_page_get_type (void) G_GNUC_CONST;
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_app_window_get_type (void) G_GNUC_CONST;
#define BOXES_PROPERTIES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_PROPERTIES, BoxesPropertiesPrivate))
enum  {
	BOXES_PROPERTIES_DUMMY_PROPERTY,
	BOXES_PROPERTIES_PREVIOUS_UI_STATE,
	BOXES_PROPERTIES_UI_STATE
};
static void boxes_properties_populate (BoxesProperties* self);
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
BoxesCollectionItem* boxes_app_window_get_current_item (BoxesAppWindow* self);
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
static GType boxes_properties_page_widget_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static Block62Data* block62_data_ref (Block62Data* _data62_);
static void block62_data_unref (void * _userdata_);
static BoxesPropertiesPageWidget* boxes_properties_page_widget_new (BoxesPropertiesPage page, BoxesMachine* machine);
static BoxesPropertiesPageWidget* boxes_properties_page_widget_construct (GType object_type, BoxesPropertiesPage page, BoxesMachine* machine);
static void _____lambda51_ (Block62Data* _data62_);
static void ______lambda51__boxes_properties_page_widget_refresh_properties (BoxesPropertiesPageWidget* _sender, gpointer self);
BoxesUIState boxes_ui_get_previous_ui_state (BoxesUI* self);
GType boxes_properties_window_get_type (void) G_GNUC_CONST;
void boxes_properties_setup_ui (BoxesProperties* self, BoxesAppWindow* window, BoxesPropertiesWindow* dialog);
static void boxes_properties_ui_state_changed (BoxesProperties* self);
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
gboolean boxes_app_window_get_fullscreened (BoxesAppWindow* self);
void boxes_app_window_set_fullscreened (BoxesAppWindow* self, gboolean value);
static Block63Data* block63_data_ref (Block63Data* _data63_);
static void block63_data_unref (void * _userdata_);
static gboolean boxes_properties_page_widget_flush_changes (BoxesPropertiesPageWidget* self);
gboolean boxes_machine_is_on (BoxesMachine* self);
GType boxes_machine_machine_state_get_type (void) G_GNUC_CONST;
BoxesMachineMachineState boxes_machine_get_state (BoxesMachine* self);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
GType boxes_wizard_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_notificationbar_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_collection_view_get_type (void) G_GNUC_CONST;
GdNotification* 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, BoxesNotificationCancelFunc ignore_func, void* ignore_func_target, GDestroyNotify ignore_func_target_destroy_notify, gint timeout);
static void _____lambda52_ (Block63Data* _data63_);
void boxes_machine_restart (BoxesMachine* self);
static void ______lambda52__boxes_notification_ok_func (gpointer self);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
BoxesProperties* boxes_properties_new (void);
BoxesProperties* boxes_properties_construct (GType object_type);
static GObject * boxes_properties_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _boxes_properties_ui_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
GType boxes_property_get_type (void) G_GNUC_CONST;
#define BOXES_PROPERTIES_PAGE_WIDGET_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_PROPERTIES_TYPE_PAGE_WIDGET, BoxesPropertiesPageWidgetPrivate))
enum  {
	BOXES_PROPERTIES_PAGE_WIDGET_DUMMY_PROPERTY
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
GType property_creation_flag_get_type (void) G_GNUC_CONST;
GList* boxes_machine_get_properties (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag* flags);
const gchar* boxes_property_get_description (BoxesProperty* self);
GtkWidget* boxes_property_get_widget (BoxesProperty* self);
GtkWidget* boxes_property_get_extra_widget (BoxesProperty* self);
static void _____lambda50_ (BoxesPropertiesPageWidget* self);
static void ______lambda50__boxes_property_refresh_properties (BoxesProperty* _sender, gpointer self);
void boxes_property_flush (BoxesProperty* self);
gboolean boxes_property_get_reboot_required (BoxesProperty* self);
static void boxes_properties_page_widget_finalize (GObject* obj);
static void boxes_properties_finalize (GObject* obj);
static void _vala_boxes_properties_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
void boxes_ui_set_previous_ui_state (BoxesUI* self, BoxesUIState value);
void boxes_ui_set_ui_state (BoxesUI* self, BoxesUIState value);
static void _vala_boxes_properties_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);

static const gchar* BOXES_PROPERTIES_page_titles[4] = {"General", "System", "Devices", "Snapshots"};

GType boxes_properties_page_get_type (void) {
	static volatile gsize boxes_properties_page_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_properties_page_type_id__volatile)) {
		static const GEnumValue values[] = {{BOXES_PROPERTIES_PAGE_GENERAL, "BOXES_PROPERTIES_PAGE_GENERAL", "general"}, {BOXES_PROPERTIES_PAGE_SYSTEM, "BOXES_PROPERTIES_PAGE_SYSTEM", "system"}, {BOXES_PROPERTIES_PAGE_DEVICES, "BOXES_PROPERTIES_PAGE_DEVICES", "devices"}, {BOXES_PROPERTIES_PAGE_SNAPSHOTS, "BOXES_PROPERTIES_PAGE_SNAPSHOTS", "snapshots"}, {BOXES_PROPERTIES_PAGE_LAST, "BOXES_PROPERTIES_PAGE_LAST", "last"}, {0, NULL, NULL}};
		GType boxes_properties_page_type_id;
		boxes_properties_page_type_id = g_enum_register_static ("BoxesPropertiesPage", values);
		g_once_init_leave (&boxes_properties_page_type_id__volatile, boxes_properties_page_type_id);
	}
	return boxes_properties_page_type_id__volatile;
}


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


static Block62Data* block62_data_ref (Block62Data* _data62_) {
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_atomic_int_inc (&_data62_->_ref_count_);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return _data62_;
#line 416 "properties.c"
}


static void block62_data_unref (void * _userdata_) {
	Block62Data* _data62_;
	_data62_ = (Block62Data*) _userdata_;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	if (g_atomic_int_dec_and_test (&_data62_->_ref_count_)) {
#line 425 "properties.c"
		BoxesProperties* self;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		self = _data62_->self;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_g_object_unref0 (_data62_->page);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_g_object_unref0 (self);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		g_slice_free (Block62Data, _data62_);
#line 435 "properties.c"
	}
}


static void _____lambda51_ (Block62Data* _data62_) {
	BoxesProperties* self;
	BoxesPropertiesPageWidget* current_page = NULL;
	BoxesPropertiesPageWidget* _tmp0_ = NULL;
	BoxesPropertiesPageWidget* _tmp1_ = NULL;
	BoxesPropertiesPageWidget* _tmp2_ = NULL;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = _data62_->self;
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = _data62_->page;
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	current_page = _tmp1_;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	boxes_properties_populate (self);
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp2_ = _g_object_ref0 (current_page);
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (_data62_->page);
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_data62_->page = _tmp2_;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (current_page);
#line 464 "properties.c"
}


static void ______lambda51__boxes_properties_page_widget_refresh_properties (BoxesPropertiesPageWidget* _sender, gpointer self) {
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_____lambda51_ (self);
#line 471 "properties.c"
}


static void boxes_properties_populate (BoxesProperties* self) {
	GList* _tmp0_ = NULL;
	BoxesMachine* machine = NULL;
	BoxesAppWindow* _tmp2_ = NULL;
	BoxesCollectionItem* _tmp3_ = NULL;
	BoxesCollectionItem* _tmp4_ = NULL;
	BoxesMachine* _tmp5_ = NULL;
	BoxesLibvirtMachine* libvirt_machine = NULL;
	BoxesAppWindow* _tmp6_ = NULL;
	BoxesCollectionItem* _tmp7_ = NULL;
	BoxesCollectionItem* _tmp8_ = NULL;
	BoxesLibvirtMachine* _tmp9_ = NULL;
	BoxesMachine* _tmp10_ = NULL;
	BoxesLibvirtMachine* _tmp31_ = NULL;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_return_if_fail (self != NULL);
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = gtk_container_get_children ((GtkContainer*) self);
#line 493 "properties.c"
	{
		GList* page_collection = NULL;
		GList* page_it = NULL;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		page_collection = _tmp0_;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		for (page_it = page_collection; page_it != NULL; page_it = page_it->next) {
#line 501 "properties.c"
			GtkWidget* page = NULL;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			page = (GtkWidget*) page_it->data;
#line 505 "properties.c"
			{
				GtkWidget* _tmp1_ = NULL;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp1_ = page;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				gtk_container_remove ((GtkContainer*) self, _tmp1_);
#line 512 "properties.c"
			}
		}
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_g_list_free0 (page_collection);
#line 517 "properties.c"
	}
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp2_ = self->priv->window;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp3_ = boxes_app_window_get_current_item (_tmp2_);
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp4_ = _tmp3_;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp4_) : NULL);
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	machine = _tmp5_;
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp6_ = self->priv->window;
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp7_ = boxes_app_window_get_current_item (_tmp6_);
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp8_ = _tmp7_;
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, BOXES_TYPE_LIBVIRT_MACHINE) ? ((BoxesLibvirtMachine*) _tmp8_) : NULL);
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	libvirt_machine = _tmp9_;
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp10_ = machine;
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	if (_tmp10_ == NULL) {
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_g_object_unref0 (libvirt_machine);
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_g_object_unref0 (machine);
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		return;
#line 549 "properties.c"
	}
	{
		gint i = 0;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		i = 0;
#line 555 "properties.c"
		{
			gboolean _tmp11_ = FALSE;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp11_ = TRUE;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			while (TRUE) {
#line 562 "properties.c"
				Block62Data* _data62_;
				gint _tmp13_ = 0;
				gint _tmp14_ = 0;
				BoxesMachine* _tmp15_ = NULL;
				BoxesPropertiesPageWidget* _tmp16_ = NULL;
				GtkLabel* label = NULL;
				gint _tmp17_ = 0;
				const gchar* _tmp18_ = NULL;
				GtkLabel* _tmp19_ = NULL;
				BoxesPropertiesPageWidget* _tmp20_ = NULL;
				GtkLabel* _tmp21_ = NULL;
				gint _tmp22_ = 0;
				gint _tmp23_ = 0;
				gchar* _tmp24_ = NULL;
				gchar* _tmp25_ = NULL;
				gchar* _tmp26_ = NULL;
				gchar* _tmp27_ = NULL;
				BoxesPropertiesPageWidget* _tmp28_ = NULL;
				BoxesPropertiesPageWidget* _tmp29_ = NULL;
				BoxesPropertiesPageWidget* _tmp30_ = NULL;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_data62_ = g_slice_new0 (Block62Data);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_data62_->_ref_count_ = 1;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_data62_->self = g_object_ref (self);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				if (!_tmp11_) {
#line 591 "properties.c"
					gint _tmp12_ = 0;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp12_ = i;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					i = _tmp12_ + 1;
#line 597 "properties.c"
				}
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp11_ = FALSE;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp13_ = i;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				if (!(_tmp13_ < ((gint) BOXES_PROPERTIES_PAGE_LAST))) {
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					block62_data_unref (_data62_);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_data62_ = NULL;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					break;
#line 611 "properties.c"
				}
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp14_ = i;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp15_ = machine;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp16_ = boxes_properties_page_widget_new (_tmp14_, _tmp15_);
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				g_object_ref_sink (_tmp16_);
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_data62_->page = _tmp16_;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp17_ = i;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp18_ = BOXES_PROPERTIES_page_titles[_tmp17_];
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp19_ = (GtkLabel*) gtk_label_new (_tmp18_);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				g_object_ref_sink (_tmp19_);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				label = _tmp19_;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp20_ = _data62_->page;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp21_ = label;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp22_ = i;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				gtk_notebook_insert_page ((GtkNotebook*) self, (GtkWidget*) _tmp20_, (GtkWidget*) _tmp21_, _tmp22_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp23_ = i;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp24_ = g_strdup_printf ("%i", _tmp23_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp25_ = _tmp24_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp26_ = g_strconcat ("boxes-property-", _tmp25_, NULL);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp27_ = _tmp26_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp28_ = _data62_->page;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp29_ = _g_object_ref0 (_tmp28_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				g_object_set_data_full ((GObject*) self, _tmp27_, _tmp29_, g_object_unref);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_g_free0 (_tmp27_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_g_free0 (_tmp25_);
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp30_ = _data62_->page;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				g_signal_connect_data (_tmp30_, "refresh-properties", (GCallback) ______lambda51__boxes_properties_page_widget_refresh_properties, block62_data_ref (_data62_), (GClosureNotify) block62_data_unref, 0);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_g_object_unref0 (label);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				block62_data_unref (_data62_);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_data62_ = NULL;
#line 671 "properties.c"
			}
		}
	}
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp31_ = libvirt_machine;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	if (_tmp31_ != NULL) {
#line 679 "properties.c"
		BoxesPropertiesPage _tmp32_ = 0;
		BoxesUIState _tmp33_ = 0;
		BoxesUIState _tmp34_ = 0;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp33_ = boxes_ui_get_previous_ui_state ((BoxesUI*) self);
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp34_ = _tmp33_;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		if (_tmp34_ == BOXES_UI_STATE_WIZARD) {
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp32_ = BOXES_PROPERTIES_PAGE_SYSTEM;
#line 691 "properties.c"
		} else {
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp32_ = BOXES_PROPERTIES_PAGE_GENERAL;
#line 695 "properties.c"
		}
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		g_object_set ((GtkNotebook*) self, "page", (gint) _tmp32_, NULL);
#line 699 "properties.c"
	} else {
#line 147 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		g_object_set ((GtkNotebook*) self, "page", (gint) BOXES_PROPERTIES_PAGE_GENERAL, NULL);
#line 703 "properties.c"
	}
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (libvirt_machine);
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (machine);
#line 709 "properties.c"
}


void boxes_properties_setup_ui (BoxesProperties* self, BoxesAppWindow* window, BoxesPropertiesWindow* dialog) {
	BoxesAppWindow* _tmp0_ = NULL;
	BoxesAppWindow* _tmp1_ = NULL;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_return_if_fail (self != NULL);
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_return_if_fail (window != NULL);
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_return_if_fail (dialog != NULL);
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = window;
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (self->priv->window);
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self->priv->window = _tmp1_;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_widget_show_all ((GtkWidget*) self);
#line 732 "properties.c"
}


static Block63Data* block63_data_ref (Block63Data* _data63_) {
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_atomic_int_inc (&_data63_->_ref_count_);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return _data63_;
#line 741 "properties.c"
}


static void block63_data_unref (void * _userdata_) {
	Block63Data* _data63_;
	_data63_ = (Block63Data*) _userdata_;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	if (g_atomic_int_dec_and_test (&_data63_->_ref_count_)) {
#line 750 "properties.c"
		BoxesProperties* self;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		self = _data63_->self;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_g_object_unref0 (_data63_->machine);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_g_object_unref0 (self);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		g_slice_free (Block63Data, _data63_);
#line 760 "properties.c"
	}
}


static void _____lambda52_ (Block63Data* _data63_) {
	BoxesProperties* self;
	BoxesMachine* _tmp0_ = NULL;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = _data63_->self;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = _data63_->machine;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	boxes_machine_restart (_tmp0_);
#line 774 "properties.c"
}


static void ______lambda52__boxes_notification_ok_func (gpointer self) {
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_____lambda52_ (self);
#line 781 "properties.c"
}


static void boxes_properties_ui_state_changed (BoxesProperties* self) {
	gulong _tmp0_ = 0UL;
	BoxesUIState _tmp5_ = 0;
	BoxesUIState _tmp6_ = 0;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_return_if_fail (self != NULL);
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = self->priv->stats_id;
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	if (_tmp0_ != ((gulong) 0)) {
#line 795 "properties.c"
		BoxesAppWindow* _tmp1_ = NULL;
		BoxesCollectionItem* _tmp2_ = NULL;
		BoxesCollectionItem* _tmp3_ = NULL;
		gulong _tmp4_ = 0UL;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp1_ = self->priv->window;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp2_ = boxes_app_window_get_current_item (_tmp1_);
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp3_ = _tmp2_;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp4_ = self->priv->stats_id;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		self->priv->stats_id = (gulong) 0;
#line 812 "properties.c"
	}
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp5_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp6_ = _tmp5_;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	if (_tmp6_ == BOXES_UI_STATE_PROPERTIES) {
#line 820 "properties.c"
		gboolean _tmp7_ = FALSE;
		BoxesUIState _tmp8_ = 0;
		BoxesUIState _tmp9_ = 0;
		BoxesAppWindow* _tmp13_ = NULL;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp8_ = boxes_ui_get_previous_ui_state ((BoxesUI*) self);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp9_ = _tmp8_;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		if (_tmp9_ == BOXES_UI_STATE_DISPLAY) {
#line 831 "properties.c"
			BoxesAppWindow* _tmp10_ = NULL;
			gboolean _tmp11_ = FALSE;
			gboolean _tmp12_ = FALSE;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp10_ = self->priv->window;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp11_ = boxes_app_window_get_fullscreened (_tmp10_);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp12_ = _tmp11_;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp7_ = _tmp12_;
#line 843 "properties.c"
		} else {
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp7_ = FALSE;
#line 847 "properties.c"
		}
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		self->priv->restore_fullscreen = _tmp7_;
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp13_ = self->priv->window;
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		boxes_app_window_set_fullscreened (_tmp13_, FALSE);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		boxes_properties_populate (self);
#line 857 "properties.c"
	} else {
		BoxesUIState _tmp14_ = 0;
		BoxesUIState _tmp15_ = 0;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp14_ = boxes_ui_get_previous_ui_state ((BoxesUI*) self);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp15_ = _tmp14_;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		if (_tmp15_ == BOXES_UI_STATE_PROPERTIES) {
#line 867 "properties.c"
			Block63Data* _data63_;
			gboolean reboot_required = FALSE;
			BoxesAppWindow* _tmp30_ = NULL;
			BoxesCollectionItem* _tmp31_ = NULL;
			BoxesCollectionItem* _tmp32_ = NULL;
			BoxesMachine* _tmp33_ = NULL;
			gboolean _tmp34_ = FALSE;
			gboolean _tmp35_ = FALSE;
			gboolean _tmp53_ = FALSE;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_data63_ = g_slice_new0 (Block63Data);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_data63_->_ref_count_ = 1;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_data63_->self = g_object_ref (self);
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			reboot_required = FALSE;
#line 885 "properties.c"
			{
				gint i = 0;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				i = 0;
#line 890 "properties.c"
				{
					gboolean _tmp16_ = FALSE;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp16_ = TRUE;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					while (TRUE) {
#line 897 "properties.c"
						gint _tmp18_ = 0;
						BoxesPropertiesPageWidget* page = NULL;
						gint _tmp19_ = 0;
						gchar* _tmp20_ = NULL;
						gchar* _tmp21_ = NULL;
						gchar* _tmp22_ = NULL;
						gchar* _tmp23_ = NULL;
						gconstpointer _tmp24_ = NULL;
						BoxesPropertiesPageWidget* _tmp25_ = NULL;
						BoxesPropertiesPageWidget* _tmp26_ = NULL;
						gboolean _tmp27_ = FALSE;
						BoxesPropertiesPageWidget* _tmp28_ = NULL;
						gboolean _tmp29_ = FALSE;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						if (!_tmp16_) {
#line 913 "properties.c"
							gint _tmp17_ = 0;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
							_tmp17_ = i;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
							i = _tmp17_ + 1;
#line 919 "properties.c"
						}
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp16_ = FALSE;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp18_ = i;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						if (!(_tmp18_ < ((gint) BOXES_PROPERTIES_PAGE_LAST))) {
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
							break;
#line 929 "properties.c"
						}
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp19_ = i;
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp20_ = g_strdup_printf ("%i", _tmp19_);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp21_ = _tmp20_;
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp22_ = g_strconcat ("boxes-property-", _tmp21_, NULL);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp23_ = _tmp22_;
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp24_ = g_object_get_data ((GObject*) self, _tmp23_);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp25_ = _g_object_ref0 ((BoxesPropertiesPageWidget*) _tmp24_);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp26_ = _tmp25_;
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_g_free0 (_tmp23_);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_g_free0 (_tmp21_);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						page = _tmp26_;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp27_ = reboot_required;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp28_ = page;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp29_ = boxes_properties_page_widget_flush_changes (_tmp28_);
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						reboot_required = _tmp27_ | _tmp29_;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_g_object_unref0 (page);
#line 963 "properties.c"
					}
				}
			}
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp30_ = self->priv->window;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp31_ = boxes_app_window_get_current_item (_tmp30_);
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp32_ = _tmp31_;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp33_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp32_) : NULL);
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_data63_->machine = _tmp33_;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp35_ = reboot_required;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			if (_tmp35_) {
#line 981 "properties.c"
				gboolean _tmp36_ = FALSE;
				BoxesMachine* _tmp37_ = NULL;
				gboolean _tmp38_ = FALSE;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp37_ = _data63_->machine;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp38_ = boxes_machine_is_on (_tmp37_);
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				if (_tmp38_) {
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp36_ = TRUE;
#line 993 "properties.c"
				} else {
					BoxesMachine* _tmp39_ = NULL;
					BoxesMachineMachineState _tmp40_ = 0;
					BoxesMachineMachineState _tmp41_ = 0;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp39_ = _data63_->machine;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp40_ = boxes_machine_get_state (_tmp39_);
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp41_ = _tmp40_;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp36_ = _tmp41_ == BOXES_MACHINE_MACHINE_STATE_SAVED;
#line 1006 "properties.c"
				}
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp34_ = _tmp36_;
#line 1010 "properties.c"
			} else {
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp34_ = FALSE;
#line 1014 "properties.c"
			}
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			if (_tmp34_) {
#line 1018 "properties.c"
				gchar* message = NULL;
				const gchar* _tmp42_ = NULL;
				BoxesMachine* _tmp43_ = NULL;
				const gchar* _tmp44_ = NULL;
				const gchar* _tmp45_ = NULL;
				gchar* _tmp46_ = NULL;
				BoxesAppWindow* _tmp47_ = NULL;
				BoxesNotificationbar* _tmp48_ = NULL;
				const gchar* _tmp49_ = NULL;
				const gchar* _tmp50_ = NULL;
				GdNotification* _tmp51_ = NULL;
				GdNotification* _tmp52_ = NULL;
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp42_ = _ ("Changes require restart of '%s'.");
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp43_ = _data63_->machine;
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp44_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp43_);
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp45_ = _tmp44_;
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp46_ = g_strdup_printf (_tmp42_, _tmp45_);
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				message = _tmp46_;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp47_ = self->priv->window;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp48_ = _tmp47_->notificationbar;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp49_ = message;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp50_ = _ ("_Restart");
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp51_ = boxes_notificationbar_display_for_action (_tmp48_, _tmp49_, _tmp50_, ______lambda52__boxes_notification_ok_func, block63_data_ref (_data63_), block63_data_unref, NULL, NULL, NULL, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp52_ = _tmp51_;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_g_object_unref0 (_tmp52_);
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_g_free0 (message);
#line 1059 "properties.c"
			}
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp53_ = self->priv->restore_fullscreen;
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			if (_tmp53_) {
#line 1065 "properties.c"
				BoxesAppWindow* _tmp54_ = NULL;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp54_ = self->priv->window;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				boxes_app_window_set_fullscreened (_tmp54_, TRUE);
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				self->priv->restore_fullscreen = FALSE;
#line 1073 "properties.c"
			}
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			block63_data_unref (_data63_);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_data63_ = NULL;
#line 1079 "properties.c"
		}
	}
}


BoxesProperties* boxes_properties_construct (GType object_type) {
	BoxesProperties * self = NULL;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = (BoxesProperties*) g_object_new (object_type, NULL);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return self;
#line 1091 "properties.c"
}


BoxesProperties* boxes_properties_new (void) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return boxes_properties_construct (BOXES_TYPE_PROPERTIES);
#line 1098 "properties.c"
}


static BoxesUIState boxes_properties_real_get_previous_ui_state (BoxesUI* base) {
	BoxesUIState result;
	BoxesProperties* self;
	BoxesUIState _tmp0_ = 0;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = (BoxesProperties*) base;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = self->priv->_previous_ui_state;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	result = _tmp0_;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return result;
#line 1114 "properties.c"
}


static void boxes_properties_real_set_previous_ui_state (BoxesUI* base, BoxesUIState value) {
	BoxesProperties* self;
	BoxesUIState _tmp0_ = 0;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = (BoxesProperties*) base;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = value;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self->priv->_previous_ui_state = _tmp0_;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_object_notify ((GObject *) self, "previous-ui-state");
#line 1129 "properties.c"
}


static BoxesUIState boxes_properties_real_get_ui_state (BoxesUI* base) {
	BoxesUIState result;
	BoxesProperties* self;
	BoxesUIState _tmp0_ = 0;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = (BoxesProperties*) base;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = self->priv->_ui_state;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	result = _tmp0_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return result;
#line 1145 "properties.c"
}


static void boxes_properties_real_set_ui_state (BoxesUI* base, BoxesUIState value) {
	BoxesProperties* self;
	BoxesUIState _tmp0_ = 0;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = (BoxesProperties*) base;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = value;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self->priv->_ui_state = _tmp0_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_object_notify ((GObject *) self, "ui-state");
#line 1160 "properties.c"
}


static void _boxes_properties_ui_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	boxes_properties_ui_state_changed ((BoxesProperties*) self);
#line 1167 "properties.c"
}


static GObject * boxes_properties_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	BoxesProperties * self;
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	parent_class = G_OBJECT_CLASS (boxes_properties_parent_class);
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_PROPERTIES, BoxesProperties);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_signal_connect_object ((GObject*) self, "notify::ui-state", (GCallback) _boxes_properties_ui_state_changed_g_object_notify, self, 0);
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return obj;
#line 1185 "properties.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 1192 "properties.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_list_free (self);
#line 1201 "properties.c"
}


static void _____lambda50_ (BoxesPropertiesPageWidget* self) {
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_signal_emit_by_name (self, "refresh-properties");
#line 1208 "properties.c"
}


static void ______lambda50__boxes_property_refresh_properties (BoxesProperty* _sender, gpointer self) {
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_____lambda50_ ((BoxesPropertiesPageWidget*) self);
#line 1215 "properties.c"
}


static BoxesPropertiesPageWidget* boxes_properties_page_widget_construct (GType object_type, BoxesPropertiesPage page, BoxesMachine* machine) {
	BoxesPropertiesPageWidget * self = NULL;
	BoxesPropertiesPage _tmp0_ = 0;
	GtkStyleContext* _tmp5_ = NULL;
	GtkStyleContext* _tmp6_ = NULL;
	GtkGrid* _tmp7_ = NULL;
	GtkGrid* _tmp8_ = NULL;
	GtkGrid* _tmp9_ = NULL;
	GtkGrid* _tmp10_ = NULL;
	GtkGrid* _tmp11_ = NULL;
	GtkScrolledWindow* scrolled_win = NULL;
	GtkScrolledWindow* _tmp12_ = NULL;
	GtkScrolledWindow* _tmp13_ = NULL;
	GtkScrolledWindow* _tmp14_ = NULL;
	GtkScrolledWindow* _tmp15_ = NULL;
	GtkScrolledWindow* _tmp16_ = NULL;
	GtkScrolledWindow* _tmp17_ = NULL;
	GtkGrid* _tmp18_ = NULL;
	GtkScrolledWindow* _tmp19_ = NULL;
	PropertyCreationFlag flags = 0;
	BoxesMachine* _tmp20_ = NULL;
	BoxesPropertiesPage _tmp21_ = 0;
	GList* _tmp22_ = NULL;
	GList* _tmp23_ = NULL;
	guint _tmp24_ = 0U;
	gboolean _tmp25_ = FALSE;
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = (BoxesPropertiesPageWidget*) g_object_new (object_type, NULL);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = page;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	switch (_tmp0_) {
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		case BOXES_PROPERTIES_PAGE_GENERAL:
#line 1255 "properties.c"
		{
			const gchar* _tmp1_ = NULL;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp1_ = _ ("General");
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			gtk_widget_set_name ((GtkWidget*) self, _tmp1_);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			break;
#line 1264 "properties.c"
		}
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		case BOXES_PROPERTIES_PAGE_SYSTEM:
#line 1268 "properties.c"
		{
			const gchar* _tmp2_ = NULL;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp2_ = _ ("System");
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			gtk_widget_set_name ((GtkWidget*) self, _tmp2_);
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			break;
#line 1277 "properties.c"
		}
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		case BOXES_PROPERTIES_PAGE_DEVICES:
#line 1281 "properties.c"
		{
			const gchar* _tmp3_ = NULL;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp3_ = _ ("Devices");
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			gtk_widget_set_name ((GtkWidget*) self, _tmp3_);
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			break;
#line 1290 "properties.c"
		}
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		case BOXES_PROPERTIES_PAGE_SNAPSHOTS:
#line 1294 "properties.c"
		{
			const gchar* _tmp4_ = NULL;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp4_ = _ ("Snapshots");
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			gtk_widget_set_name ((GtkWidget*) self, _tmp4_);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			break;
#line 1303 "properties.c"
		}
		default:
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		break;
#line 1308 "properties.c"
	}
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp5_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_style_context_add_class (_tmp5_, "content-bg");
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp6_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_style_context_add_class (_tmp6_, "transparent-bg");
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp7_ = (GtkGrid*) gtk_grid_new ();
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_object_ref_sink (_tmp7_);
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (self->priv->grid);
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self->priv->grid = _tmp7_;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp8_ = self->priv->grid;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_object_set ((GtkWidget*) _tmp8_, "margin", 20, NULL);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp9_ = self->priv->grid;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_grid_set_row_spacing (_tmp9_, 10);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp10_ = self->priv->grid;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_grid_set_column_spacing (_tmp10_, 20);
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp11_ = self->priv->grid;
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp11_, GTK_ALIGN_START);
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp12_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_object_ref_sink (_tmp12_);
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	scrolled_win = _tmp12_;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp13_ = scrolled_win;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_scrolled_window_set_min_content_height (_tmp13_, 480);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp14_ = scrolled_win;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_widget_set_margin_start ((GtkWidget*) _tmp14_, 20);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp15_ = scrolled_win;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_widget_set_margin_end ((GtkWidget*) _tmp15_, 20);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp16_ = scrolled_win;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_scrolled_window_set_policy (_tmp16_, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp17_ = scrolled_win;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp18_ = self->priv->grid;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_container_add ((GtkContainer*) _tmp17_, (GtkWidget*) _tmp18_);
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp19_ = scrolled_win;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_box_pack_end ((GtkBox*) self, (GtkWidget*) _tmp19_, TRUE, TRUE, (guint) 0);
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	flags = PROPERTY_CREATION_FLAG_NONE;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp20_ = machine;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp21_ = page;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp22_ = boxes_machine_get_properties (_tmp20_, _tmp21_, &flags);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	__g_list_free__g_object_unref0_0 (self->priv->properties);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self->priv->properties = _tmp22_;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp23_ = self->priv->properties;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp24_ = g_list_length (_tmp23_);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self->empty = _tmp24_ == ((guint) 0);
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp25_ = self->empty;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	if (!_tmp25_) {
#line 1396 "properties.c"
		gint current_row = 0;
		GList* _tmp26_ = NULL;
#line 71 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		current_row = 1;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		_tmp26_ = self->priv->properties;
#line 1403 "properties.c"
		{
			GList* property_collection = NULL;
			GList* property_it = NULL;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			property_collection = _tmp26_;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			for (property_it = property_collection; property_it != NULL; property_it = property_it->next) {
#line 1411 "properties.c"
				BoxesProperty* _tmp27_ = NULL;
				BoxesProperty* property = NULL;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp27_ = _g_object_ref0 ((BoxesProperty*) property_it->data);
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				property = _tmp27_;
#line 1418 "properties.c"
				{
					BoxesProperty* _tmp28_ = NULL;
					const gchar* _tmp29_ = NULL;
					const gchar* _tmp30_ = NULL;
					GtkWidget* widget = NULL;
					BoxesProperty* _tmp58_ = NULL;
					GtkWidget* _tmp59_ = NULL;
					GtkWidget* _tmp60_ = NULL;
					GtkWidget* _tmp61_ = NULL;
					GtkWidget* _tmp62_ = NULL;
					BoxesProperty* _tmp68_ = NULL;
					gint _tmp69_ = 0;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp28_ = property;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp29_ = boxes_property_get_description (_tmp28_);
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp30_ = _tmp29_;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					if (_tmp30_ != NULL) {
#line 1439 "properties.c"
						GtkLabel* label_name = NULL;
						BoxesProperty* _tmp31_ = NULL;
						const gchar* _tmp32_ = NULL;
						const gchar* _tmp33_ = NULL;
						GtkLabel* _tmp34_ = NULL;
						GtkLabel* _tmp35_ = NULL;
						GtkStyleContext* _tmp36_ = NULL;
						GtkLabel* _tmp37_ = NULL;
						GtkLabel* _tmp38_ = NULL;
						GtkGrid* _tmp39_ = NULL;
						GtkLabel* _tmp40_ = NULL;
						gint _tmp41_ = 0;
						GtkWidget* widget = NULL;
						BoxesProperty* _tmp42_ = NULL;
						GtkWidget* _tmp43_ = NULL;
						GtkWidget* _tmp44_ = NULL;
						GtkWidget* _tmp45_ = NULL;
						GtkWidget* _tmp46_ = NULL;
						GtkGrid* _tmp47_ = NULL;
						GtkWidget* _tmp48_ = NULL;
						gint _tmp49_ = 0;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp31_ = property;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp32_ = boxes_property_get_description (_tmp31_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp33_ = _tmp32_;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp34_ = (GtkLabel*) gtk_label_new (_tmp33_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						g_object_ref_sink (_tmp34_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						label_name = _tmp34_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp35_ = label_name;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp36_ = gtk_widget_get_style_context ((GtkWidget*) _tmp35_);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_style_context_add_class (_tmp36_, "boxes-property-name-label");
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp37_ = label_name;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_widget_set_halign ((GtkWidget*) _tmp37_, GTK_ALIGN_START);
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp38_ = label_name;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_widget_set_hexpand ((GtkWidget*) _tmp38_, FALSE);
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp39_ = self->priv->grid;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp40_ = label_name;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp41_ = current_row;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_grid_attach (_tmp39_, (GtkWidget*) _tmp40_, 0, _tmp41_, 1, 1);
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp42_ = property;
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp43_ = boxes_property_get_widget (_tmp42_);
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp44_ = _tmp43_;
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp45_ = _g_object_ref0 (_tmp44_);
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						widget = _tmp45_;
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp46_ = widget;
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_widget_set_hexpand (_tmp46_, TRUE);
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp47_ = self->priv->grid;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp48_ = widget;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp49_ = current_row;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_grid_attach (_tmp47_, _tmp48_, 1, _tmp49_, 1, 1);
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_g_object_unref0 (widget);
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_g_object_unref0 (label_name);
#line 1521 "properties.c"
					} else {
						GtkWidget* widget = NULL;
						BoxesProperty* _tmp50_ = NULL;
						GtkWidget* _tmp51_ = NULL;
						GtkWidget* _tmp52_ = NULL;
						GtkWidget* _tmp53_ = NULL;
						GtkWidget* _tmp54_ = NULL;
						GtkGrid* _tmp55_ = NULL;
						GtkWidget* _tmp56_ = NULL;
						gint _tmp57_ = 0;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp50_ = property;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp51_ = boxes_property_get_widget (_tmp50_);
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp52_ = _tmp51_;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp53_ = _g_object_ref0 (_tmp52_);
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						widget = _tmp53_;
#line 84 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp54_ = widget;
#line 84 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_widget_set_hexpand (_tmp54_, TRUE);
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp55_ = self->priv->grid;
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp56_ = widget;
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp57_ = current_row;
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_grid_attach (_tmp55_, _tmp56_, 0, _tmp57_, 2, 1);
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_g_object_unref0 (widget);
#line 1556 "properties.c"
					}
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp58_ = property;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp59_ = boxes_property_get_extra_widget (_tmp58_);
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp60_ = _tmp59_;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp61_ = _g_object_ref0 (_tmp60_);
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					widget = _tmp61_;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp62_ = widget;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					if (_tmp62_ != NULL) {
#line 1572 "properties.c"
						gint _tmp63_ = 0;
						GtkWidget* _tmp64_ = NULL;
						GtkGrid* _tmp65_ = NULL;
						GtkWidget* _tmp66_ = NULL;
						gint _tmp67_ = 0;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp63_ = current_row;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						current_row = _tmp63_ + 1;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp64_ = widget;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_widget_set_hexpand (_tmp64_, TRUE);
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp65_ = self->priv->grid;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp66_ = widget;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						_tmp67_ = current_row;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
						gtk_grid_attach (_tmp65_, _tmp66_, 0, _tmp67_, 2, 1);
#line 1594 "properties.c"
					}
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp68_ = property;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					g_signal_connect_object (_tmp68_, "refresh-properties", (GCallback) ______lambda50__boxes_property_refresh_properties, self, 0);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_tmp69_ = current_row;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					current_row = _tmp69_ + 1;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_g_object_unref0 (widget);
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
					_g_object_unref0 (property);
#line 1608 "properties.c"
				}
			}
		}
	}
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	gtk_widget_show_all ((GtkWidget*) self);
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (scrolled_win);
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return self;
#line 1619 "properties.c"
}


static BoxesPropertiesPageWidget* boxes_properties_page_widget_new (BoxesPropertiesPage page, BoxesMachine* machine) {
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return boxes_properties_page_widget_construct (BOXES_PROPERTIES_TYPE_PAGE_WIDGET, page, machine);
#line 1626 "properties.c"
}


static gboolean boxes_properties_page_widget_flush_changes (BoxesPropertiesPageWidget* self) {
	gboolean result = FALSE;
	gboolean reboot_required = FALSE;
	GList* _tmp0_ = NULL;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	reboot_required = FALSE;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_tmp0_ = self->priv->properties;
#line 1640 "properties.c"
	{
		GList* property_collection = NULL;
		GList* property_it = NULL;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		property_collection = _tmp0_;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		for (property_it = property_collection; property_it != NULL; property_it = property_it->next) {
#line 1648 "properties.c"
			BoxesProperty* _tmp1_ = NULL;
			BoxesProperty* property = NULL;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			_tmp1_ = _g_object_ref0 ((BoxesProperty*) property_it->data);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
			property = _tmp1_;
#line 1655 "properties.c"
			{
				BoxesProperty* _tmp2_ = NULL;
				gboolean _tmp3_ = FALSE;
				BoxesProperty* _tmp4_ = NULL;
				gboolean _tmp5_ = FALSE;
				gboolean _tmp6_ = FALSE;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp2_ = property;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				boxes_property_flush (_tmp2_);
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp3_ = reboot_required;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp4_ = property;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp5_ = boxes_property_get_reboot_required (_tmp4_);
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_tmp6_ = _tmp5_;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				reboot_required = _tmp3_ | _tmp6_;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
				_g_object_unref0 (property);
#line 1678 "properties.c"
			}
		}
	}
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	result = reboot_required;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	return result;
#line 1686 "properties.c"
}


static void boxes_properties_page_widget_class_init (BoxesPropertiesPageWidgetClass * klass) {
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	boxes_properties_page_widget_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_type_class_add_private (klass, sizeof (BoxesPropertiesPageWidgetPrivate));
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_properties_page_widget_finalize;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_signal_new ("refresh_properties", BOXES_PROPERTIES_TYPE_PAGE_WIDGET, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 1699 "properties.c"
}


static void boxes_properties_page_widget_instance_init (BoxesPropertiesPageWidget * self) {
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self->priv = BOXES_PROPERTIES_PAGE_WIDGET_GET_PRIVATE (self);
#line 1706 "properties.c"
}


static void boxes_properties_page_widget_finalize (GObject* obj) {
	BoxesPropertiesPageWidget * self;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_PROPERTIES_TYPE_PAGE_WIDGET, BoxesPropertiesPageWidget);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (self->priv->grid);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	__g_list_free__g_object_unref0_0 (self->priv->properties);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	G_OBJECT_CLASS (boxes_properties_page_widget_parent_class)->finalize (obj);
#line 1720 "properties.c"
}


static GType boxes_properties_page_widget_get_type (void) {
	static volatile gsize boxes_properties_page_widget_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_properties_page_widget_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesPropertiesPageWidgetClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_properties_page_widget_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesPropertiesPageWidget), 0, (GInstanceInitFunc) boxes_properties_page_widget_instance_init, NULL };
		GType boxes_properties_page_widget_type_id;
		boxes_properties_page_widget_type_id = g_type_register_static (gtk_box_get_type (), "BoxesPropertiesPageWidget", &g_define_type_info, 0);
		g_once_init_leave (&boxes_properties_page_widget_type_id__volatile, boxes_properties_page_widget_type_id);
	}
	return boxes_properties_page_widget_type_id__volatile;
}


static void boxes_properties_class_init (BoxesPropertiesClass * klass) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	boxes_properties_parent_class = g_type_class_peek_parent (klass);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_type_class_add_private (klass, sizeof (BoxesPropertiesPrivate));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_properties_get_property;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_properties_set_property;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_properties_constructor;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_properties_finalize;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_PROPERTIES_PREVIOUS_UI_STATE, g_param_spec_enum ("previous-ui-state", "previous-ui-state", "previous-ui-state", BOXES_TYPE_UI_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_PROPERTIES_UI_STATE, g_param_spec_enum ("ui-state", "ui-state", "ui-state", BOXES_TYPE_UI_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 1753 "properties.c"
}


static void boxes_properties_boxes_ui_interface_init (BoxesUIIface * iface) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	boxes_properties_boxes_ui_parent_iface = g_type_interface_peek_parent (iface);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	iface->get_previous_ui_state = boxes_properties_real_get_previous_ui_state;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	iface->set_previous_ui_state = boxes_properties_real_set_previous_ui_state;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	iface->get_ui_state = boxes_properties_real_get_ui_state;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	iface->set_ui_state = boxes_properties_real_set_ui_state;
#line 1768 "properties.c"
}


static void boxes_properties_instance_init (BoxesProperties * self) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self->priv = BOXES_PROPERTIES_GET_PRIVATE (self);
#line 1775 "properties.c"
}


static void boxes_properties_finalize (GObject* obj) {
	BoxesProperties * self;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_PROPERTIES, BoxesProperties);
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	_g_object_unref0 (self->priv->window);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	G_OBJECT_CLASS (boxes_properties_parent_class)->finalize (obj);
#line 1787 "properties.c"
}


GType boxes_properties_get_type (void) {
	static volatile gsize boxes_properties_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_properties_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesPropertiesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_properties_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesProperties), 0, (GInstanceInitFunc) boxes_properties_instance_init, NULL };
		static const GInterfaceInfo boxes_ui_info = { (GInterfaceInitFunc) boxes_properties_boxes_ui_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_properties_type_id;
		boxes_properties_type_id = g_type_register_static (gtk_notebook_get_type (), "BoxesProperties", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_properties_type_id, BOXES_TYPE_UI, &boxes_ui_info);
		g_once_init_leave (&boxes_properties_type_id__volatile, boxes_properties_type_id);
	}
	return boxes_properties_type_id__volatile;
}


static void _vala_boxes_properties_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesProperties * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_PROPERTIES, BoxesProperties);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	switch (property_id) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		case BOXES_PROPERTIES_PREVIOUS_UI_STATE:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		g_value_set_enum (value, boxes_ui_get_previous_ui_state ((BoxesUI*) self));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		break;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		case BOXES_PROPERTIES_UI_STATE:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		g_value_set_enum (value, boxes_ui_get_ui_state ((BoxesUI*) self));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		break;
#line 1822 "properties.c"
		default:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		break;
#line 1828 "properties.c"
	}
}


static void _vala_boxes_properties_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesProperties * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_PROPERTIES, BoxesProperties);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
	switch (property_id) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		case BOXES_PROPERTIES_PREVIOUS_UI_STATE:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		boxes_ui_set_previous_ui_state ((BoxesUI*) self, g_value_get_enum (value));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		break;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		case BOXES_PROPERTIES_UI_STATE:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		boxes_ui_set_ui_state ((BoxesUI*) self, g_value_get_enum (value));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		break;
#line 1850 "properties.c"
		default:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/properties.vala"
		break;
#line 1856 "properties.c"
	}
}



