/* sidebar.c generated by valac 0.23.1.44-805c3, the Vala compiler
 * generated from sidebar.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 <clutter/clutter.h>
#include <clutter-gtk/clutter-gtk.h>
#include <gio/gio.h>


#define BOXES_TYPE_SIDEBAR_PAGE (boxes_sidebar_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_SIDEBAR (boxes_sidebar_get_type ())
#define BOXES_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebar))
#define BOXES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))
#define BOXES_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SIDEBAR))
#define BOXES_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SIDEBAR))
#define BOXES_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;
typedef struct _BoxesSidebarPrivate BoxesSidebarPrivate;

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

typedef struct _BoxesMiniGraph BoxesMiniGraph;
typedef struct _BoxesMiniGraphClass BoxesMiniGraphClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define BOXES_TYPE_WIZARD_PAGE (boxes_wizard_page_get_type ())
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))

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

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

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

typedef struct _BoxesClutterWidget BoxesClutterWidget;
typedef struct _BoxesClutterWidgetClass BoxesClutterWidgetClass;

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

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

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

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

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

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

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

typedef struct _BoxesRevealer BoxesRevealer;
typedef struct _BoxesRevealerClass BoxesRevealerClass;

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

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

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

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

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

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

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

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

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

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;

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

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;

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

typedef struct _BoxesCollectionFilter BoxesCollectionFilter;
typedef struct _BoxesCollectionFilterClass BoxesCollectionFilterClass;

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

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;
typedef struct _BoxesPropertiesPrivate BoxesPropertiesPrivate;
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))

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

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;

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

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;

typedef enum  {
	BOXES_SIDEBAR_PAGE_COLLECTION,
	BOXES_SIDEBAR_PAGE_WIZARD,
	BOXES_SIDEBAR_PAGE_PROPERTIES
} BoxesSidebarPage;

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

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

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

struct _BoxesSidebarClass {
	GtkNotebookClass parent_class;
};

struct _BoxesSidebarPrivate {
	BoxesUIState _previous_ui_state;
	BoxesUIState _ui_state;
	GtkClutterActor* gtk_actor;
	GtkBox* wizard_vbox;
	GtkLabel* wizard_intro_label;
	GtkLabel* wizard_source_label;
	GtkLabel* wizard_preparation_label;
	GtkLabel* wizard_setup_label;
	GtkLabel* wizard_review_label;
	GtkTreeModelFilter* props_model_filter;
};

typedef enum  {
	BOXES_WIZARD_PAGE_INTRODUCTION,
	BOXES_WIZARD_PAGE_SOURCE,
	BOXES_WIZARD_PAGE_PREPARATION,
	BOXES_WIZARD_PAGE_SETUP,
	BOXES_WIZARD_PAGE_REVIEW,
	BOXES_WIZARD_PAGE_LAST
} BoxesWizardPage;

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

struct _BoxesAppClass {
	GObjectClass parent_class;
};

struct _BoxesProperties {
	GObject parent_instance;
	BoxesPropertiesPrivate * priv;
	GtkNotebook* notebook;
};

struct _BoxesPropertiesClass {
	GObjectClass parent_class;
};


static gpointer boxes_sidebar_parent_class = NULL;
extern BoxesApp* boxes_app_app;
static BoxesUIIface* boxes_sidebar_boxes_ui_parent_iface = NULL;

GType boxes_sidebar_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_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_mini_graph_get_type (void) G_GNUC_CONST;
#define BOXES_SIDEBAR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_SIDEBAR, BoxesSidebarPrivate))
enum  {
	BOXES_SIDEBAR_DUMMY_PROPERTY,
	BOXES_SIDEBAR_ACTOR,
	BOXES_SIDEBAR_PREVIOUS_UI_STATE,
	BOXES_SIDEBAR_UI_STATE
};
BoxesSidebar* boxes_sidebar_new (void);
BoxesSidebar* boxes_sidebar_construct (GType object_type);
static void boxes_sidebar_ui_state_changed (BoxesSidebar* self);
static void _boxes_sidebar_ui_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_sidebar_setup_sidebar (BoxesSidebar* self);
GType boxes_wizard_page_get_type (void) G_GNUC_CONST;
void boxes_sidebar_set_wizard_page (BoxesSidebar* self, BoxesWizardPage wizard_page);
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
GType boxes_app_get_type (void) G_GNUC_CONST;
GType boxes_clutter_widget_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_revealer_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
GType boxes_collection_filter_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
void boxes_revealer_reveal (BoxesRevealer* self);
void boxes_revealer_unreveal (BoxesRevealer* self);
static void boxes_sidebar_on_props_row_activated (BoxesSidebar* self, GtkTreeView* treeview, GtkTreePath* path, GtkTreeViewColumn* column);
static void _boxes_sidebar_on_props_row_activated_gtk_tree_view_row_activated (GtkTreeView* _sender, GtkTreePath* path, GtkTreeViewColumn* column, gpointer self);
static void boxes_sidebar_on_shutdown_button_clicked (BoxesSidebar* self);
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
void boxes_libvirt_machine_force_shutdown (BoxesLibvirtMachine* self, gboolean confirm);
static void _boxes_sidebar_on_shutdown_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void boxes_sidebar_finalize (GObject* obj);
ClutterActor* boxes_ui_get_actor (BoxesUI* self);
BoxesUIState boxes_ui_get_previous_ui_state (BoxesUI* self);
static void _vala_boxes_sidebar_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_sidebar_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


GType boxes_sidebar_page_get_type (void) {
	static volatile gsize boxes_sidebar_page_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_sidebar_page_type_id__volatile)) {
		static const GEnumValue values[] = {{BOXES_SIDEBAR_PAGE_COLLECTION, "BOXES_SIDEBAR_PAGE_COLLECTION", "collection"}, {BOXES_SIDEBAR_PAGE_WIZARD, "BOXES_SIDEBAR_PAGE_WIZARD", "wizard"}, {BOXES_SIDEBAR_PAGE_PROPERTIES, "BOXES_SIDEBAR_PAGE_PROPERTIES", "properties"}, {0, NULL, NULL}};
		GType boxes_sidebar_page_type_id;
		boxes_sidebar_page_type_id = g_enum_register_static ("BoxesSidebarPage", values);
		g_once_init_leave (&boxes_sidebar_page_type_id__volatile, boxes_sidebar_page_type_id);
	}
	return boxes_sidebar_page_type_id__volatile;
}


static void _boxes_sidebar_ui_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	boxes_sidebar_ui_state_changed ((BoxesSidebar*) self);
#line 403 "sidebar.c"
}


BoxesSidebar* boxes_sidebar_construct (GType object_type) {
	BoxesSidebar * self = NULL;
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self = (BoxesSidebar*) g_object_new (object_type, NULL);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_signal_connect_object ((GObject*) self, "notify::ui-state", (GCallback) _boxes_sidebar_ui_state_changed_g_object_notify, self, 0);
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	boxes_sidebar_setup_sidebar (self);
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	return self;
#line 417 "sidebar.c"
}


BoxesSidebar* boxes_sidebar_new (void) {
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	return boxes_sidebar_construct (BOXES_TYPE_SIDEBAR);
#line 424 "sidebar.c"
}


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


void boxes_sidebar_set_wizard_page (BoxesSidebar* self, BoxesWizardPage wizard_page) {
	GtkBox* _tmp0_ = NULL;
	GList* _tmp1_ = NULL;
	GtkLabel* current_label = NULL;
	GtkLabel* _tmp14_ = NULL;
	GtkStyleContext* _tmp15_ = NULL;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_return_if_fail (self != NULL);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = self->priv->wizard_vbox;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 447 "sidebar.c"
	{
		GList* label_collection = NULL;
		GList* label_it = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		label_collection = _tmp1_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		for (label_it = label_collection; label_it != NULL; label_it = label_it->next) {
#line 455 "sidebar.c"
			GtkWidget* label = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			label = (GtkWidget*) label_it->data;
#line 459 "sidebar.c"
			{
				GtkWidget* _tmp2_ = NULL;
				GtkStyleContext* _tmp3_ = NULL;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
				_tmp2_ = label;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
				_tmp3_ = gtk_widget_get_style_context (_tmp2_);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
				gtk_style_context_remove_class (_tmp3_, "boxes-wizard-current-page-label");
#line 469 "sidebar.c"
			}
		}
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		_g_list_free0 (label_collection);
#line 474 "sidebar.c"
	}
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	current_label = NULL;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	switch ((gint) gtk_notebook_page_num) {
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_WIZARD_PAGE_INTRODUCTION:
#line 482 "sidebar.c"
		{
			GtkLabel* _tmp4_ = NULL;
			GtkLabel* _tmp5_ = NULL;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp4_ = self->priv->wizard_intro_label;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp5_ = _g_object_ref0 (_tmp4_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_g_object_unref0 (current_label);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			current_label = _tmp5_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			break;
#line 496 "sidebar.c"
		}
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_WIZARD_PAGE_SOURCE:
#line 500 "sidebar.c"
		{
			GtkLabel* _tmp6_ = NULL;
			GtkLabel* _tmp7_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp6_ = self->priv->wizard_source_label;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp7_ = _g_object_ref0 (_tmp6_);
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_g_object_unref0 (current_label);
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			current_label = _tmp7_;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			break;
#line 514 "sidebar.c"
		}
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_WIZARD_PAGE_PREPARATION:
#line 518 "sidebar.c"
		{
			GtkLabel* _tmp8_ = NULL;
			GtkLabel* _tmp9_ = NULL;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp8_ = self->priv->wizard_preparation_label;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp9_ = _g_object_ref0 (_tmp8_);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_g_object_unref0 (current_label);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			current_label = _tmp9_;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			break;
#line 532 "sidebar.c"
		}
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_WIZARD_PAGE_SETUP:
#line 536 "sidebar.c"
		{
			GtkLabel* _tmp10_ = NULL;
			GtkLabel* _tmp11_ = NULL;
#line 71 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp10_ = self->priv->wizard_setup_label;
#line 71 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp11_ = _g_object_ref0 (_tmp10_);
#line 71 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_g_object_unref0 (current_label);
#line 71 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			current_label = _tmp11_;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			break;
#line 550 "sidebar.c"
		}
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_WIZARD_PAGE_REVIEW:
#line 554 "sidebar.c"
		{
			GtkLabel* _tmp12_ = NULL;
			GtkLabel* _tmp13_ = NULL;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp12_ = self->priv->wizard_review_label;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp13_ = _g_object_ref0 (_tmp12_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_g_object_unref0 (current_label);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			current_label = _tmp13_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			break;
#line 568 "sidebar.c"
		}
		default:
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		break;
#line 573 "sidebar.c"
	}
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp14_ = current_label;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp15_ = gtk_widget_get_style_context ((GtkWidget*) _tmp14_);
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_style_context_add_class (_tmp15_, "boxes-wizard-current-page-label");
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (current_label);
#line 583 "sidebar.c"
}


static void boxes_sidebar_ui_state_changed (BoxesSidebar* self) {
	BoxesUIState _tmp0_ = 0;
	BoxesUIState _tmp1_ = 0;
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_return_if_fail (self != NULL);
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp1_ = _tmp0_;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	switch (_tmp1_) {
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_UI_STATE_WIZARD:
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_UI_STATE_PROPERTIES:
#line 602 "sidebar.c"
		{
			BoxesApp* _tmp2_ = NULL;
			BoxesRevealer* _tmp3_ = NULL;
			BoxesSidebarPage _tmp4_ = 0;
			BoxesUIState _tmp5_ = 0;
			BoxesUIState _tmp6_ = 0;
#line 84 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp2_ = boxes_app_app;
#line 84 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp3_ = _tmp2_->sidebar_revealer;
#line 84 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			boxes_revealer_reveal (_tmp3_);
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp5_ = boxes_ui_get_ui_state ((BoxesUI*) self);
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp6_ = _tmp5_;
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			if (_tmp6_ == BOXES_UI_STATE_WIZARD) {
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
				_tmp4_ = BOXES_SIDEBAR_PAGE_WIZARD;
#line 623 "sidebar.c"
			} else {
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
				_tmp4_ = BOXES_SIDEBAR_PAGE_PROPERTIES;
#line 627 "sidebar.c"
			}
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			g_object_set ((GtkNotebook*) self, "page", (gint) _tmp4_, NULL);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			break;
#line 633 "sidebar.c"
		}
		default:
		{
			BoxesApp* _tmp7_ = NULL;
			BoxesRevealer* _tmp8_ = NULL;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp7_ = boxes_app_app;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			_tmp8_ = _tmp7_->sidebar_revealer;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			boxes_revealer_unreveal (_tmp8_);
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
			break;
#line 647 "sidebar.c"
		}
	}
}


static void boxes_sidebar_setup_sidebar (BoxesSidebar* self) {
	GtkTreeModelFilter* _tmp0_ = NULL;
	GtkClutterActor* _tmp1_ = NULL;
	GtkClutterActor* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
	GtkStyleContext* _tmp4_ = NULL;
	GtkClutterActor* _tmp5_ = NULL;
	GtkClutterActor* _tmp6_ = NULL;
	GtkClutterActor* _tmp7_ = NULL;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_return_if_fail (self != NULL);
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = self->priv->props_model_filter;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_tree_model_filter_set_visible_column (_tmp0_, 1);
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp1_ = (GtkClutterActor*) gtk_clutter_actor_new_with_contents ((GtkWidget*) self);
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_object_ref_sink (_tmp1_);
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->gtk_actor);
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self->priv->gtk_actor = _tmp1_;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp2_ = self->priv->gtk_actor;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp3_ = gtk_clutter_actor_get_widget (_tmp2_);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp4_ = gtk_widget_get_style_context (_tmp3_);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_style_context_add_class (_tmp4_, "boxes-bg");
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp5_ = self->priv->gtk_actor;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	clutter_actor_set_name ((ClutterActor*) _tmp5_, "sidebar");
#line 100 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp6_ = self->priv->gtk_actor;
#line 100 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	clutter_actor_set_x_expand ((ClutterActor*) _tmp6_, TRUE);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp7_ = self->priv->gtk_actor;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	clutter_actor_set_y_expand ((ClutterActor*) _tmp7_, TRUE);
#line 696 "sidebar.c"
}


static void boxes_sidebar_on_props_row_activated (BoxesSidebar* self, GtkTreeView* treeview, GtkTreePath* path, GtkTreeViewColumn* column) {
	GtkTreeIter filter_iter = {0};
	GtkTreeIter iter = {0};
	GtkTreeModelFilter* _tmp0_ = NULL;
	GtkTreePath* _tmp1_ = NULL;
	GtkTreeIter _tmp2_ = {0};
	GtkTreeModelFilter* _tmp3_ = NULL;
	GtkTreeIter _tmp4_ = {0};
	GtkTreeIter _tmp5_ = {0};
	BoxesApp* _tmp6_ = NULL;
	BoxesProperties* _tmp7_ = NULL;
	GtkNotebook* _tmp8_ = NULL;
	GtkListStore* _tmp9_ = NULL;
	GtkTreeIter _tmp10_ = {0};
	GtkTreePath* _tmp11_ = NULL;
	GtkTreePath* _tmp12_ = NULL;
	gint _tmp13_ = 0;
	gint* _tmp14_ = NULL;
	gint _tmp15_ = 0;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_return_if_fail (self != NULL);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_return_if_fail (treeview != NULL);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_return_if_fail (path != NULL);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_return_if_fail (column != NULL);
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = self->priv->props_model_filter;
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp1_ = path;
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_tree_model_get_iter ((GtkTreeModel*) _tmp0_, &_tmp2_, _tmp1_);
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	filter_iter = _tmp2_;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp3_ = self->priv->props_model_filter;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp4_ = filter_iter;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_tree_model_filter_convert_iter_to_child_iter (_tmp3_, &_tmp5_, &_tmp4_);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	iter = _tmp5_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp6_ = boxes_app_app;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp7_ = _tmp6_->properties;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp8_ = _tmp7_->notebook;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp9_ = self->props_listmodel;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp10_ = iter;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp11_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp9_, &_tmp10_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp12_ = _tmp11_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp14_ = gtk_tree_path_get_indices_with_depth (_tmp12_, &_tmp13_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp15_ = _tmp14_[0];
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_object_set (_tmp8_, "page", _tmp15_, NULL);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_gtk_tree_path_free0 (_tmp12_);
#line 765 "sidebar.c"
}


static void _boxes_sidebar_on_props_row_activated_gtk_tree_view_row_activated (GtkTreeView* _sender, GtkTreePath* path, GtkTreeViewColumn* column, gpointer self) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	boxes_sidebar_on_props_row_activated ((BoxesSidebar*) self, _sender, path, column);
#line 772 "sidebar.c"
}


static void boxes_sidebar_on_shutdown_button_clicked (BoxesSidebar* self) {
	BoxesLibvirtMachine* machine = NULL;
	BoxesApp* _tmp0_ = NULL;
	BoxesCollectionItem* _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_ = NULL;
	BoxesLibvirtMachine* _tmp3_ = NULL;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_return_if_fail (self != NULL);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = boxes_app_app;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp1_ = _tmp0_->current_item;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, BOXES_TYPE_LIBVIRT_MACHINE) ? ((BoxesLibvirtMachine*) _tmp1_) : NULL);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	machine = _tmp2_;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp3_ = machine;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	if (_tmp3_ != NULL) {
#line 796 "sidebar.c"
		BoxesLibvirtMachine* _tmp4_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		_tmp4_ = machine;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		boxes_libvirt_machine_force_shutdown (_tmp4_, TRUE);
#line 802 "sidebar.c"
	}
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (machine);
#line 806 "sidebar.c"
}


static void _boxes_sidebar_on_shutdown_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	boxes_sidebar_on_shutdown_button_clicked ((BoxesSidebar*) self);
#line 813 "sidebar.c"
}


static ClutterActor* boxes_sidebar_real_get_actor (BoxesUI* base) {
	ClutterActor* result;
	BoxesSidebar* self;
	GtkClutterActor* _tmp0_ = NULL;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self = (BoxesSidebar*) base;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = self->priv->gtk_actor;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	result = (ClutterActor*) _tmp0_;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	return result;
#line 829 "sidebar.c"
}


static BoxesUIState boxes_sidebar_real_get_previous_ui_state (BoxesUI* base) {
	BoxesUIState result;
	BoxesSidebar* self;
	BoxesUIState _tmp0_ = 0;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self = (BoxesSidebar*) base;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = self->priv->_previous_ui_state;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	result = _tmp0_;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	return result;
#line 845 "sidebar.c"
}


static void boxes_sidebar_real_set_previous_ui_state (BoxesUI* base, BoxesUIState value) {
	BoxesSidebar* self;
	BoxesUIState _tmp0_ = 0;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self = (BoxesSidebar*) base;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = value;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self->priv->_previous_ui_state = _tmp0_;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_object_notify ((GObject *) self, "previous-ui-state");
#line 860 "sidebar.c"
}


static BoxesUIState boxes_sidebar_real_get_ui_state (BoxesUI* base) {
	BoxesUIState result;
	BoxesSidebar* self;
	BoxesUIState _tmp0_ = 0;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self = (BoxesSidebar*) base;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = self->priv->_ui_state;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	result = _tmp0_;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	return result;
#line 876 "sidebar.c"
}


static void boxes_sidebar_real_set_ui_state (BoxesUI* base, BoxesUIState value) {
	BoxesSidebar* self;
	BoxesUIState _tmp0_ = 0;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self = (BoxesSidebar*) base;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_tmp0_ = value;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self->priv->_ui_state = _tmp0_;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_object_notify ((GObject *) self, "ui-state");
#line 891 "sidebar.c"
}


static void boxes_sidebar_class_init (BoxesSidebarClass * klass) {
	gint BoxesSidebar_private_offset;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	boxes_sidebar_parent_class = g_type_class_peek_parent (klass);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_type_class_add_private (klass, sizeof (BoxesSidebarPrivate));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_sidebar_get_property;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_sidebar_set_property;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_sidebar_finalize;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_SIDEBAR_ACTOR, g_param_spec_object ("actor", "actor", "actor", clutter_actor_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_SIDEBAR_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/sidebar.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_SIDEBAR_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 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	BoxesSidebar_private_offset = g_type_class_get_instance_private_offset (klass);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/sidebar.ui");
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "wizard_vbox", FALSE, BoxesSidebar_private_offset + G_STRUCT_OFFSET (BoxesSidebarPrivate, wizard_vbox));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "wizard_intro_label", FALSE, BoxesSidebar_private_offset + G_STRUCT_OFFSET (BoxesSidebarPrivate, wizard_intro_label));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "wizard_source_label", FALSE, BoxesSidebar_private_offset + G_STRUCT_OFFSET (BoxesSidebarPrivate, wizard_source_label));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "wizard_preparation_label", FALSE, BoxesSidebar_private_offset + G_STRUCT_OFFSET (BoxesSidebarPrivate, wizard_preparation_label));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "wizard_setup_label", FALSE, BoxesSidebar_private_offset + G_STRUCT_OFFSET (BoxesSidebarPrivate, wizard_setup_label));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "wizard_review_label", FALSE, BoxesSidebar_private_offset + G_STRUCT_OFFSET (BoxesSidebarPrivate, wizard_review_label));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "screenshot_placeholder", FALSE, G_STRUCT_OFFSET (BoxesSidebar, screenshot_placeholder));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "props_listmodel", FALSE, G_STRUCT_OFFSET (BoxesSidebar, props_listmodel));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "props_model_filter", FALSE, BoxesSidebar_private_offset + G_STRUCT_OFFSET (BoxesSidebarPrivate, props_model_filter));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "props_selection", FALSE, G_STRUCT_OFFSET (BoxesSidebar, props_selection));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "shutdown_button", FALSE, G_STRUCT_OFFSET (BoxesSidebar, shutdown_button));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "cpu_graph", FALSE, G_STRUCT_OFFSET (BoxesSidebar, cpu_graph));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "io_graph", FALSE, G_STRUCT_OFFSET (BoxesSidebar, io_graph));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "net_graph", FALSE, G_STRUCT_OFFSET (BoxesSidebar, net_graph));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_props_row_activated", G_CALLBACK(_boxes_sidebar_on_props_row_activated_gtk_tree_view_row_activated));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_shutdown_button_clicked", G_CALLBACK(_boxes_sidebar_on_shutdown_button_clicked_gtk_button_clicked));
#line 949 "sidebar.c"
}


static void boxes_sidebar_boxes_ui_interface_init (BoxesUIIface * iface) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	boxes_sidebar_boxes_ui_parent_iface = g_type_interface_peek_parent (iface);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	iface->get_actor = boxes_sidebar_real_get_actor;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	iface->get_previous_ui_state = boxes_sidebar_real_get_previous_ui_state;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	iface->set_previous_ui_state = boxes_sidebar_real_set_previous_ui_state;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	iface->get_ui_state = boxes_sidebar_real_get_ui_state;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	iface->set_ui_state = boxes_sidebar_real_set_ui_state;
#line 966 "sidebar.c"
}


static void boxes_sidebar_instance_init (BoxesSidebar * self) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self->priv = BOXES_SIDEBAR_GET_PRIVATE (self);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	g_type_ensure (BOXES_TYPE_MINI_GRAPH);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 977 "sidebar.c"
}


static void boxes_sidebar_finalize (GObject* obj) {
	BoxesSidebar * self;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_SIDEBAR, BoxesSidebar);
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->gtk_actor);
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->wizard_vbox);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->wizard_intro_label);
#line 25 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->wizard_source_label);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->wizard_preparation_label);
#line 29 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->wizard_setup_label);
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->wizard_review_label);
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->screenshot_placeholder);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->props_listmodel);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->priv->props_model_filter);
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->props_selection);
#line 42 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->shutdown_button);
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->cpu_graph);
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->io_graph);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	_g_object_unref0 (self->net_graph);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	G_OBJECT_CLASS (boxes_sidebar_parent_class)->finalize (obj);
#line 1017 "sidebar.c"
}


GType boxes_sidebar_get_type (void) {
	static volatile gsize boxes_sidebar_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_sidebar_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesSidebarClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_sidebar_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesSidebar), 0, (GInstanceInitFunc) boxes_sidebar_instance_init, NULL };
		static const GInterfaceInfo boxes_ui_info = { (GInterfaceInitFunc) boxes_sidebar_boxes_ui_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_sidebar_type_id;
		boxes_sidebar_type_id = g_type_register_static (GTK_TYPE_NOTEBOOK, "BoxesSidebar", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_sidebar_type_id, BOXES_TYPE_UI, &boxes_ui_info);
		g_once_init_leave (&boxes_sidebar_type_id__volatile, boxes_sidebar_type_id);
	}
	return boxes_sidebar_type_id__volatile;
}


static void _vala_boxes_sidebar_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesSidebar * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_SIDEBAR, BoxesSidebar);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	switch (property_id) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_SIDEBAR_ACTOR:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		g_value_set_object (value, boxes_ui_get_actor ((BoxesUI*) self));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		break;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_SIDEBAR_PREVIOUS_UI_STATE:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		g_value_set_enum (value, boxes_ui_get_previous_ui_state ((BoxesUI*) self));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		break;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_SIDEBAR_UI_STATE:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		g_value_set_enum (value, boxes_ui_get_ui_state ((BoxesUI*) self));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		break;
#line 1058 "sidebar.c"
		default:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		break;
#line 1064 "sidebar.c"
	}
}


static void _vala_boxes_sidebar_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesSidebar * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_SIDEBAR, BoxesSidebar);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
	switch (property_id) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_SIDEBAR_PREVIOUS_UI_STATE:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		boxes_ui_set_previous_ui_state ((BoxesUI*) self, g_value_get_enum (value));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		break;
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		case BOXES_SIDEBAR_UI_STATE:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		boxes_ui_set_ui_state ((BoxesUI*) self, g_value_get_enum (value));
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		break;
#line 1086 "sidebar.c"
		default:
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/sidebar.vala"
		break;
#line 1092 "sidebar.c"
	}
}



