/* selectionbar.c generated by valac 0.18.0.29-efcd0, the Vala compiler
 * generated from selectionbar.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <clutter-gtk/clutter-gtk.h>
#include <gtk/gtk.h>
#include <clutter/clutter.h>
#include <float.h>
#include <math.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libcommon.h>
#include <stdlib.h>
#include <string.h>
#include <libgd/gd.h>
#include <glib/gi18n-lib.h>


#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;
typedef struct _BoxesSelectionbarPrivate BoxesSelectionbarPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define BOXES_TYPE_UI (boxes_ui_get_type ())
#define BOXES_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UI, BoxesUI))
#define BOXES_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UI, BoxesUIClass))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_IS_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UI))
#define BOXES_UI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UI, BoxesUIClass))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIClass BoxesUIClass;

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

#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;
typedef struct _BoxesUIPrivate BoxesUIPrivate;

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

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

typedef struct _BoxesIPropertiesProvider BoxesIPropertiesProvider;
typedef struct _BoxesIPropertiesProviderIface BoxesIPropertiesProviderIface;

#define BOXES_TYPE_PROPERTIES_PAGE (boxes_properties_page_get_type ())

#define TYPE_PROPERTY_CREATION_FLAG (property_creation_flag_get_type ())

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

typedef struct _BoxesProperty BoxesProperty;
typedef struct _BoxesPropertyClass BoxesPropertyClass;
typedef struct _BoxesMachinePrivate BoxesMachinePrivate;

#define BOXES_TYPE_MACHINE_ACTOR (boxes_machine_actor_get_type ())
#define BOXES_MACHINE_ACTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActor))
#define BOXES_MACHINE_ACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActorClass))
#define BOXES_IS_MACHINE_ACTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE_ACTOR))
#define BOXES_IS_MACHINE_ACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE_ACTOR))
#define BOXES_MACHINE_ACTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActorClass))

typedef struct _BoxesMachineActor BoxesMachineActor;
typedef struct _BoxesMachineActorClass BoxesMachineActorClass;
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
typedef struct _Block38Data Block38Data;
typedef struct _BoxesAppPrivate BoxesAppPrivate;

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

typedef struct _BoxesClutterWidget BoxesClutterWidget;
typedef struct _BoxesClutterWidgetClass BoxesClutterWidgetClass;

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

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

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

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

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

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

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

typedef struct _BoxesRevealer BoxesRevealer;
typedef struct _BoxesRevealerClass BoxesRevealerClass;

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

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;

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

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

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

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

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

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

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

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;

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

typedef struct _BoxesCollectionFilter BoxesCollectionFilter;
typedef struct _BoxesCollectionFilterClass BoxesCollectionFilterClass;

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

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _BoxesSelectionbar {
	GObject parent_instance;
	BoxesSelectionbarPrivate * priv;
};

struct _BoxesSelectionbarClass {
	GObjectClass parent_class;
};

struct _BoxesSelectionbarPrivate {
	GtkClutterActor* gtk_actor;
	GtkToolbar* toolbar;
	GtkToggleButton* favorite_btn;
	GtkButton* pause_btn;
	GtkToggleButton* remove_btn;
	GtkButton* properties_btn;
};

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

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

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

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

struct _BoxesCollectionItemClass {
	BoxesUIClass parent_class;
};

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

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

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

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

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

struct _Block38Data {
	int _ref_count_;
	BoxesSelectionbar * self;
	BoxesMachine* machine;
};

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

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};


static gpointer boxes_selectionbar_parent_class = NULL;
extern BoxesApp* boxes_app_app;

GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
#define BOXES_SELECTIONBAR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarPrivate))
enum  {
	BOXES_SELECTIONBAR_DUMMY_PROPERTY,
	BOXES_SELECTIONBAR_ACTOR
};
#define BOXES_SELECTIONBAR_default_toolbar_width 500
BoxesSelectionbar* boxes_selectionbar_new (void);
BoxesSelectionbar* boxes_selectionbar_construct (GType object_type);
static void __lambda128_ (BoxesSelectionbar* self);
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_app_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GList* boxes_app_get_selected_items (BoxesApp* self);
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_properties_page_get_type (void) G_GNUC_CONST;
GType property_creation_flag_get_type (void) G_GNUC_CONST;
GType boxes_property_get_type (void) G_GNUC_CONST;
GType boxes_iproperties_provider_get_type (void) G_GNUC_CONST;
GType boxes_machine_actor_get_type (void) G_GNUC_CONST;
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
static void ___lambda128__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda129_ (BoxesSelectionbar* self);
static Block38Data* block38_data_ref (Block38Data* _data38_);
static void block38_data_unref (void * _userdata_);
void boxes_machine_save (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_machine_save_finish (BoxesMachine* self, GAsyncResult* _res_, GError** error);
static void ____lambda130_ (Block38Data* _data38_, GObject* obj, GAsyncResult* _result_);
GType boxes_clutter_widget_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_revealer_get_type (void) G_GNUC_CONST;
GType boxes_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
GType boxes_collection_filter_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
GdNotification* boxes_notificationbar_display_error (BoxesNotificationbar* self, const gchar* message, gint timeout);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
static void _____lambda130__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void ___lambda129__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda131_ (BoxesSelectionbar* self);
void boxes_app_remove_selected_items (BoxesApp* self);
static void ___lambda131__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda134_ (BoxesSelectionbar* self);
void boxes_app_show_properties (BoxesApp* self);
static void ___lambda134__gtk_button_clicked (GtkButton* _sender, gpointer self);
ClutterActor* boxes_selectionbar_get_actor (BoxesSelectionbar* self);
static void __lambda135_ (BoxesSelectionbar* self);
static void boxes_selectionbar_update_visible (BoxesSelectionbar* self);
static void ___lambda135__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda136_ (BoxesSelectionbar* self);
static void boxes_selectionbar_update_favorite_btn (BoxesSelectionbar* self);
static void boxes_selectionbar_update_properties_btn (BoxesSelectionbar* self);
static void ___lambda136__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
gboolean boxes_app_get_selection_mode (BoxesApp* self);
static void boxes_selectionbar_set_visible (BoxesSelectionbar* self, gboolean value);
static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle);
void boxes_fade_actor (ClutterActor* actor, guint opacity);
static void boxes_selectionbar_finalize (GObject* obj);
static void _vala_boxes_selectionbar_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_selectionbar_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);


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


static void _g_object_unref0_ (gpointer var) {
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 454 "selectionbar.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_list_free (self);
#line 463 "selectionbar.c"
}


static void __lambda128_ (BoxesSelectionbar* self) {
	BoxesApp* _tmp0_;
	GList* _tmp1_;
	GList* _tmp2_;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = boxes_app_app;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp1_ = boxes_app_get_selected_items (_tmp0_);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp2_ = _tmp1_;
#line 477 "selectionbar.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		item_collection = _tmp2_;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 485 "selectionbar.c"
			BoxesCollectionItem* _tmp3_;
			BoxesCollectionItem* item = NULL;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
			_tmp3_ = _g_object_ref0 ((BoxesCollectionItem*) item_it->data);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
			item = _tmp3_;
#line 492 "selectionbar.c"
			{
				BoxesCollectionItem* _tmp4_;
				BoxesMachine* _tmp5_;
				BoxesMachine* machine;
				BoxesMachine* _tmp6_;
				BoxesMachine* _tmp7_;
				BoxesBoxConfig* _tmp8_;
				GtkToggleButton* _tmp9_;
				gboolean _tmp10_;
				gboolean _tmp11_;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp4_ = item;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp4_) : NULL);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				machine = _tmp5_;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp6_ = machine;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				if (_tmp6_ == NULL) {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					_g_object_unref0 (machine);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					_g_object_unref0 (item);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					continue;
#line 519 "selectionbar.c"
				}
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp7_ = machine;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp8_ = _tmp7_->config;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp9_ = self->priv->favorite_btn;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp10_ = gtk_toggle_button_get_active (_tmp9_);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp11_ = _tmp10_;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				boxes_box_config_set_category (_tmp8_, "favorite", _tmp11_);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_g_object_unref0 (machine);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_g_object_unref0 (item);
#line 537 "selectionbar.c"
			}
		}
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		__g_list_free__g_object_unref0_0 (item_collection);
#line 542 "selectionbar.c"
	}
}


static void ___lambda128__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	__lambda128_ (self);
#line 550 "selectionbar.c"
}


static Block38Data* block38_data_ref (Block38Data* _data38_) {
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_atomic_int_inc (&_data38_->_ref_count_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	return _data38_;
#line 559 "selectionbar.c"
}


static void block38_data_unref (void * _userdata_) {
	Block38Data* _data38_;
	_data38_ = (Block38Data*) _userdata_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	if (g_atomic_int_dec_and_test (&_data38_->_ref_count_)) {
#line 568 "selectionbar.c"
		BoxesSelectionbar * self;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		self = _data38_->self;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_g_object_unref0 (_data38_->machine);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_g_object_unref0 (self);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		g_slice_free (Block38Data, _data38_);
#line 578 "selectionbar.c"
	}
}


static void ____lambda130_ (Block38Data* _data38_, GObject* obj, GAsyncResult* _result_) {
	BoxesSelectionbar * self;
	GError * _inner_error_ = NULL;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self = _data38_->self;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_return_if_fail (_result_ != NULL);
#line 590 "selectionbar.c"
	{
		BoxesMachine* _tmp0_;
		GAsyncResult* _tmp1_;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp0_ = _data38_->machine;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp1_ = _result_;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		boxes_machine_save_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		if (_inner_error_ != NULL) {
#line 602 "selectionbar.c"
			goto __catch54_g_error;
		}
	}
	goto __finally54;
	__catch54_g_error:
	{
		GError* e = NULL;
		BoxesApp* _tmp2_;
		BoxesNotificationbar* _tmp3_;
		const gchar* _tmp4_ = NULL;
		BoxesMachine* _tmp5_;
		const gchar* _tmp6_;
		const gchar* _tmp7_;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_;
		GdNotification* _tmp10_ = NULL;
		GdNotification* _tmp11_;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		e = _inner_error_;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_inner_error_ = NULL;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp2_ = boxes_app_app;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp3_ = _tmp2_->notificationbar;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp4_ = _ ("Pausing '%s' failed");
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp5_ = _data38_->machine;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp6_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp5_);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp7_ = _tmp6_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp8_ = g_strdup_printf (_tmp4_, _tmp7_);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp9_ = _tmp8_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp10_ = boxes_notificationbar_display_error (_tmp3_, _tmp9_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp11_ = _tmp10_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_g_object_unref0 (_tmp11_);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_g_free0 (_tmp9_);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_g_error_free0 (e);
#line 650 "selectionbar.c"
	}
	__finally54:
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	if (_inner_error_ != NULL) {
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		g_clear_error (&_inner_error_);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		return;
#line 661 "selectionbar.c"
	}
}


static void _____lambda130__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	____lambda130_ (self, source_object, res);
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	block38_data_unref (self);
#line 671 "selectionbar.c"
}


static void __lambda129_ (BoxesSelectionbar* self) {
	BoxesApp* _tmp0_;
	GList* _tmp1_;
	GList* _tmp2_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = boxes_app_app;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp1_ = boxes_app_get_selected_items (_tmp0_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp2_ = _tmp1_;
#line 685 "selectionbar.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		item_collection = _tmp2_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 693 "selectionbar.c"
			BoxesCollectionItem* _tmp3_;
			BoxesCollectionItem* item = NULL;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
			_tmp3_ = _g_object_ref0 ((BoxesCollectionItem*) item_it->data);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
			item = _tmp3_;
#line 700 "selectionbar.c"
			{
				Block38Data* _data38_;
				BoxesCollectionItem* _tmp4_;
				BoxesMachine* _tmp5_;
				BoxesMachine* _tmp6_;
				BoxesMachine* _tmp7_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_data38_ = g_slice_new0 (Block38Data);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_data38_->_ref_count_ = 1;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_data38_->self = g_object_ref (self);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp4_ = item;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp4_) : NULL);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_data38_->machine = _tmp5_;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp6_ = _data38_->machine;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				if (_tmp6_ == NULL) {
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					_g_object_unref0 (item);
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					block38_data_unref (_data38_);
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					_data38_ = NULL;
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					continue;
#line 731 "selectionbar.c"
				}
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp7_ = _data38_->machine;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				boxes_machine_save (_tmp7_, _____lambda130__gasync_ready_callback, block38_data_ref (_data38_));
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_g_object_unref0 (item);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				block38_data_unref (_data38_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_data38_ = NULL;
#line 743 "selectionbar.c"
			}
		}
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		__g_list_free__g_object_unref0_0 (item_collection);
#line 748 "selectionbar.c"
	}
}


static void ___lambda129__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	__lambda129_ (self);
#line 756 "selectionbar.c"
}


static void __lambda131_ (BoxesSelectionbar* self) {
	BoxesApp* _tmp0_;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = boxes_app_app;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	boxes_app_remove_selected_items (_tmp0_);
#line 766 "selectionbar.c"
}


static void ___lambda131__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	__lambda131_ (self);
#line 773 "selectionbar.c"
}


static void __lambda134_ (BoxesSelectionbar* self) {
	BoxesApp* _tmp0_;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = boxes_app_app;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	boxes_app_show_properties (_tmp0_);
#line 783 "selectionbar.c"
}


static void ___lambda134__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	__lambda134_ (self);
#line 790 "selectionbar.c"
}


static void __lambda135_ (BoxesSelectionbar* self) {
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	boxes_selectionbar_update_visible (self);
#line 797 "selectionbar.c"
}


static void ___lambda135__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	__lambda135_ (self);
#line 804 "selectionbar.c"
}


static void __lambda136_ (BoxesSelectionbar* self) {
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	boxes_selectionbar_update_visible (self);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	boxes_selectionbar_update_favorite_btn (self);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	boxes_selectionbar_update_properties_btn (self);
#line 815 "selectionbar.c"
}


static void ___lambda136__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	__lambda136_ (self);
#line 822 "selectionbar.c"
}


BoxesSelectionbar* boxes_selectionbar_construct (GType object_type) {
	BoxesSelectionbar * self = NULL;
	GtkToolbar* _tmp0_;
	GtkToolbar* _tmp1_;
	GtkToolbar* _tmp2_;
	GtkToolbar* _tmp3_;
	GtkToolbar* _tmp4_;
	GtkStyleContext* _tmp5_ = NULL;
	GtkBox* _tmp6_;
	GtkBox* leftbox;
	GtkToolItem* _tmp7_;
	GtkToolItem* leftgroup;
	GtkToolbar* _tmp8_;
	GtkSeparatorToolItem* _tmp9_;
	GtkSeparatorToolItem* separator;
	GtkToolbar* _tmp10_;
	GtkBox* _tmp11_;
	GtkBox* rightbox;
	GtkToolItem* _tmp12_;
	GtkToolItem* rightgroup;
	GtkToolbar* _tmp13_;
	GtkToolbar* _tmp14_;
	GtkClutterActor* _tmp15_;
	GtkClutterActor* _tmp16_;
	GtkWidget* _tmp17_ = NULL;
	GtkStyleContext* _tmp18_ = NULL;
	GtkClutterActor* _tmp19_;
	GtkClutterActor* _tmp20_;
	GtkClutterActor* _tmp21_;
	GtkClutterActor* _tmp22_;
	GtkToggleButton* _tmp23_;
	GtkToggleButton* _tmp24_;
	GtkToggleButton* _tmp25_;
	GtkImage* _tmp26_;
	GtkImage* _tmp27_;
	GtkToggleButton* _tmp28_;
	GtkButton* _tmp29_;
	GtkButton* _tmp30_;
	GtkButton* _tmp31_;
	GtkImage* _tmp32_;
	GtkImage* _tmp33_;
	GtkButton* _tmp34_;
	GtkToggleButton* _tmp35_;
	GtkToggleButton* _tmp36_;
	GtkToggleButton* _tmp37_;
	GtkImage* _tmp38_;
	GtkImage* _tmp39_;
	GtkToggleButton* _tmp40_;
	GtkButton* _tmp41_;
	GtkButton* _tmp42_;
	GtkButton* _tmp43_;
	GtkImage* _tmp44_;
	GtkImage* _tmp45_;
	GtkButton* _tmp46_;
	GtkToolbar* _tmp47_;
	ClutterActor* _tmp48_;
	ClutterActor* _tmp49_;
	BoxesApp* _tmp50_;
	BoxesApp* _tmp51_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self = (BoxesSelectionbar*) g_object_new (object_type, NULL);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = (GtkToolbar*) gtk_toolbar_new ();
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp0_);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->toolbar);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self->priv->toolbar = _tmp0_;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp1_ = self->priv->toolbar;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_toolbar_set_show_arrow (_tmp1_, FALSE);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp2_ = self->priv->toolbar;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_toolbar_set_icon_size (_tmp2_, (gint) GTK_ICON_SIZE_LARGE_TOOLBAR);
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp3_ = self->priv->toolbar;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_widget_set_size_request ((GtkWidget*) _tmp3_, BOXES_SELECTIONBAR_default_toolbar_width, -1);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp4_ = self->priv->toolbar;
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp5_ = gtk_widget_get_style_context ((GtkWidget*) _tmp4_);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_style_context_add_class (_tmp5_, "osd");
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp6_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp6_);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	leftbox = _tmp6_;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp7_ = gtk_tool_item_new ();
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp7_);
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	leftgroup = _tmp7_;
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_container_add ((GtkContainer*) leftgroup, (GtkWidget*) leftbox);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp8_ = self->priv->toolbar;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_toolbar_insert (_tmp8_, leftgroup, -1);
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp9_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp9_);
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	separator = _tmp9_;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_tool_item_set_expand ((GtkToolItem*) separator, TRUE);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_separator_tool_item_set_draw (separator, FALSE);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp10_ = self->priv->toolbar;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_toolbar_insert (_tmp10_, (GtkToolItem*) separator, -1);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp11_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp11_);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	rightbox = _tmp11_;
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp12_ = gtk_tool_item_new ();
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp12_);
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	rightgroup = _tmp12_;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_container_add ((GtkContainer*) rightgroup, (GtkWidget*) rightbox);
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp13_ = self->priv->toolbar;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_toolbar_insert (_tmp13_, rightgroup, -1);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp14_ = self->priv->toolbar;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp15_ = (GtkClutterActor*) gtk_clutter_actor_new_with_contents ((GtkWidget*) _tmp14_);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp15_);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->gtk_actor);
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self->priv->gtk_actor = _tmp15_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp16_ = self->priv->gtk_actor;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp17_ = gtk_clutter_actor_get_widget (_tmp16_);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp18_ = gtk_widget_get_style_context (_tmp17_);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_style_context_add_class (_tmp18_, "boxes-bg");
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp19_ = self->priv->gtk_actor;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	clutter_actor_set_opacity ((ClutterActor*) _tmp19_, (guint) 0);
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp20_ = self->priv->gtk_actor;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	clutter_actor_set_margin_bottom ((ClutterActor*) _tmp20_, (gfloat) 32);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp21_ = self->priv->gtk_actor;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	clutter_actor_set_x_align ((ClutterActor*) _tmp21_, CLUTTER_ACTOR_ALIGN_CENTER);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp22_ = self->priv->gtk_actor;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	clutter_actor_set_y_align ((ClutterActor*) _tmp22_, CLUTTER_ACTOR_ALIGN_END);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp23_ = (GtkToggleButton*) gtk_toggle_button_new ();
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp23_);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->favorite_btn);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self->priv->favorite_btn = _tmp23_;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp24_ = self->priv->favorite_btn;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_container_add ((GtkContainer*) leftbox, (GtkWidget*) _tmp24_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp25_ = self->priv->favorite_btn;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp26_ = (GtkImage*) gtk_image_new_from_icon_name ("emblem-favorite-symbolic", GTK_ICON_SIZE_MENU);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp26_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp27_ = _tmp26_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_button_set_image ((GtkButton*) _tmp25_, (GtkWidget*) _tmp27_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (_tmp27_);
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp28_ = self->priv->favorite_btn;
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_signal_connect_object ((GtkButton*) _tmp28_, "clicked", (GCallback) ___lambda128__gtk_button_clicked, self, 0);
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp29_ = (GtkButton*) gtk_button_new ();
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp29_);
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->pause_btn);
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self->priv->pause_btn = _tmp29_;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp30_ = self->priv->pause_btn;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_container_add ((GtkContainer*) leftbox, (GtkWidget*) _tmp30_);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp31_ = self->priv->pause_btn;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp32_ = (GtkImage*) gtk_image_new_from_icon_name ("media-playback-pause-symbolic", GTK_ICON_SIZE_MENU);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp32_);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp33_ = _tmp32_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_button_set_image (_tmp31_, (GtkWidget*) _tmp33_);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (_tmp33_);
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp34_ = self->priv->pause_btn;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_signal_connect_object (_tmp34_, "clicked", (GCallback) ___lambda129__gtk_button_clicked, self, 0);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp35_ = (GtkToggleButton*) gtk_toggle_button_new ();
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp35_);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->remove_btn);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self->priv->remove_btn = _tmp35_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp36_ = self->priv->remove_btn;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_container_add ((GtkContainer*) rightbox, (GtkWidget*) _tmp36_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp37_ = self->priv->remove_btn;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp38_ = (GtkImage*) gtk_image_new_from_icon_name ("edit-delete-symbolic", GTK_ICON_SIZE_MENU);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp38_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp39_ = _tmp38_;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_button_set_image ((GtkButton*) _tmp37_, (GtkWidget*) _tmp39_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (_tmp39_);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp40_ = self->priv->remove_btn;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_signal_connect_object ((GtkButton*) _tmp40_, "clicked", (GCallback) ___lambda131__gtk_button_clicked, self, 0);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp41_ = (GtkButton*) gtk_button_new ();
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp41_);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->properties_btn);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self->priv->properties_btn = _tmp41_;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp42_ = self->priv->properties_btn;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_container_add ((GtkContainer*) rightbox, (GtkWidget*) _tmp42_);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp43_ = self->priv->properties_btn;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp44_ = (GtkImage*) gtk_image_new_from_icon_name ("preferences-system-symbolic", GTK_ICON_SIZE_MENU);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_ref_sink (_tmp44_);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp45_ = _tmp44_;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_button_set_image (_tmp43_, (GtkWidget*) _tmp45_);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (_tmp45_);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp46_ = self->priv->properties_btn;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_signal_connect_object (_tmp46_, "clicked", (GCallback) ___lambda134__gtk_button_clicked, self, 0);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp47_ = self->priv->toolbar;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp47_);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp48_ = boxes_selectionbar_get_actor (self);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp49_ = _tmp48_;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	clutter_actor_set_reactive (_tmp49_, TRUE);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp50_ = boxes_app_app;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_signal_connect_object ((GObject*) _tmp50_, "notify::selection-mode", (GCallback) ___lambda135__g_object_notify, self, 0);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp51_ = boxes_app_app;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_signal_connect_object ((GObject*) _tmp51_, "notify::selected-items", (GCallback) ___lambda136__g_object_notify, self, 0);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (rightgroup);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (rightbox);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (separator);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (leftgroup);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (leftbox);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	return self;
#line 1139 "selectionbar.c"
}


BoxesSelectionbar* boxes_selectionbar_new (void) {
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	return boxes_selectionbar_construct (BOXES_TYPE_SELECTIONBAR);
#line 1146 "selectionbar.c"
}


static void boxes_selectionbar_update_visible (BoxesSelectionbar* self) {
	BoxesApp* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_return_if_fail (self != NULL);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = boxes_app_app;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp1_ = boxes_app_get_selection_mode (_tmp0_);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp2_ = _tmp1_;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	if (!_tmp2_) {
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		boxes_selectionbar_set_visible (self, FALSE);
#line 1166 "selectionbar.c"
	} else {
		BoxesApp* _tmp3_;
		GList* _tmp4_;
		GList* _tmp5_;
		GList* _tmp6_;
		guint _tmp7_ = 0U;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp3_ = boxes_app_app;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp4_ = boxes_app_get_selected_items (_tmp3_);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp5_ = _tmp4_;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp6_ = _tmp5_;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp7_ = g_list_length (_tmp6_);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		boxes_selectionbar_set_visible (self, _tmp7_ > ((guint) 0));
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		__g_list_free__g_object_unref0_0 (_tmp6_);
#line 1187 "selectionbar.c"
	}
}


static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle) {
	int i;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	for (i = 0; i < stack_length; i++) {
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
			return TRUE;
#line 1200 "selectionbar.c"
		}
	}
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	return FALSE;
#line 1205 "selectionbar.c"
}


static void boxes_selectionbar_update_favorite_btn (BoxesSelectionbar* self) {
	gboolean active;
	BoxesApp* _tmp0_;
	GList* _tmp1_;
	GList* _tmp2_;
	GList* _tmp3_;
	guint _tmp4_ = 0U;
	gboolean _tmp5_;
	gboolean sensitive;
	BoxesApp* _tmp6_;
	GList* _tmp7_;
	GList* _tmp8_;
	GtkToggleButton* _tmp22_;
	gboolean _tmp23_;
	GtkToggleButton* _tmp24_;
	gboolean _tmp25_;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_return_if_fail (self != NULL);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	active = FALSE;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = boxes_app_app;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp1_ = boxes_app_get_selected_items (_tmp0_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp2_ = _tmp1_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp3_ = _tmp2_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp4_ = g_list_length (_tmp3_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp5_ = _tmp4_ > ((guint) 0);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	__g_list_free__g_object_unref0_0 (_tmp3_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	sensitive = _tmp5_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp6_ = boxes_app_app;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp7_ = boxes_app_get_selected_items (_tmp6_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp8_ = _tmp7_;
#line 1251 "selectionbar.c"
	{
		GList* item_collection = NULL;
		GList* item_it = NULL;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		item_collection = _tmp8_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		for (item_it = item_collection; item_it != NULL; item_it = item_it->next) {
#line 1259 "selectionbar.c"
			BoxesCollectionItem* _tmp9_;
			BoxesCollectionItem* item = NULL;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
			_tmp9_ = _g_object_ref0 ((BoxesCollectionItem*) item_it->data);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
			item = _tmp9_;
#line 1266 "selectionbar.c"
			{
				BoxesCollectionItem* _tmp10_;
				BoxesMachine* _tmp11_;
				BoxesMachine* machine;
				BoxesMachine* _tmp12_;
				BoxesMachine* _tmp13_;
				BoxesBoxConfig* _tmp14_;
				gchar** _tmp15_;
				gint _tmp15__length1;
				gchar** _tmp16_;
				gint _tmp16__length1;
				gchar** _tmp17_;
				gint _tmp17__length1;
				gboolean _tmp18_;
				gboolean is_favorite;
				gboolean _tmp19_;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp10_ = item;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, BOXES_TYPE_MACHINE) ? ((BoxesMachine*) _tmp10_) : NULL);
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				machine = _tmp11_;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp12_ = machine;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				if (_tmp12_ == NULL) {
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					_g_object_unref0 (machine);
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					_g_object_unref0 (item);
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					continue;
#line 1299 "selectionbar.c"
				}
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp13_ = machine;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp14_ = _tmp13_->config;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp15_ = boxes_box_config_get_categories (_tmp14_, &_tmp15__length1);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp16_ = _tmp15_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp16__length1 = _tmp15__length1;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp17_ = _tmp16_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp17__length1 = _tmp16__length1;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp18_ = _vala_string_array_contains (_tmp17_, _tmp16__length1, "favorite");
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp17_ = (_vala_array_free (_tmp17_, _tmp17__length1, (GDestroyNotify) g_free), NULL);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				is_favorite = _tmp18_;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_tmp19_ = active;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				if (!_tmp19_) {
#line 1325 "selectionbar.c"
					gboolean _tmp20_;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					_tmp20_ = is_favorite;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					active = _tmp20_;
#line 1331 "selectionbar.c"
				} else {
					gboolean _tmp21_;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					_tmp21_ = is_favorite;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
					if (!_tmp21_) {
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
						sensitive = FALSE;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
						_g_object_unref0 (machine);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
						_g_object_unref0 (item);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
						break;
#line 1346 "selectionbar.c"
					}
				}
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_g_object_unref0 (machine);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
				_g_object_unref0 (item);
#line 1353 "selectionbar.c"
			}
		}
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		__g_list_free__g_object_unref0_0 (item_collection);
#line 1358 "selectionbar.c"
	}
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp22_ = self->priv->favorite_btn;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp23_ = active;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_toggle_button_set_active (_tmp22_, _tmp23_);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp24_ = self->priv->favorite_btn;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp25_ = sensitive;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp24_, _tmp25_);
#line 1372 "selectionbar.c"
}


static void boxes_selectionbar_update_properties_btn (BoxesSelectionbar* self) {
	BoxesApp* _tmp0_;
	GList* _tmp1_;
	GList* _tmp2_;
	GList* _tmp3_;
	guint _tmp4_ = 0U;
	gboolean _tmp5_;
	gboolean sensitive;
	GtkButton* _tmp6_;
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_return_if_fail (self != NULL);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = boxes_app_app;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp1_ = boxes_app_get_selected_items (_tmp0_);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp2_ = _tmp1_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp3_ = _tmp2_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp4_ = g_list_length (_tmp3_);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp5_ = _tmp4_ == ((guint) 1);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	__g_list_free__g_object_unref0_0 (_tmp3_);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	sensitive = _tmp5_;
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp6_ = self->priv->properties_btn;
#line 137 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp6_, sensitive);
#line 1407 "selectionbar.c"
}


ClutterActor* boxes_selectionbar_get_actor (BoxesSelectionbar* self) {
	ClutterActor* result;
	GtkClutterActor* _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp0_ = self->priv->gtk_actor;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	result = (ClutterActor*) _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	return result;
#line 1422 "selectionbar.c"
}


static void boxes_selectionbar_set_visible (BoxesSelectionbar* self, gboolean value) {
	gint _tmp0_ = 0;
	gboolean _tmp1_;
	ClutterActor* _tmp2_;
	ClutterActor* _tmp3_;
	gint _tmp4_;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_return_if_fail (self != NULL);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp1_ = value;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	if (_tmp1_) {
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp0_ = 255;
#line 1440 "selectionbar.c"
	} else {
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		_tmp0_ = 0;
#line 1444 "selectionbar.c"
	}
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp2_ = boxes_selectionbar_get_actor (self);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp3_ = _tmp2_;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_tmp4_ = _tmp0_;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	boxes_fade_actor (_tmp3_, (guint) _tmp4_);
#line 1454 "selectionbar.c"
}


static void boxes_selectionbar_class_init (BoxesSelectionbarClass * klass) {
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	boxes_selectionbar_parent_class = g_type_class_peek_parent (klass);
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_type_class_add_private (klass, sizeof (BoxesSelectionbarPrivate));
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_selectionbar_get_property;
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_selectionbar_set_property;
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_selectionbar_finalize;
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_SELECTIONBAR_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 1471 "selectionbar.c"
}


static void boxes_selectionbar_instance_init (BoxesSelectionbar * self) {
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self->priv = BOXES_SELECTIONBAR_GET_PRIVATE (self);
#line 1478 "selectionbar.c"
}


static void boxes_selectionbar_finalize (GObject* obj) {
	BoxesSelectionbar * self;
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_SELECTIONBAR, BoxesSelectionbar);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->gtk_actor);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->toolbar);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->favorite_btn);
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->pause_btn);
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->remove_btn);
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	_g_object_unref0 (self->priv->properties_btn);
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	G_OBJECT_CLASS (boxes_selectionbar_parent_class)->finalize (obj);
#line 1500 "selectionbar.c"
}


GType boxes_selectionbar_get_type (void) {
	static volatile gsize boxes_selectionbar_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_selectionbar_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesSelectionbarClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_selectionbar_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesSelectionbar), 0, (GInstanceInitFunc) boxes_selectionbar_instance_init, NULL };
		GType boxes_selectionbar_type_id;
		boxes_selectionbar_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesSelectionbar", &g_define_type_info, 0);
		g_once_init_leave (&boxes_selectionbar_type_id__volatile, boxes_selectionbar_type_id);
	}
	return boxes_selectionbar_type_id__volatile;
}


static void _vala_boxes_selectionbar_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesSelectionbar * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_SELECTIONBAR, BoxesSelectionbar);
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	switch (property_id) {
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		case BOXES_SELECTIONBAR_ACTOR:
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		g_value_set_object (value, boxes_selectionbar_get_actor (self));
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		break;
#line 1527 "selectionbar.c"
		default:
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		break;
#line 1533 "selectionbar.c"
	}
}


static void _vala_boxes_selectionbar_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesSelectionbar * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_SELECTIONBAR, BoxesSelectionbar);
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
	switch (property_id) {
#line 1543 "selectionbar.c"
		default:
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 5 "/extra-data/checkout/gnome/gnome-boxes/src/selectionbar.vala"
		break;
#line 1549 "selectionbar.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if ((array != NULL) && (destroy_func != NULL)) {
#line 1557 "selectionbar.c"
		int i;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			if (((gpointer*) array)[i] != NULL) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
				destroy_func (((gpointer*) array)[i]);
#line 1565 "selectionbar.c"
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_vala_array_destroy (array, array_length, destroy_func);
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_free (array);
#line 1577 "selectionbar.c"
}



