/* snapshot-list-row.c generated by valac 0.26.0.50-d9a75, the Vala compiler
 * generated from snapshot-list-row.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 <libvirt-gobject/libvirt-gobject.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <cairo.h>
#include <float.h>
#include <math.h>
#include <gdk/gdk.h>
#include <glib/gi18n-lib.h>
#include <libgd/gd.h>


#define BOXES_TYPE_SNAPSHOT_LIST_ROW (boxes_snapshot_list_row_get_type ())
#define BOXES_SNAPSHOT_LIST_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SNAPSHOT_LIST_ROW, BoxesSnapshotListRow))
#define BOXES_SNAPSHOT_LIST_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SNAPSHOT_LIST_ROW, BoxesSnapshotListRowClass))
#define BOXES_IS_SNAPSHOT_LIST_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SNAPSHOT_LIST_ROW))
#define BOXES_IS_SNAPSHOT_LIST_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SNAPSHOT_LIST_ROW))
#define BOXES_SNAPSHOT_LIST_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SNAPSHOT_LIST_ROW, BoxesSnapshotListRowClass))

typedef struct _BoxesSnapshotListRow BoxesSnapshotListRow;
typedef struct _BoxesSnapshotListRowClass BoxesSnapshotListRowClass;
typedef struct _BoxesSnapshotListRowPrivate BoxesSnapshotListRowPrivate;

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

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

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

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;

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

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

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

typedef struct _BoxesAppWindow BoxesAppWindow;
typedef struct _BoxesAppWindowClass BoxesAppWindowClass;

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

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIIface BoxesUIIface;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
typedef struct _Block94Data Block94Data;

#define BOXES_MACHINE_TYPE_CONNECT_FLAGS (boxes_machine_connect_flags_get_type ())
typedef struct _BoxesAppWindowPrivate BoxesAppWindowPrivate;

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

typedef struct _BoxesWizardWindow BoxesWizardWindow;
typedef struct _BoxesWizardWindowClass BoxesWizardWindowClass;

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

typedef struct _BoxesPropertiesWindow BoxesPropertiesWindow;
typedef struct _BoxesPropertiesWindowClass BoxesPropertiesWindowClass;

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

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

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

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

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

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

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

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

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

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

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

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;

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

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;
typedef struct _Block95Data Block95Data;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))

struct _BoxesSnapshotListRow {
	GtkListBoxRow parent_instance;
	BoxesSnapshotListRowPrivate * priv;
	GVirDomainSnapshot* snapshot;
};

struct _BoxesSnapshotListRowClass {
	GtkListBoxRowClass parent_class;
};

struct _BoxesSnapshotListRowPrivate {
	gchar* _activity_message;
	GtkLabel* name_label;
	GtkStack* mode_stack;
	GtkEntry* name_entry;
	GtkBox* edit_name_box;
	GtkBox* show_name_box;
	gint index;
	gint parent_size;
	BoxesLibvirtMachine* machine;
	GtkContainer* parent_container;
};

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

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

struct _Block94Data {
	int _ref_count_;
	BoxesSnapshotListRow* self;
	gulong restart_id;
};

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

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

struct _BoxesAppWindowClass {
	GtkApplicationWindowClass parent_class;
};

struct _Block95Data {
	int _ref_count_;
	BoxesSnapshotListRow* self;
	BoxesSnapshotListRow* row;
};

typedef void (*BoxesNotificationOKFunc) (void* user_data);
typedef void (*BoxesNotificationCancelFunc) (void* user_data);

static gpointer boxes_snapshot_list_row_parent_class = NULL;

GType boxes_snapshot_list_row_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
#define BOXES_SNAPSHOT_LIST_ROW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_SNAPSHOT_LIST_ROW, BoxesSnapshotListRowPrivate))
enum  {
	BOXES_SNAPSHOT_LIST_ROW_DUMMY_PROPERTY,
	BOXES_SNAPSHOT_LIST_ROW_ACTIVITY_MESSAGE
};
static void boxes_snapshot_list_row_revert_to_activated (BoxesSnapshotListRow* self, GSimpleAction* action, GVariant* v);
static void _boxes_snapshot_list_row_revert_to_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void boxes_snapshot_list_row_rename_activated (BoxesSnapshotListRow* self, GSimpleAction* action, GVariant* v);
static void _boxes_snapshot_list_row_rename_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void boxes_snapshot_list_row_delete_activated (BoxesSnapshotListRow* self, GSimpleAction* action, GVariant* v);
static void _boxes_snapshot_list_row_delete_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
BoxesSnapshotListRow* boxes_snapshot_list_row_new (GVirDomainSnapshot* snapshot, BoxesLibvirtMachine* machine);
BoxesSnapshotListRow* boxes_snapshot_list_row_construct (GType object_type, GVirDomainSnapshot* snapshot, BoxesLibvirtMachine* machine);
static gboolean boxes_snapshot_list_row_real_draw (GtkWidget* base, cairo_t* ct);
static void boxes_snapshot_list_row_on_save_name_button_clicked (BoxesSnapshotListRow* self);
static void _boxes_snapshot_list_row_on_save_name_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
void boxes_snapshot_list_row_set_activity_message (BoxesSnapshotListRow* self, const gchar* value);
GType boxes_app_window_get_type (void) G_GNUC_CONST;
BoxesAppWindow* boxes_machine_get_window (BoxesMachine* self);
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
BoxesUIState boxes_ui_get_previous_ui_state (BoxesUI* self);
static Block94Data* block94_data_ref (Block94Data* _data94_);
static void block94_data_unref (void * _userdata_);
GVirDomain* boxes_libvirt_machine_get_domain (BoxesLibvirtMachine* self);
static void ___lambda147_ (Block94Data* _data94_);
GType boxes_machine_connect_flags_get_type (void) G_GNUC_CONST;
void boxes_libvirt_machine_start (BoxesLibvirtMachine* self, BoxesMachineConnectFlags flags, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_libvirt_machine_start_finish (BoxesLibvirtMachine* self, GAsyncResult* _res_, GError** error);
static void ____lambda147__gvir_domain_stopped (GVirDomain* _sender, gpointer self);
static void __lambda148_ (BoxesSnapshotListRow* self, GObject* obj, GAsyncResult* res);
GType boxes_wizard_window_get_type (void) G_GNUC_CONST;
GType boxes_properties_window_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
GdNotification* boxes_notificationbar_display_error (BoxesNotificationbar* self, const gchar* message, gint timeout);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
static void ___lambda148__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static Block95Data* block95_data_ref (Block95Data* _data95_);
static void block95_data_unref (void * _userdata_);
static void __lambda149_ (Block95Data* _data95_);
static void ___lambda149__boxes_notification_ok_func (gpointer self);
static void __lambda150_ (Block95Data* _data95_);
static void __lambda151_ (BoxesSnapshotListRow* self, GObject* obj, GAsyncResult* res);
static void ___lambda151__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void ___lambda150__boxes_notification_cancel_func (gpointer self);
GdNotification* boxes_notificationbar_display_for_action (BoxesNotificationbar* self, const gchar* message, const gchar* action_label, BoxesNotificationOKFunc action_func, void* action_func_target, GDestroyNotify action_func_target_destroy_notify, BoxesNotificationCancelFunc ignore_func, void* ignore_func_target, GDestroyNotify ignore_func_target_destroy_notify, gint timeout);
static void boxes_snapshot_list_row_update_index (BoxesSnapshotListRow* self);
const gchar* boxes_snapshot_list_row_get_activity_message (BoxesSnapshotListRow* self);
static GObject * boxes_snapshot_list_row_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void _boxes_snapshot_list_row___lambda152_ (BoxesSnapshotListRow* self);
static void _boxes_snapshot_list_row_update_index_gtk_container_add (GtkContainer* _sender, GtkWidget* widget, gpointer self);
static void _boxes_snapshot_list_row_update_index_gtk_container_remove (GtkContainer* _sender, GtkWidget* widget, gpointer self);
static void __boxes_snapshot_list_row___lambda152__gtk_widget_parent_set (GtkWidget* _sender, GtkWidget* previous_parent, gpointer self);
static void boxes_snapshot_list_row_finalize (GObject* obj);
static void _vala_boxes_snapshot_list_row_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_snapshot_list_row_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);

static const GActionEntry BOXES_SNAPSHOT_LIST_ROW_action_entries[3] = {{"revert-to", _boxes_snapshot_list_row_revert_to_activated_gsimple_action_activate_callback}, {"rename", _boxes_snapshot_list_row_rename_activated_gsimple_action_activate_callback}, {"delete", _boxes_snapshot_list_row_delete_activated_gsimple_action_activate_callback}};

static void _boxes_snapshot_list_row_revert_to_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_revert_to_activated ((BoxesSnapshotListRow*) self, action, parameter);
#line 337 "snapshot-list-row.c"
}


static void _boxes_snapshot_list_row_rename_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_rename_activated ((BoxesSnapshotListRow*) self, action, parameter);
#line 344 "snapshot-list-row.c"
}


static void _boxes_snapshot_list_row_delete_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_delete_activated ((BoxesSnapshotListRow*) self, action, parameter);
#line 351 "snapshot-list-row.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	return self ? g_object_ref (self) : NULL;
#line 358 "snapshot-list-row.c"
}


BoxesSnapshotListRow* boxes_snapshot_list_row_construct (GType object_type, GVirDomainSnapshot* snapshot, BoxesLibvirtMachine* machine) {
	BoxesSnapshotListRow * self = NULL;
	GVirDomainSnapshot* _tmp0_ = NULL;
	GVirDomainSnapshot* _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_ = NULL;
	BoxesLibvirtMachine* _tmp3_ = NULL;
	GSimpleActionGroup* action_group = NULL;
	GSimpleActionGroup* _tmp13_ = NULL;
	GError * _inner_error_ = NULL;
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_val_if_fail (snapshot != NULL, NULL);
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self = (BoxesSnapshotListRow*) g_object_new (object_type, NULL);
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = snapshot;
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->snapshot);
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->snapshot = _tmp1_;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp2_ = machine;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->priv->machine);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv->machine = _tmp3_;
#line 393 "snapshot-list-row.c"
	{
		GVirConfigDomainSnapshot* _tmp4_ = NULL;
		GVirDomainSnapshot* _tmp5_ = NULL;
		GVirConfigDomainSnapshot* _tmp6_ = NULL;
		GtkLabel* _tmp7_ = NULL;
		GVirConfigDomainSnapshot* _tmp8_ = NULL;
		GVirConfigDomainSnapshot* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp5_ = snapshot;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp6_ = gvir_domain_snapshot_get_config (_tmp5_, (guint) 0, &_inner_error_);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp4_ = _tmp6_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 410 "snapshot-list-row.c"
			goto __catch129_g_error;
		}
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp7_ = self->priv->name_label;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp8_ = _tmp4_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp4_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp9_ = _tmp8_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp10_ = gvir_config_domain_snapshot_get_description (_tmp9_);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gtk_label_set_label (_tmp7_, _tmp10_);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (_tmp9_);
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (_tmp4_);
#line 429 "snapshot-list-row.c"
	}
	goto __finally129;
	__catch129_g_error:
	{
		GError* e = NULL;
		GError* _tmp11_ = NULL;
		const gchar* _tmp12_ = NULL;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		e = _inner_error_;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_inner_error_ = NULL;
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp11_ = e;
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp12_ = _tmp11_->message;
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_critical ("snapshot-list-row.vala:58: %s", _tmp12_);
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_error_free0 (e);
#line 449 "snapshot-list-row.c"
	}
	__finally129:
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.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 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_clear_error (&_inner_error_);
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return NULL;
#line 460 "snapshot-list-row.c"
	}
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp13_ = g_simple_action_group_new ();
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	action_group = _tmp13_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_action_map_add_action_entries ((GActionMap*) action_group, BOXES_SNAPSHOT_LIST_ROW_action_entries, G_N_ELEMENTS (BOXES_SNAPSHOT_LIST_ROW_action_entries), self);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_insert_action_group ((GtkWidget*) self, "snap", (GActionGroup*) action_group);
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (action_group);
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	return self;
#line 474 "snapshot-list-row.c"
}


BoxesSnapshotListRow* boxes_snapshot_list_row_new (GVirDomainSnapshot* snapshot, BoxesLibvirtMachine* machine) {
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	return boxes_snapshot_list_row_construct (BOXES_TYPE_SNAPSHOT_LIST_ROW, snapshot, machine);
#line 481 "snapshot-list-row.c"
}


static gboolean boxes_snapshot_list_row_real_draw (GtkWidget* base, cairo_t* ct) {
	BoxesSnapshotListRow * self;
	gboolean result = FALSE;
	cairo_t* _tmp0_ = NULL;
	gint height = 0;
	gint _tmp1_ = 0;
	GtkStyleContext* sc = NULL;
	GtkStyleContext* _tmp2_ = NULL;
	GtkStyleContext* _tmp3_ = NULL;
	gdouble indicator_size = 0.0;
	gint _tmp4_ = 0;
	GtkStyleContext* _tmp5_ = NULL;
	GtkStyleContext* _tmp6_ = NULL;
	GdkRGBA line_color = {0};
	GtkStyleContext* _tmp7_ = NULL;
	GtkStateFlags _tmp8_ = 0;
	GdkRGBA _tmp9_ = {0};
	cairo_t* _tmp10_ = NULL;
	GdkRGBA _tmp11_ = {0};
	gdouble _tmp12_ = 0.0;
	GdkRGBA _tmp13_ = {0};
	gdouble _tmp14_ = 0.0;
	GdkRGBA _tmp15_ = {0};
	gdouble _tmp16_ = 0.0;
	GdkRGBA _tmp17_ = {0};
	gdouble _tmp18_ = 0.0;
	cairo_t* _tmp19_ = NULL;
	gint _tmp20_ = 0;
	gint _tmp27_ = 0;
	gint _tmp28_ = 0;
	gboolean is_current = FALSE;
	gboolean _tmp40_ = FALSE;
	cairo_t* _tmp42_ = NULL;
	GtkStyleContext* _tmp43_ = NULL;
	cairo_t* _tmp44_ = NULL;
	gint _tmp45_ = 0;
	gint _tmp46_ = 0;
	gdouble _tmp47_ = 0.0;
	gdouble _tmp48_ = 0.0;
	GtkStyleContext* _tmp49_ = NULL;
	cairo_t* _tmp50_ = NULL;
	gint _tmp51_ = 0;
	gint _tmp52_ = 0;
	gdouble _tmp53_ = 0.0;
	gdouble _tmp54_ = 0.0;
	cairo_t* _tmp55_ = NULL;
	GtkStyleContext* _tmp56_ = NULL;
	GError * _inner_error_ = NULL;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self = (BoxesSnapshotListRow*) base;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_val_if_fail (ct != NULL, FALSE);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = ct;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	GTK_WIDGET_CLASS (boxes_snapshot_list_row_parent_class)->draw ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_list_box_row_get_type (), GtkListBoxRow), _tmp0_);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = gtk_widget_get_allocated_height ((GtkWidget*) self);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	height = _tmp1_;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp2_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	sc = _tmp3_;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp4_ = height;
#line 72 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	indicator_size = _tmp4_ / 2.0;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp5_ = sc;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_style_context_save (_tmp5_);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp6_ = sc;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_style_context_add_class (_tmp6_, "indicator");
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp7_ = sc;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp8_ = gtk_widget_get_state_flags ((GtkWidget*) self);
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_style_context_get_background_color (_tmp7_, _tmp8_, &_tmp9_);
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	line_color = _tmp9_;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp10_ = ct;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp11_ = line_color;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp12_ = _tmp11_.red;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp13_ = line_color;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp14_ = _tmp13_.green;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp15_ = line_color;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp16_ = _tmp15_.blue;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp17_ = line_color;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp18_ = _tmp17_.alpha;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	cairo_set_source_rgba (_tmp10_, _tmp12_, _tmp14_, _tmp16_, _tmp18_);
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp19_ = ct;
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	cairo_set_line_width (_tmp19_, (gdouble) 4);
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp20_ = self->priv->index;
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (_tmp20_ > 0) {
#line 599 "snapshot-list-row.c"
		cairo_t* _tmp21_ = NULL;
		gint _tmp22_ = 0;
		cairo_t* _tmp23_ = NULL;
		gint _tmp24_ = 0;
		gint _tmp25_ = 0;
		cairo_t* _tmp26_ = NULL;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp21_ = ct;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp22_ = height;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		cairo_move_to (_tmp21_, (_tmp22_ / 2.0) + 0.5, (gdouble) (-1));
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp23_ = ct;
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp24_ = height;
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp25_ = height;
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		cairo_line_to (_tmp23_, (_tmp24_ / 2.0) + 0.5, _tmp25_ / 2.0);
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp26_ = ct;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		cairo_stroke (_tmp26_);
#line 624 "snapshot-list-row.c"
	}
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp27_ = self->priv->index;
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp28_ = self->priv->parent_size;
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (_tmp27_ < (_tmp28_ - 1)) {
#line 632 "snapshot-list-row.c"
		cairo_t* _tmp29_ = NULL;
		gint _tmp30_ = 0;
		gint _tmp31_ = 0;
		cairo_t* _tmp32_ = NULL;
		gint _tmp33_ = 0;
		gint _tmp34_ = 0;
		cairo_t* _tmp35_ = NULL;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp29_ = ct;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp30_ = height;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp31_ = height;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		cairo_move_to (_tmp29_, (_tmp30_ / 2.0) + 0.5, _tmp31_ / 2.0);
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp32_ = ct;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp33_ = height;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp34_ = height;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		cairo_line_to (_tmp32_, (_tmp33_ / 2.0) + 0.5, (gdouble) (_tmp34_ + 1));
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp35_ = ct;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		cairo_stroke (_tmp35_);
#line 660 "snapshot-list-row.c"
	}
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	is_current = FALSE;
#line 664 "snapshot-list-row.c"
	{
		GVirDomainSnapshot* _tmp36_ = NULL;
		gboolean _tmp37_ = FALSE;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp36_ = self->snapshot;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gvir_domain_snapshot_get_is_current (_tmp36_, (guint) 0, &_tmp37_, &_inner_error_);
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		is_current = _tmp37_;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 676 "snapshot-list-row.c"
			goto __catch130_g_error;
		}
	}
	goto __finally130;
	__catch130_g_error:
	{
		GError* e = NULL;
		GError* _tmp38_ = NULL;
		const gchar* _tmp39_ = NULL;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		e = _inner_error_;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_inner_error_ = NULL;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp38_ = e;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp39_ = _tmp38_->message;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_warning ("snapshot-list-row.vala:95: %s", _tmp39_);
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_error_free0 (e);
#line 698 "snapshot-list-row.c"
	}
	__finally130:
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (sc);
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.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 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_clear_error (&_inner_error_);
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return FALSE;
#line 711 "snapshot-list-row.c"
	}
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp40_ = is_current;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (_tmp40_) {
#line 717 "snapshot-list-row.c"
		GtkStyleContext* _tmp41_ = NULL;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp41_ = sc;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gtk_style_context_add_class (_tmp41_, "active");
#line 723 "snapshot-list-row.c"
	}
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp42_ = ct;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	cairo_save (_tmp42_);
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp43_ = sc;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp44_ = ct;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp45_ = height;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp46_ = height;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp47_ = indicator_size;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp48_ = indicator_size;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_render_background (_tmp43_, _tmp44_, _tmp45_ / 4.0, _tmp46_ / 4.0, _tmp47_, _tmp48_);
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp49_ = sc;
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp50_ = ct;
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp51_ = height;
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp52_ = height;
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp53_ = indicator_size;
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp54_ = indicator_size;
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_render_frame (_tmp49_, _tmp50_, _tmp51_ / 4.0, _tmp52_ / 4.0, _tmp53_, _tmp54_ + 0.5);
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp55_ = ct;
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	cairo_restore (_tmp55_);
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp56_ = sc;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_style_context_restore (_tmp56_);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	result = TRUE;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (sc);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	return result;
#line 771 "snapshot-list-row.c"
}


static void boxes_snapshot_list_row_on_save_name_button_clicked (BoxesSnapshotListRow* self) {
	gchar* name = NULL;
	GtkEntry* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	GError * _inner_error_ = NULL;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (self != NULL);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = self->priv->name_entry;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp2_ = _tmp1_;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	name = _tmp3_;
#line 794 "snapshot-list-row.c"
	{
		GVirConfigDomainSnapshot* config = NULL;
		GVirDomainSnapshot* _tmp4_ = NULL;
		GVirConfigDomainSnapshot* _tmp5_ = NULL;
		GVirConfigDomainSnapshot* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		GVirDomainSnapshot* _tmp8_ = NULL;
		GVirConfigDomainSnapshot* _tmp9_ = NULL;
		GtkLabel* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
		GtkStack* _tmp12_ = NULL;
		GtkBox* _tmp13_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp4_ = self->snapshot;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp5_ = gvir_domain_snapshot_get_config (_tmp4_, (guint) 0, &_inner_error_);
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		config = _tmp5_;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 815 "snapshot-list-row.c"
			goto __catch131_g_error;
		}
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp6_ = config;
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp7_ = name;
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gvir_config_domain_snapshot_set_description (_tmp6_, _tmp7_);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp8_ = self->snapshot;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp9_ = config;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gvir_domain_snapshot_set_config (_tmp8_, _tmp9_, &_inner_error_);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
			_g_object_unref0 (config);
#line 834 "snapshot-list-row.c"
			goto __catch131_g_error;
		}
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp10_ = self->priv->name_label;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp11_ = name;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gtk_label_set_label (_tmp10_, _tmp11_);
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp12_ = self->priv->mode_stack;
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp13_ = self->priv->show_name_box;
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gtk_stack_set_visible_child (_tmp12_, (GtkWidget*) _tmp13_);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (config);
#line 851 "snapshot-list-row.c"
	}
	goto __finally131;
	__catch131_g_error:
	{
		GError* e = NULL;
		const gchar* _tmp14_ = NULL;
		GError* _tmp15_ = NULL;
		const gchar* _tmp16_ = NULL;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		e = _inner_error_;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_inner_error_ = NULL;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp14_ = name;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp15_ = e;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp16_ = _tmp15_->message;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_warning ("snapshot-list-row.vala:122: Failed to change name of snapshot to %s: %" \
"s", _tmp14_, _tmp16_);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_error_free0 (e);
#line 874 "snapshot-list-row.c"
	}
	__finally131:
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_free0 (name);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.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 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_clear_error (&_inner_error_);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return;
#line 887 "snapshot-list-row.c"
	}
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_free0 (name);
#line 891 "snapshot-list-row.c"
}


static void _boxes_snapshot_list_row_on_save_name_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_on_save_name_button_clicked ((BoxesSnapshotListRow*) self);
#line 898 "snapshot-list-row.c"
}


static Block94Data* block94_data_ref (Block94Data* _data94_) {
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_atomic_int_inc (&_data94_->_ref_count_);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	return _data94_;
#line 907 "snapshot-list-row.c"
}


static void block94_data_unref (void * _userdata_) {
	Block94Data* _data94_;
	_data94_ = (Block94Data*) _userdata_;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (g_atomic_int_dec_and_test (&_data94_->_ref_count_)) {
#line 916 "snapshot-list-row.c"
		BoxesSnapshotListRow* self;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		self = _data94_->self;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (self);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_slice_free (Block94Data, _data94_);
#line 924 "snapshot-list-row.c"
	}
}


static void ___lambda147_ (Block94Data* _data94_) {
	BoxesSnapshotListRow* self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	GVirDomain* _tmp2_ = NULL;
	GVirDomain* _tmp3_ = NULL;
	gulong _tmp4_ = 0UL;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self = _data94_->self;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = self->priv->machine;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_libvirt_machine_start (_tmp0_, BOXES_MACHINE_CONNECT_FLAGS_NONE, NULL, NULL, NULL);
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = self->priv->machine;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp2_ = boxes_libvirt_machine_get_domain (_tmp1_);
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp3_ = _tmp2_;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp4_ = _data94_->restart_id;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_signal_handler_disconnect ((GObject*) _tmp3_, _tmp4_);
#line 952 "snapshot-list-row.c"
}


static void ____lambda147__gvir_domain_stopped (GVirDomain* _sender, gpointer self) {
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	___lambda147_ (self);
#line 959 "snapshot-list-row.c"
}


static void __lambda148_ (BoxesSnapshotListRow* self, GObject* obj, GAsyncResult* res) {
	GError * _inner_error_ = NULL;
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (res != NULL);
#line 967 "snapshot-list-row.c"
	{
		GVirDomainSnapshot* _tmp0_ = NULL;
		GAsyncResult* _tmp1_ = NULL;
		GtkContainer* _tmp2_ = NULL;
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp0_ = self->snapshot;
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp1_ = res;
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gvir_domain_snapshot_revert_to_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 980 "snapshot-list-row.c"
			goto __catch133_g_error;
		}
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp2_ = self->priv->parent_container;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gtk_widget_queue_draw ((GtkWidget*) _tmp2_);
#line 987 "snapshot-list-row.c"
	}
	goto __finally133;
	__catch133_g_error:
	{
		GError* e = NULL;
		GError* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		BoxesLibvirtMachine* _tmp5_ = NULL;
		BoxesAppWindow* _tmp6_ = NULL;
		BoxesAppWindow* _tmp7_ = NULL;
		BoxesNotificationbar* _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
		GdNotification* _tmp10_ = NULL;
		GdNotification* _tmp11_ = NULL;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		e = _inner_error_;
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_inner_error_ = NULL;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp3_ = e;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp4_ = _tmp3_->message;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_warning ("snapshot-list-row.vala:154: %s", _tmp4_);
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp5_ = self->priv->machine;
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp6_ = boxes_machine_get_window ((BoxesMachine*) _tmp5_);
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp7_ = _tmp6_;
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp8_ = _tmp7_->notificationbar;
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp9_ = _ ("Failed to apply snapshot");
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp10_ = boxes_notificationbar_display_error (_tmp8_, _tmp9_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp11_ = _tmp10_;
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (_tmp11_);
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_error_free0 (e);
#line 1030 "snapshot-list-row.c"
	}
	__finally133:
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.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 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_clear_error (&_inner_error_);
#line 150 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return;
#line 1041 "snapshot-list-row.c"
	}
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_set_activity_message (self, NULL);
#line 1045 "snapshot-list-row.c"
}


static void ___lambda148__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	__lambda148_ ((BoxesSnapshotListRow*) self, source_object, res);
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_object_unref (self);
#line 1054 "snapshot-list-row.c"
}


static void boxes_snapshot_list_row_revert_to_activated (BoxesSnapshotListRow* self, GSimpleAction* action, GVariant* v) {
	gchar* snapshot_name = NULL;
	GVirDomainSnapshot* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	GVirConfigDomainSnapshotDomainState snapshot_state = 0;
	const gchar* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
	BoxesLibvirtMachine* _tmp13_ = NULL;
	BoxesAppWindow* _tmp14_ = NULL;
	BoxesAppWindow* _tmp15_ = NULL;
	BoxesUIState _tmp16_ = 0;
	BoxesUIState _tmp17_ = 0;
	GVirDomainSnapshot* _tmp23_ = NULL;
	GError * _inner_error_ = NULL;
#line 127 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (self != NULL);
#line 127 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (action != NULL);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = self->snapshot;
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = gvir_domain_snapshot_get_name (_tmp0_);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	snapshot_name = _tmp2_;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	snapshot_state = GVIR_CONFIG_DOMAIN_SNAPSHOT_DOMAIN_STATE_NOSTATE;
#line 1090 "snapshot-list-row.c"
	{
		GVirConfigDomainSnapshot* snapshot_config = NULL;
		GVirDomainSnapshot* _tmp3_ = NULL;
		GVirConfigDomainSnapshot* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		GVirConfigDomainSnapshotDomainState _tmp7_ = 0;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp3_ = self->snapshot;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp4_ = gvir_domain_snapshot_get_config (_tmp3_, (guint) 0, &_inner_error_);
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		snapshot_config = _tmp4_;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1106 "snapshot-list-row.c"
			goto __catch132_g_error;
		}
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp5_ = gvir_config_domain_snapshot_get_description (snapshot_config);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp6_ = g_strdup (_tmp5_);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_free0 (snapshot_name);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		snapshot_name = _tmp6_;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp7_ = gvir_config_domain_snapshot_get_state (snapshot_config);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		snapshot_state = _tmp7_;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (snapshot_config);
#line 1123 "snapshot-list-row.c"
	}
	goto __finally132;
	__catch132_g_error:
	{
		GError* e = NULL;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		e = _inner_error_;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_inner_error_ = NULL;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_error_free0 (e);
#line 1135 "snapshot-list-row.c"
	}
	__finally132:
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_free0 (snapshot_name);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.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 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_clear_error (&_inner_error_);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return;
#line 1148 "snapshot-list-row.c"
	}
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp8_ = _ ("Reverting to %s…");
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp9_ = snapshot_name;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp10_ = g_strdup_printf (_tmp8_, _tmp9_);
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp11_ = _tmp10_;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_set_activity_message (self, _tmp11_);
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_free0 (_tmp11_);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp13_ = self->priv->machine;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp14_ = boxes_machine_get_window ((BoxesMachine*) _tmp13_);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp15_ = _tmp14_;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp16_ = boxes_ui_get_previous_ui_state ((BoxesUI*) _tmp15_);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp17_ = _tmp16_;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (_tmp17_ == BOXES_UI_STATE_DISPLAY) {
#line 1174 "snapshot-list-row.c"
		GVirConfigDomainSnapshotDomainState _tmp18_ = 0;
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp18_ = snapshot_state;
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp12_ = _tmp18_ == GVIR_CONFIG_DOMAIN_SNAPSHOT_DOMAIN_STATE_SHUTOFF;
#line 1180 "snapshot-list-row.c"
	} else {
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp12_ = FALSE;
#line 1184 "snapshot-list-row.c"
	}
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (_tmp12_) {
#line 1188 "snapshot-list-row.c"
		Block94Data* _data94_;
		BoxesLibvirtMachine* _tmp19_ = NULL;
		GVirDomain* _tmp20_ = NULL;
		GVirDomain* _tmp21_ = NULL;
		gulong _tmp22_ = 0UL;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_data94_ = g_slice_new0 (Block94Data);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_data94_->_ref_count_ = 1;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_data94_->self = g_object_ref (self);
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_data94_->restart_id = (gulong) 0;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp19_ = self->priv->machine;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp20_ = boxes_libvirt_machine_get_domain (_tmp19_);
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp21_ = _tmp20_;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp22_ = g_signal_connect_data (_tmp21_, "stopped", (GCallback) ____lambda147__gvir_domain_stopped, block94_data_ref (_data94_), (GClosureNotify) block94_data_unref, 0);
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_data94_->restart_id = _tmp22_;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		block94_data_unref (_data94_);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_data94_ = NULL;
#line 1216 "snapshot-list-row.c"
	}
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp23_ = self->snapshot;
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gvir_domain_snapshot_revert_to_async (_tmp23_, (guint) 0, NULL, ___lambda148__gasync_ready_callback, g_object_ref (self));
#line 127 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_free0 (snapshot_name);
#line 1224 "snapshot-list-row.c"
}


static Block95Data* block95_data_ref (Block95Data* _data95_) {
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_atomic_int_inc (&_data95_->_ref_count_);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	return _data95_;
#line 1233 "snapshot-list-row.c"
}


static void block95_data_unref (void * _userdata_) {
	Block95Data* _data95_;
	_data95_ = (Block95Data*) _userdata_;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (g_atomic_int_dec_and_test (&_data95_->_ref_count_)) {
#line 1242 "snapshot-list-row.c"
		BoxesSnapshotListRow* self;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		self = _data95_->self;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (_data95_->row);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (self);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_slice_free (Block95Data, _data95_);
#line 1252 "snapshot-list-row.c"
	}
}


static void __lambda149_ (Block95Data* _data95_) {
	BoxesSnapshotListRow* self;
	GtkContainer* _tmp0_ = NULL;
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self = _data95_->self;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = self->priv->parent_container;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_container_add (_tmp0_, (GtkWidget*) self);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (_data95_->row);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_data95_->row = NULL;
#line 1270 "snapshot-list-row.c"
}


static void ___lambda149__boxes_notification_ok_func (gpointer self) {
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	__lambda149_ (self);
#line 1277 "snapshot-list-row.c"
}


static void __lambda151_ (BoxesSnapshotListRow* self, GObject* obj, GAsyncResult* res) {
	GError * _inner_error_ = NULL;
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (res != NULL);
#line 1285 "snapshot-list-row.c"
	{
		GVirDomainSnapshot* _tmp0_ = NULL;
		GAsyncResult* _tmp1_ = NULL;
		GtkContainer* _tmp2_ = NULL;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp0_ = self->snapshot;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp1_ = res;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gvir_domain_snapshot_delete_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1298 "snapshot-list-row.c"
			goto __catch135_g_error;
		}
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp2_ = self->priv->parent_container;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		gtk_widget_queue_draw ((GtkWidget*) _tmp2_);
#line 1305 "snapshot-list-row.c"
	}
	goto __finally135;
	__catch135_g_error:
	{
		GError* e = NULL;
		GVirDomainSnapshot* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		e = _inner_error_;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_inner_error_ = NULL;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp3_ = self->snapshot;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp4_ = gvir_domain_snapshot_get_name (_tmp3_);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp5_ = e;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp6_ = _tmp5_->message;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_warning ("snapshot-list-row.vala:188: Error while deleting snapshot %s: %s", _tmp4_, _tmp6_);
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_error_free0 (e);
#line 1331 "snapshot-list-row.c"
	}
	__finally135:
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.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 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_clear_error (&_inner_error_);
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return;
#line 1342 "snapshot-list-row.c"
	}
}


static void ___lambda151__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	__lambda151_ ((BoxesSnapshotListRow*) self, source_object, res);
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_object_unref (self);
#line 1352 "snapshot-list-row.c"
}


static void __lambda150_ (Block95Data* _data95_) {
	BoxesSnapshotListRow* self;
	GVirDomainSnapshot* _tmp0_ = NULL;
#line 182 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self = _data95_->self;
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = self->snapshot;
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gvir_domain_snapshot_delete_async (_tmp0_, (guint) 0, NULL, ___lambda151__gasync_ready_callback, g_object_ref (self));
#line 191 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (_data95_->row);
#line 191 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_data95_->row = NULL;
#line 1369 "snapshot-list-row.c"
}


static void ___lambda150__boxes_notification_cancel_func (gpointer self) {
#line 182 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	__lambda150_ (self);
#line 1376 "snapshot-list-row.c"
}


static void boxes_snapshot_list_row_delete_activated (BoxesSnapshotListRow* self, GSimpleAction* action, GVariant* v) {
	Block95Data* _data95_;
	gchar* snapshot_identifier = NULL;
	GVirDomainSnapshot* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* message = NULL;
	const gchar* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	GtkContainer* _tmp14_ = NULL;
	BoxesSnapshotListRow* _tmp15_ = NULL;
	GtkContainer* _tmp16_ = NULL;
	BoxesNotificationOKFunc undo = NULL;
	void* undo_target = NULL;
	GDestroyNotify undo_target_destroy_notify = NULL;
	BoxesNotificationCancelFunc really_remove = NULL;
	void* really_remove_target = NULL;
	GDestroyNotify really_remove_target_destroy_notify = NULL;
	BoxesLibvirtMachine* _tmp17_ = NULL;
	BoxesAppWindow* _tmp18_ = NULL;
	BoxesAppWindow* _tmp19_ = NULL;
	BoxesNotificationbar* _tmp20_ = NULL;
	const gchar* _tmp21_ = NULL;
	BoxesNotificationOKFunc _tmp22_ = NULL;
	void* _tmp22__target = NULL;
	GDestroyNotify _tmp22__target_destroy_notify = NULL;
	BoxesNotificationCancelFunc _tmp23_ = NULL;
	void* _tmp23__target = NULL;
	GDestroyNotify _tmp23__target_destroy_notify = NULL;
	GdNotification* _tmp24_ = NULL;
	GdNotification* _tmp25_ = NULL;
	GError * _inner_error_ = NULL;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (self != NULL);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (action != NULL);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_data95_ = g_slice_new0 (Block95Data);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_data95_->_ref_count_ = 1;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_data95_->self = g_object_ref (self);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = self->snapshot;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = gvir_domain_snapshot_get_name (_tmp0_);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	snapshot_identifier = _tmp2_;
#line 1431 "snapshot-list-row.c"
	{
		GVirConfigDomainSnapshot* config = NULL;
		GVirDomainSnapshot* _tmp3_ = NULL;
		GVirConfigDomainSnapshot* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp3_ = self->snapshot;
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp4_ = gvir_domain_snapshot_get_config (_tmp3_, (guint) 0, &_inner_error_);
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		config = _tmp4_;
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1446 "snapshot-list-row.c"
			goto __catch134_g_error;
		}
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp5_ = gvir_config_domain_snapshot_get_description (config);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp6_ = g_strdup (_tmp5_);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_free0 (snapshot_identifier);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		snapshot_identifier = _tmp6_;
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (config);
#line 1459 "snapshot-list-row.c"
	}
	goto __finally134;
	__catch134_g_error:
	{
		GError* e = NULL;
		GVirDomainSnapshot* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		GError* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		e = _inner_error_;
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_inner_error_ = NULL;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp7_ = self->snapshot;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp8_ = gvir_domain_snapshot_get_name (_tmp7_);
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp9_ = e;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp10_ = _tmp9_->message;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_warning ("snapshot-list-row.vala:168: Could not get configuration of snapshot %s" \
": %s", _tmp8_, _tmp10_);
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_error_free0 (e);
#line 1485 "snapshot-list-row.c"
	}
	__finally134:
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_free0 (snapshot_identifier);
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		block95_data_unref (_data95_);
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_data95_ = NULL;
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.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 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_clear_error (&_inner_error_);
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return;
#line 1502 "snapshot-list-row.c"
	}
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp11_ = _ ("Snapshot \"%s\" deleted.");
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp12_ = snapshot_identifier;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp13_ = g_strdup_printf (_tmp11_, _tmp12_);
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	message = _tmp13_;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp14_ = (GtkContainer*) gtk_widget_get_parent ((GtkWidget*) self);
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv->parent_container = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_container_get_type (), GtkContainer);
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp15_ = _g_object_ref0 (self);
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_data95_->row = _tmp15_;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp16_ = self->priv->parent_container;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_container_remove (_tmp16_, (GtkWidget*) self);
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	undo = ___lambda149__boxes_notification_ok_func;
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	undo_target = block95_data_ref (_data95_);
#line 177 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	undo_target_destroy_notify = block95_data_unref;
#line 182 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	really_remove = ___lambda150__boxes_notification_cancel_func;
#line 182 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	really_remove_target = block95_data_ref (_data95_);
#line 182 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	really_remove_target_destroy_notify = block95_data_unref;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp17_ = self->priv->machine;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp18_ = boxes_machine_get_window ((BoxesMachine*) _tmp17_);
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp19_ = _tmp18_;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp20_ = _tmp19_->notificationbar;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp21_ = _ ("_Undo");
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp22_ = undo;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp22__target = undo_target;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp22__target_destroy_notify = undo_target_destroy_notify;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	undo_target_destroy_notify = NULL;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp23_ = really_remove;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp23__target = really_remove_target;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp23__target_destroy_notify = really_remove_target_destroy_notify;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	really_remove_target_destroy_notify = NULL;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp24_ = boxes_notificationbar_display_for_action (_tmp20_, message, _tmp21_, _tmp22_, _tmp22__target, _tmp22__target_destroy_notify, _tmp23_, _tmp23__target, _tmp23__target_destroy_notify, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp25_ = _tmp24_;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (_tmp25_);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	(really_remove_target_destroy_notify == NULL) ? NULL : (really_remove_target_destroy_notify (really_remove_target), NULL);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	really_remove = NULL;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	really_remove_target = NULL;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	really_remove_target_destroy_notify = NULL;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	(undo_target_destroy_notify == NULL) ? NULL : (undo_target_destroy_notify (undo_target), NULL);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	undo = NULL;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	undo_target = NULL;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	undo_target_destroy_notify = NULL;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_free0 (message);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_free0 (snapshot_identifier);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	block95_data_unref (_data95_);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_data95_ = NULL;
#line 1592 "snapshot-list-row.c"
}


static void boxes_snapshot_list_row_rename_activated (BoxesSnapshotListRow* self, GSimpleAction* action, GVariant* v) {
	GtkEntry* _tmp0_ = NULL;
	GtkLabel* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	GtkStack* _tmp3_ = NULL;
	GtkBox* _tmp4_ = NULL;
	GtkEntry* _tmp5_ = NULL;
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (self != NULL);
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (action != NULL);
#line 200 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = self->priv->name_entry;
#line 200 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = self->priv->name_label;
#line 200 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp2_ = gtk_label_get_text (_tmp1_);
#line 200 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_entry_set_text (_tmp0_, _tmp2_);
#line 201 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp3_ = self->priv->mode_stack;
#line 201 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp4_ = self->priv->edit_name_box;
#line 201 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_stack_set_visible_child (_tmp3_, (GtkWidget*) _tmp4_);
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp5_ = self->priv->name_entry;
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_grab_focus ((GtkWidget*) _tmp5_);
#line 1625 "snapshot-list-row.c"
}


static void boxes_snapshot_list_row_update_index (BoxesSnapshotListRow* self) {
	GtkContainer* parent = NULL;
	GtkContainer* _tmp0_ = NULL;
	GtkContainer* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GtkContainer* _tmp3_ = NULL;
	GList* siblings = NULL;
	GtkContainer* _tmp5_ = NULL;
	GList* _tmp6_ = NULL;
	GList* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	GList* _tmp9_ = NULL;
	guint _tmp10_ = 0U;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (self != NULL);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = (GtkContainer*) gtk_widget_get_parent ((GtkWidget*) self);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	parent = _tmp1_;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp3_ = parent;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (_tmp3_ == NULL) {
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp2_ = TRUE;
#line 1656 "snapshot-list-row.c"
	} else {
		GtkContainer* _tmp4_ = NULL;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp4_ = parent;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_tmp2_ = !G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, gtk_list_box_get_type ());
#line 1663 "snapshot-list-row.c"
	}
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (_tmp2_) {
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (parent);
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return;
#line 1671 "snapshot-list-row.c"
	}
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp5_ = parent;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp6_ = gtk_container_get_children (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_container_get_type ()) ? ((GtkContainer*) _tmp5_) : NULL);
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	siblings = _tmp6_;
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp7_ = siblings;
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp8_ = g_list_index (_tmp7_, (GtkWidget*) self);
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv->index = _tmp8_;
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp9_ = siblings;
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp10_ = g_list_length (_tmp9_);
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv->parent_size = (gint) _tmp10_;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_list_free0 (siblings);
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (parent);
#line 1695 "snapshot-list-row.c"
}


const gchar* boxes_snapshot_list_row_get_activity_message (BoxesSnapshotListRow* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = self->priv->_activity_message;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	result = _tmp0_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	return result;
#line 1710 "snapshot-list-row.c"
}


void boxes_snapshot_list_row_set_activity_message (BoxesSnapshotListRow* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_return_if_fail (self != NULL);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = value;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_free0 (self->priv->_activity_message);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv->_activity_message = _tmp1_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_object_notify ((GObject *) self, "activity-message");
#line 1729 "snapshot-list-row.c"
}


static void _boxes_snapshot_list_row_update_index_gtk_container_add (GtkContainer* _sender, GtkWidget* widget, gpointer self) {
#line 42 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_update_index ((BoxesSnapshotListRow*) self);
#line 1736 "snapshot-list-row.c"
}


static void _boxes_snapshot_list_row_update_index_gtk_container_remove (GtkContainer* _sender, GtkWidget* widget, gpointer self) {
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_update_index ((BoxesSnapshotListRow*) self);
#line 1743 "snapshot-list-row.c"
}


static void _boxes_snapshot_list_row___lambda152_ (BoxesSnapshotListRow* self) {
	GtkContainer* parent = NULL;
	GtkContainer* _tmp0_ = NULL;
	GtkContainer* _tmp1_ = NULL;
	GtkContainer* _tmp2_ = NULL;
	GtkContainer* _tmp3_ = NULL;
	GtkContainer* _tmp4_ = NULL;
	GtkContainer* _tmp5_ = NULL;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = (GtkContainer*) gtk_widget_get_parent ((GtkWidget*) self);
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, gtk_container_get_type ()) ? ((GtkContainer*) _tmp0_) : NULL);
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	parent = _tmp1_;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp2_ = parent;
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	if (_tmp2_ == NULL) {
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		_g_object_unref0 (parent);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		return;
#line 1769 "snapshot-list-row.c"
	}
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp3_ = parent;
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv->parent_container = _tmp3_;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_update_index (self);
#line 42 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp4_ = parent;
#line 42 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_signal_connect_object (_tmp4_, "add", (GCallback) _boxes_snapshot_list_row_update_index_gtk_container_add, self, 0);
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp5_ = parent;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_signal_connect_object (_tmp5_, "remove", (GCallback) _boxes_snapshot_list_row_update_index_gtk_container_remove, self, 0);
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (parent);
#line 1787 "snapshot-list-row.c"
}


static void __boxes_snapshot_list_row___lambda152__gtk_widget_parent_set (GtkWidget* _sender, GtkWidget* previous_parent, gpointer self) {
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_boxes_snapshot_list_row___lambda152_ ((BoxesSnapshotListRow*) self);
#line 1794 "snapshot-list-row.c"
}


static GObject * boxes_snapshot_list_row_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	BoxesSnapshotListRow * self;
	GtkStyleContext* _tmp0_ = NULL;
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	parent_class = G_OBJECT_CLASS (boxes_snapshot_list_row_parent_class);
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_SNAPSHOT_LIST_ROW, BoxesSnapshotListRow);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_style_context_add_class (_tmp0_, "boxes-snapshot-list-row");
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_signal_connect_object ((GtkWidget*) self, "parent-set", (GCallback) __boxes_snapshot_list_row___lambda152__gtk_widget_parent_set, self, 0);
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_list_box_row_set_selectable ((GtkListBoxRow*) self, FALSE);
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_list_box_row_set_activatable ((GtkListBoxRow*) self, FALSE);
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	return obj;
#line 1821 "snapshot-list-row.c"
}


static void boxes_snapshot_list_row_class_init (BoxesSnapshotListRowClass * klass) {
	gint BoxesSnapshotListRow_private_offset;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	boxes_snapshot_list_row_parent_class = g_type_class_peek_parent (klass);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_type_class_add_private (klass, sizeof (BoxesSnapshotListRowPrivate));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	((GtkWidgetClass *) klass)->draw = boxes_snapshot_list_row_real_draw;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_snapshot_list_row_get_property;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_snapshot_list_row_set_property;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_snapshot_list_row_constructor;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_snapshot_list_row_finalize;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_SNAPSHOT_LIST_ROW_ACTIVITY_MESSAGE, g_param_spec_string ("activity-message", "activity-message", "activity-message", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	BoxesSnapshotListRow_private_offset = g_type_class_get_instance_private_offset (klass);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/snapshot-list-row.ui");
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "name_label", FALSE, BoxesSnapshotListRow_private_offset + G_STRUCT_OFFSET (BoxesSnapshotListRowPrivate, name_label));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "mode_stack", FALSE, BoxesSnapshotListRow_private_offset + G_STRUCT_OFFSET (BoxesSnapshotListRowPrivate, mode_stack));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "name_entry", FALSE, BoxesSnapshotListRow_private_offset + G_STRUCT_OFFSET (BoxesSnapshotListRowPrivate, name_entry));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "edit_name_box", FALSE, BoxesSnapshotListRow_private_offset + G_STRUCT_OFFSET (BoxesSnapshotListRowPrivate, edit_name_box));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "show_name_box", FALSE, BoxesSnapshotListRow_private_offset + G_STRUCT_OFFSET (BoxesSnapshotListRowPrivate, show_name_box));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_save_name_button_clicked", G_CALLBACK(_boxes_snapshot_list_row_on_save_name_button_clicked_gtk_button_clicked));
#line 1859 "snapshot-list-row.c"
}


static void boxes_snapshot_list_row_instance_init (BoxesSnapshotListRow * self) {
	gchar* _tmp0_ = NULL;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv = BOXES_SNAPSHOT_LIST_ROW_GET_PRIVATE (self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_tmp0_ = g_strdup ("");
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv->_activity_message = _tmp0_;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self->priv->parent_container = NULL;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1875 "snapshot-list-row.c"
}


static void boxes_snapshot_list_row_finalize (GObject* obj) {
	BoxesSnapshotListRow * self;
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_SNAPSHOT_LIST_ROW, BoxesSnapshotListRow);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->snapshot);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_free0 (self->priv->_activity_message);
#line 9 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->priv->name_label);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->priv->mode_stack);
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->priv->name_entry);
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->priv->edit_name_box);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->priv->show_name_box);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	_g_object_unref0 (self->priv->machine);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	G_OBJECT_CLASS (boxes_snapshot_list_row_parent_class)->finalize (obj);
#line 1901 "snapshot-list-row.c"
}


GType boxes_snapshot_list_row_get_type (void) {
	static volatile gsize boxes_snapshot_list_row_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_snapshot_list_row_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesSnapshotListRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_snapshot_list_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesSnapshotListRow), 0, (GInstanceInitFunc) boxes_snapshot_list_row_instance_init, NULL };
		GType boxes_snapshot_list_row_type_id;
		boxes_snapshot_list_row_type_id = g_type_register_static (gtk_list_box_row_get_type (), "BoxesSnapshotListRow", &g_define_type_info, 0);
		g_once_init_leave (&boxes_snapshot_list_row_type_id__volatile, boxes_snapshot_list_row_type_id);
	}
	return boxes_snapshot_list_row_type_id__volatile;
}


static void _vala_boxes_snapshot_list_row_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesSnapshotListRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_SNAPSHOT_LIST_ROW, BoxesSnapshotListRow);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	switch (property_id) {
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		case BOXES_SNAPSHOT_LIST_ROW_ACTIVITY_MESSAGE:
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		g_value_set_string (value, boxes_snapshot_list_row_get_activity_message (self));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		break;
#line 1928 "snapshot-list-row.c"
		default:
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		break;
#line 1934 "snapshot-list-row.c"
	}
}


static void _vala_boxes_snapshot_list_row_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesSnapshotListRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_SNAPSHOT_LIST_ROW, BoxesSnapshotListRow);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
	switch (property_id) {
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		case BOXES_SNAPSHOT_LIST_ROW_ACTIVITY_MESSAGE:
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		boxes_snapshot_list_row_set_activity_message (self, g_value_get_string (value));
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		break;
#line 1950 "snapshot-list-row.c"
		default:
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 4 "/home/zeenix/checkout/gnome/gnome-boxes/src/snapshot-list-row.vala"
		break;
#line 1956 "snapshot-list-row.c"
	}
}



