/* editable-entry.c generated by valac 0.39.5, the Vala compiler
 * generated from editable-entry.vala, do not modify */

/* This file is part of GNOME Boxes. License: LGPLv2+*/
/* Boxes.EditableEntry is based on gnome-control-center CcEditableEntry*/

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <pango/pango.h>
#include <float.h>
#include <math.h>
#include <cairo.h>
#include <gdk/gdk.h>


#define BOXES_TYPE_EDITABLE_ENTRY (boxes_editable_entry_get_type ())
#define BOXES_EDITABLE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EDITABLE_ENTRY, BoxesEditableEntry))
#define BOXES_EDITABLE_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EDITABLE_ENTRY, BoxesEditableEntryClass))
#define BOXES_IS_EDITABLE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EDITABLE_ENTRY))
#define BOXES_IS_EDITABLE_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EDITABLE_ENTRY))
#define BOXES_EDITABLE_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EDITABLE_ENTRY, BoxesEditableEntryClass))

typedef struct _BoxesEditableEntry BoxesEditableEntry;
typedef struct _BoxesEditableEntryClass BoxesEditableEntryClass;
typedef struct _BoxesEditableEntryPrivate BoxesEditableEntryPrivate;
enum  {
	BOXES_EDITABLE_ENTRY_0_PROPERTY,
	BOXES_EDITABLE_ENTRY_TEXT_PROPERTY,
	BOXES_EDITABLE_ENTRY_EDITABLE_PROPERTY,
	BOXES_EDITABLE_ENTRY_SELECTABLE_PROPERTY,
	BOXES_EDITABLE_ENTRY_TEXT_XALIGN_PROPERTY,
	BOXES_EDITABLE_ENTRY_TEXT_YALIGN_PROPERTY,
	BOXES_EDITABLE_ENTRY_WEIGHT_SET_PROPERTY,
	BOXES_EDITABLE_ENTRY_SCALE_PROPERTY,
	BOXES_EDITABLE_ENTRY_SCALE_SET_PROPERTY,
	BOXES_EDITABLE_ENTRY_NUM_PROPERTIES
};
static GParamSpec* boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_NUM_PROPERTIES];

#define BOXES_EDITABLE_ENTRY_TYPE_PAGE (boxes_editable_entry_page_get_type ())
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define __vala_PangoFontDescription_free0(var) ((var == NULL) ? NULL : (var = (_vala_PangoFontDescription_free (var), NULL)))
#define _pango_attr_list_unref0(var) ((var == NULL) ? NULL : (var = (pango_attr_list_unref (var), NULL)))
enum  {
	BOXES_EDITABLE_ENTRY_EDITING_DONE_SIGNAL,
	BOXES_EDITABLE_ENTRY_NUM_SIGNALS
};
static guint boxes_editable_entry_signals[BOXES_EDITABLE_ENTRY_NUM_SIGNALS] = {0};

struct _BoxesEditableEntry {
	GtkNotebook parent_instance;
	BoxesEditableEntryPrivate * priv;
	gboolean _editable;
};

struct _BoxesEditableEntryClass {
	GtkNotebookClass parent_class;
};

struct _BoxesEditableEntryPrivate {
	gchar* _text;
	PangoWeight _weight;
	gboolean _weight_set;
	gdouble _scale;
	gboolean _scale_set;
	GtkLabel* label;
	GtkLabel* button_label;
	GtkEntry* entry;
	gboolean in_stop_editing;
};

typedef enum  {
	BOXES_EDITABLE_ENTRY_PAGE_LABEL,
	BOXES_EDITABLE_ENTRY_PAGE_BUTTON,
	BOXES_EDITABLE_ENTRY_PAGE_ENTRY
} BoxesEditableEntryPage;


static gpointer boxes_editable_entry_parent_class = NULL;

#define EMPTY_TEXT "\xe2\x80\x94"
GType boxes_editable_entry_get_type (void) G_GNUC_CONST;
#define BOXES_EDITABLE_ENTRY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_EDITABLE_ENTRY, BoxesEditableEntryPrivate))
static GType boxes_editable_entry_page_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static void boxes_editable_entry_update_entry_font (BoxesEditableEntry* self,
                                             GtkEntry* entry);
gboolean boxes_editable_entry_get_scale_set (BoxesEditableEntry* self);
gboolean boxes_editable_entry_get_weight_set (BoxesEditableEntry* self);
static PangoFontDescription* _vala_PangoFontDescription_copy (PangoFontDescription* self);
gdouble boxes_editable_entry_get_scale (BoxesEditableEntry* self);
static void _vala_PangoFontDescription_free (PangoFontDescription* self);
static void boxes_editable_entry_update_fonts (BoxesEditableEntry* self);
void boxes_editable_entry_start_editing (BoxesEditableEntry* self);
static void boxes_editable_entry_stop_editing (BoxesEditableEntry* self);
void boxes_editable_entry_set_text (BoxesEditableEntry* self,
                                    const gchar* value);
static void boxes_editable_entry_cancel_editing (BoxesEditableEntry* self);
const gchar* boxes_editable_entry_get_text (BoxesEditableEntry* self);
BoxesEditableEntry* boxes_editable_entry_new (void);
BoxesEditableEntry* boxes_editable_entry_construct (GType object_type);
static void boxes_editable_entry_on_button_clicked (BoxesEditableEntry* self);
static void _boxes_editable_entry_on_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                                 gpointer self);
static void boxes_editable_entry_on_button_label_size_allocate (BoxesEditableEntry* self,
                                                         GtkWidget* widget,
                                                         GtkAllocation* allocation);
static void _boxes_editable_entry_on_button_label_size_allocate_gtk_widget_size_allocate (GtkWidget* _sender,
                                                                                   GtkAllocation* allocation,
                                                                                   gpointer self);
static void boxes_editable_entry_on_entry_activated (BoxesEditableEntry* self);
static void _boxes_editable_entry_on_entry_activated_gtk_entry_activate (GtkEntry* _sender,
                                                                  gpointer self);
static gboolean boxes_editable_entry_on_entry_focused_out (BoxesEditableEntry* self);
static gboolean _boxes_editable_entry_on_entry_focused_out_gtk_widget_focus_out_event (GtkWidget* _sender,
                                                                                GdkEventFocus* event,
                                                                                gpointer self);
static gboolean boxes_editable_entry_on_entry_key_press_event (BoxesEditableEntry* self,
                                                        GtkWidget* widget,
                                                        GdkEventKey* event);
static gboolean _boxes_editable_entry_on_entry_key_press_event_gtk_widget_key_press_event (GtkWidget* _sender,
                                                                                    GdkEventKey* event,
                                                                                    gpointer self);
static void boxes_editable_entry_on_entry_style_updated (BoxesEditableEntry* self);
static void _boxes_editable_entry_on_entry_style_updated_gtk_widget_style_updated (GtkWidget* _sender,
                                                                            gpointer self);
gboolean boxes_editable_entry_get_editable (BoxesEditableEntry* self);
void boxes_editable_entry_set_editable (BoxesEditableEntry* self,
                                        gboolean value);
gboolean boxes_editable_entry_get_selectable (BoxesEditableEntry* self);
void boxes_editable_entry_set_selectable (BoxesEditableEntry* self,
                                          gboolean value);
gfloat boxes_editable_entry_get_text_xalign (BoxesEditableEntry* self);
void boxes_editable_entry_set_text_xalign (BoxesEditableEntry* self,
                                           gfloat value);
gfloat boxes_editable_entry_get_text_yalign (BoxesEditableEntry* self);
void boxes_editable_entry_set_text_yalign (BoxesEditableEntry* self,
                                           gfloat value);
void boxes_editable_entry_set_weight_set (BoxesEditableEntry* self,
                                          gboolean value);
void boxes_editable_entry_set_scale (BoxesEditableEntry* self,
                                     gdouble value);
void boxes_editable_entry_set_scale_set (BoxesEditableEntry* self,
                                         gboolean value);
static void boxes_editable_entry_finalize (GObject * obj);
static void _vala_boxes_editable_entry_get_property (GObject * object,
                                              guint property_id,
                                              GValue * value,
                                              GParamSpec * pspec);
static void _vala_boxes_editable_entry_set_property (GObject * object,
                                              guint property_id,
                                              const GValue * value,
                                              GParamSpec * pspec);


static GType
boxes_editable_entry_page_get_type (void)
{
	static volatile gsize boxes_editable_entry_page_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_editable_entry_page_type_id__volatile)) {
		static const GEnumValue values[] = {{BOXES_EDITABLE_ENTRY_PAGE_LABEL, "BOXES_EDITABLE_ENTRY_PAGE_LABEL", "label"}, {BOXES_EDITABLE_ENTRY_PAGE_BUTTON, "BOXES_EDITABLE_ENTRY_PAGE_BUTTON", "button"}, {BOXES_EDITABLE_ENTRY_PAGE_ENTRY, "BOXES_EDITABLE_ENTRY_PAGE_ENTRY", "entry"}, {0, NULL, NULL}};
		GType boxes_editable_entry_page_type_id;
		boxes_editable_entry_page_type_id = g_enum_register_static ("BoxesEditableEntryPage", values);
		g_once_init_leave (&boxes_editable_entry_page_type_id__volatile, boxes_editable_entry_page_type_id);
	}
	return boxes_editable_entry_page_type_id__volatile;
}


static PangoFontDescription*
_vala_PangoFontDescription_copy (PangoFontDescription* self)
{
#line 121 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return g_boxed_copy (pango_font_description_get_type (), self);
#line 179 "editable-entry.c"
}


static gpointer
__vala_PangoFontDescription_copy0 (gpointer self)
{
#line 121 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return self ? _vala_PangoFontDescription_copy (self) : NULL;
#line 188 "editable-entry.c"
}


static void
_vala_PangoFontDescription_free (PangoFontDescription* self)
{
#line 114 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_boxed_free (pango_font_description_get_type (), self);
#line 197 "editable-entry.c"
}


static void
boxes_editable_entry_update_entry_font (BoxesEditableEntry* self,
                                        GtkEntry* entry)
{
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	PangoFontDescription* desc = NULL;
	GtkStyleContext* _tmp3_;
	PangoFontDescription* _tmp4_;
	PangoFontDescription* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp9_;
	PangoFontDescription* _tmp14_;
#line 114 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 114 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (entry != NULL);
#line 115 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = self->priv->_scale_set;
#line 115 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (!_tmp1_) {
#line 222 "editable-entry.c"
		gboolean _tmp2_;
#line 115 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp2_ = self->priv->_weight_set;
#line 115 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp0_ = !_tmp2_;
#line 228 "editable-entry.c"
	} else {
#line 115 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp0_ = FALSE;
#line 232 "editable-entry.c"
	}
#line 115 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp0_) {
#line 116 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		return;
#line 238 "editable-entry.c"
	}
#line 118 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_signal_handlers_block_by_func (entry, (void*) boxes_editable_entry_update_entry_font, self);
#line 120 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_override_font ((GtkWidget*) entry, NULL);
#line 121 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp3_ = gtk_widget_get_style_context ((GtkWidget*) entry);
#line 121 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp4_ = gtk_style_context_get_font (_tmp3_, gtk_widget_get_state_flags ((GtkWidget*) entry));
#line 121 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp5_ = __vala_PangoFontDescription_copy0 (_tmp4_);
#line 121 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	desc = _tmp5_;
#line 122 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp6_ = self->priv->_weight_set;
#line 122 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp6_) {
#line 256 "editable-entry.c"
		PangoFontDescription* _tmp7_;
		PangoWeight _tmp8_;
#line 123 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp7_ = desc;
#line 123 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp8_ = self->priv->_weight;
#line 123 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		pango_font_description_set_weight (_tmp7_, _tmp8_);
#line 265 "editable-entry.c"
	}
#line 124 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp9_ = self->priv->_scale_set;
#line 124 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp9_) {
#line 271 "editable-entry.c"
		PangoFontDescription* _tmp10_;
		gdouble _tmp11_;
		gdouble _tmp12_;
		PangoFontDescription* _tmp13_;
#line 125 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp10_ = desc;
#line 125 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp11_ = boxes_editable_entry_get_scale (self);
#line 125 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp12_ = _tmp11_;
#line 125 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp13_ = desc;
#line 125 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		pango_font_description_set_size (_tmp10_, (gint) (_tmp12_ * pango_font_description_get_size (_tmp13_)));
#line 286 "editable-entry.c"
	}
#line 126 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp14_ = desc;
#line 126 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_override_font ((GtkWidget*) entry, _tmp14_);
#line 128 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_signal_handlers_unblock_by_func (entry, (void*) boxes_editable_entry_update_entry_font, self);
#line 114 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	__vala_PangoFontDescription_free0 (desc);
#line 296 "editable-entry.c"
}


static void
boxes_editable_entry_update_fonts (BoxesEditableEntry* self)
{
	PangoAttrList* attrs = NULL;
	PangoAttrList* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp6_;
	GtkLabel* _tmp10_;
	PangoAttrList* _tmp11_;
	GtkLabel* _tmp12_;
	PangoAttrList* _tmp13_;
	GtkEntry* _tmp14_;
#line 131 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 132 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = pango_attr_list_new ();
#line 132 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	attrs = _tmp0_;
#line 134 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = self->priv->_scale_set;
#line 134 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp1_) {
#line 322 "editable-entry.c"
		PangoAttrList* _tmp2_;
		gdouble _tmp3_;
		gdouble _tmp4_;
		PangoAttribute* _tmp5_;
#line 135 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp2_ = attrs;
#line 135 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp3_ = boxes_editable_entry_get_scale (self);
#line 135 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp4_ = _tmp3_;
#line 135 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp5_ = pango_attr_scale_new (_tmp4_);
#line 135 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		pango_attr_list_insert (_tmp2_, _tmp5_);
#line 337 "editable-entry.c"
	}
#line 136 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp6_ = self->priv->_weight_set;
#line 136 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp6_) {
#line 343 "editable-entry.c"
		PangoAttrList* _tmp7_;
		PangoWeight _tmp8_;
		PangoAttribute* _tmp9_;
#line 137 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp7_ = attrs;
#line 137 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp8_ = self->priv->_weight;
#line 137 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp9_ = pango_attr_weight_new (_tmp8_);
#line 137 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		pango_attr_list_insert (_tmp7_, _tmp9_);
#line 355 "editable-entry.c"
	}
#line 139 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp10_ = self->priv->label;
#line 139 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp11_ = attrs;
#line 139 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_attributes (_tmp10_, _tmp11_);
#line 140 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp12_ = self->priv->button_label;
#line 140 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp13_ = attrs;
#line 140 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_attributes (_tmp12_, _tmp13_);
#line 141 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp14_ = self->priv->entry;
#line 141 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_update_entry_font (self, _tmp14_);
#line 131 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_pango_attr_list_unref0 (attrs);
#line 375 "editable-entry.c"
}


void
boxes_editable_entry_start_editing (BoxesEditableEntry* self)
{
#line 144 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 145 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_set ((GtkNotebook*) self, "page", (gint) BOXES_EDITABLE_ENTRY_PAGE_ENTRY, NULL);
#line 386 "editable-entry.c"
}


static void
boxes_editable_entry_stop_editing (BoxesEditableEntry* self)
{
	gboolean _tmp0_;
	GtkEntry* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
#line 149 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 152 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->in_stop_editing;
#line 152 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp0_) {
#line 153 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		return;
#line 405 "editable-entry.c"
	}
#line 155 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self->priv->in_stop_editing = TRUE;
#line 156 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_set ((GtkNotebook*) self, "page", (gint) BOXES_EDITABLE_ENTRY_PAGE_BUTTON, NULL);
#line 157 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = self->priv->entry;
#line 157 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = gtk_entry_get_text (_tmp1_);
#line 157 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp3_ = _tmp2_;
#line 157 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_set_text (self, _tmp3_);
#line 158 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_signal_emit (self, boxes_editable_entry_signals[BOXES_EDITABLE_ENTRY_EDITING_DONE_SIGNAL], 0);
#line 159 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self->priv->in_stop_editing = FALSE;
#line 423 "editable-entry.c"
}


static void
boxes_editable_entry_cancel_editing (BoxesEditableEntry* self)
{
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 162 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 163 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->entry;
#line 163 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = boxes_editable_entry_get_text (self);
#line 163 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = _tmp1_;
#line 163 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_entry_set_text (_tmp0_, _tmp2_);
#line 164 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_set ((GtkNotebook*) self, "page", (gint) BOXES_EDITABLE_ENTRY_PAGE_BUTTON, NULL);
#line 445 "editable-entry.c"
}


BoxesEditableEntry*
boxes_editable_entry_construct (GType object_type)
{
	BoxesEditableEntry * self = NULL;
	GtkLabel* _tmp0_;
	GtkLabel* _tmp1_;
#line 167 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self = (BoxesEditableEntry*) g_object_new (object_type, NULL);
#line 168 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->label;
#line 168 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_label (_tmp0_, EMPTY_TEXT);
#line 169 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = self->priv->button_label;
#line 169 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_label (_tmp1_, EMPTY_TEXT);
#line 167 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return self;
#line 467 "editable-entry.c"
}


BoxesEditableEntry*
boxes_editable_entry_new (void)
{
#line 167 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return boxes_editable_entry_construct (BOXES_TYPE_EDITABLE_ENTRY);
#line 476 "editable-entry.c"
}


static void
boxes_editable_entry_on_button_clicked (BoxesEditableEntry* self)
{
#line 173 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 174 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_start_editing (self);
#line 487 "editable-entry.c"
}


static void
_boxes_editable_entry_on_button_clicked_gtk_button_clicked (GtkButton* _sender,
                                                            gpointer self)
{
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_on_button_clicked ((BoxesEditableEntry*) self);
#line 497 "editable-entry.c"
}


static void
boxes_editable_entry_on_button_label_size_allocate (BoxesEditableEntry* self,
                                                    GtkWidget* widget,
                                                    GtkAllocation* allocation)
{
	GtkAllocation alloc = {0};
	GtkContainer* _tmp0_;
	GtkAllocation _tmp1_ = {0};
	gint offset = 0;
	GtkAllocation _tmp2_;
	gint _tmp3_;
	GtkAllocation _tmp4_;
	gint _tmp5_;
	gint _tmp6_;
	GtkLabel* _tmp7_;
	gint _tmp8_;
	gint _tmp9_;
#line 178 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 178 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (widget != NULL);
#line 178 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (allocation != NULL);
#line 181 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = gtk_widget_get_parent (widget);
#line 181 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_get_allocation ((GtkWidget*) _tmp0_, &_tmp1_);
#line 181 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	alloc = _tmp1_;
#line 182 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = *allocation;
#line 182 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp3_ = _tmp2_.x;
#line 182 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp4_ = alloc;
#line 182 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp5_ = _tmp4_.x;
#line 182 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	offset = _tmp3_ - _tmp5_;
#line 183 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp6_ = offset;
#line 183 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp7_ = self->priv->label;
#line 183 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp8_ = gtk_widget_get_margin_start ((GtkWidget*) _tmp7_);
#line 183 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp9_ = _tmp8_;
#line 183 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp6_ != _tmp9_) {
#line 550 "editable-entry.c"
		GtkLabel* _tmp10_;
		gint _tmp11_;
#line 184 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp10_ = self->priv->label;
#line 184 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp11_ = offset;
#line 184 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		gtk_misc_set_padding ((GtkMisc*) _tmp10_, _tmp11_, 0);
#line 559 "editable-entry.c"
	}
}


static void
_boxes_editable_entry_on_button_label_size_allocate_gtk_widget_size_allocate (GtkWidget* _sender,
                                                                              GtkAllocation* allocation,
                                                                              gpointer self)
{
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_on_button_label_size_allocate ((BoxesEditableEntry*) self, _sender, allocation);
#line 571 "editable-entry.c"
}


static void
boxes_editable_entry_on_entry_activated (BoxesEditableEntry* self)
{
#line 188 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 189 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_stop_editing (self);
#line 582 "editable-entry.c"
}


static void
_boxes_editable_entry_on_entry_activated_gtk_entry_activate (GtkEntry* _sender,
                                                             gpointer self)
{
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_on_entry_activated ((BoxesEditableEntry*) self);
#line 592 "editable-entry.c"
}


static gboolean
boxes_editable_entry_on_entry_focused_out (BoxesEditableEntry* self)
{
	gboolean result = FALSE;
#line 193 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 194 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_stop_editing (self);
#line 195 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = FALSE;
#line 195 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 608 "editable-entry.c"
}


static gboolean
_boxes_editable_entry_on_entry_focused_out_gtk_widget_focus_out_event (GtkWidget* _sender,
                                                                       GdkEventFocus* event,
                                                                       gpointer self)
{
	gboolean result;
	result = boxes_editable_entry_on_entry_focused_out ((BoxesEditableEntry*) self);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 621 "editable-entry.c"
}


static gboolean
boxes_editable_entry_on_entry_key_press_event (BoxesEditableEntry* self,
                                               GtkWidget* widget,
                                               GdkEventKey* event)
{
	gboolean result = FALSE;
	guint _tmp0_;
#line 199 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 199 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (widget != NULL, FALSE);
#line 199 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 200 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = event->keyval;
#line 200 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp0_ == ((guint) GDK_KEY_Escape)) {
#line 201 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_cancel_editing (self);
#line 644 "editable-entry.c"
	}
#line 203 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = FALSE;
#line 203 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 650 "editable-entry.c"
}


static gboolean
_boxes_editable_entry_on_entry_key_press_event_gtk_widget_key_press_event (GtkWidget* _sender,
                                                                           GdkEventKey* event,
                                                                           gpointer self)
{
	gboolean result;
	result = boxes_editable_entry_on_entry_key_press_event ((BoxesEditableEntry*) self, _sender, event);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 663 "editable-entry.c"
}


static void
boxes_editable_entry_on_entry_style_updated (BoxesEditableEntry* self)
{
	GtkEntry* _tmp0_;
#line 207 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 208 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->entry;
#line 208 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_update_entry_font (self, G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp0_) : NULL);
#line 677 "editable-entry.c"
}


static void
_boxes_editable_entry_on_entry_style_updated_gtk_widget_style_updated (GtkWidget* _sender,
                                                                       gpointer self)
{
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_on_entry_style_updated ((BoxesEditableEntry*) self);
#line 687 "editable-entry.c"
}


const gchar*
boxes_editable_entry_get_text (BoxesEditableEntry* self)
{
	const gchar* result;
	const gchar* _tmp0_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 20 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->_text;
#line 20 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = _tmp0_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 704 "editable-entry.c"
}


void
boxes_editable_entry_set_text (BoxesEditableEntry* self,
                               const gchar* value)
{
	gchar* _tmp0_;
	GtkEntry* _tmp1_;
	gboolean _tmp2_ = FALSE;
	GtkLabel* _tmp5_;
	GtkLabel* _tmp6_;
#line 21 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 22 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = g_strdup (value);
#line 22 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_g_free0 (self->priv->_text);
#line 22 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self->priv->_text = _tmp0_;
#line 23 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = self->priv->entry;
#line 23 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_entry_set_text (_tmp1_, value);
#line 25 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (value == NULL) {
#line 25 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp2_ = TRUE;
#line 733 "editable-entry.c"
	} else {
		gint _tmp3_;
		gint _tmp4_;
#line 25 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp3_ = strlen (value);
#line 25 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp4_ = _tmp3_;
#line 25 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp2_ = _tmp4_ == 0;
#line 743 "editable-entry.c"
	}
#line 25 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp2_) {
#line 26 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		value = EMPTY_TEXT;
#line 749 "editable-entry.c"
	}
#line 28 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp5_ = self->priv->label;
#line 28 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_label (_tmp5_, value);
#line 29 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp6_ = self->priv->button_label;
#line 29 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_label (_tmp6_, value);
#line 21 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_TEXT_PROPERTY]);
#line 761 "editable-entry.c"
}


gboolean
boxes_editable_entry_get_editable (BoxesEditableEntry* self)
{
	gboolean result;
	gboolean _tmp0_;
#line 35 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 35 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->_editable;
#line 35 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = _tmp0_;
#line 35 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 778 "editable-entry.c"
}


void
boxes_editable_entry_set_editable (BoxesEditableEntry* self,
                                   gboolean value)
{
	gboolean _tmp0_;
	BoxesEditableEntryPage _tmp1_ = 0;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 36 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 37 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->_editable;
#line 37 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (value == _tmp0_) {
#line 38 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		return;
#line 798 "editable-entry.c"
	}
#line 40 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self->_editable = value;
#line 41 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = boxes_editable_entry_get_editable (self);
#line 41 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp3_ = _tmp2_;
#line 41 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp3_) {
#line 41 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp1_ = BOXES_EDITABLE_ENTRY_PAGE_BUTTON;
#line 810 "editable-entry.c"
	} else {
#line 41 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp1_ = BOXES_EDITABLE_ENTRY_PAGE_LABEL;
#line 814 "editable-entry.c"
	}
#line 41 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_set ((GtkNotebook*) self, "page", (gint) _tmp1_, NULL);
#line 36 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_EDITABLE_PROPERTY]);
#line 820 "editable-entry.c"
}


gboolean
boxes_editable_entry_get_selectable (BoxesEditableEntry* self)
{
	gboolean result;
	GtkLabel* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 46 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 46 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->label;
#line 46 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = gtk_label_get_selectable (_tmp0_);
#line 46 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = _tmp1_;
#line 46 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = _tmp2_;
#line 46 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 843 "editable-entry.c"
}


void
boxes_editable_entry_set_selectable (BoxesEditableEntry* self,
                                     gboolean value)
{
	GtkLabel* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	GtkLabel* _tmp3_;
#line 47 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 48 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->label;
#line 48 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = gtk_label_get_selectable (_tmp0_);
#line 48 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = _tmp1_;
#line 48 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (value == _tmp2_) {
#line 49 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		return;
#line 867 "editable-entry.c"
	}
#line 51 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp3_ = self->priv->label;
#line 51 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_selectable (_tmp3_, value);
#line 47 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_SELECTABLE_PROPERTY]);
#line 875 "editable-entry.c"
}


gfloat
boxes_editable_entry_get_text_xalign (BoxesEditableEntry* self)
{
	gfloat result;
	GtkLabel* _tmp0_;
	gfloat _tmp1_;
	gfloat _tmp2_;
#line 56 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, 0.0F);
#line 56 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->label;
#line 56 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = gtk_label_get_xalign (_tmp0_);
#line 56 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = _tmp1_;
#line 56 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = _tmp2_;
#line 56 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 898 "editable-entry.c"
}


void
boxes_editable_entry_set_text_xalign (BoxesEditableEntry* self,
                                      gfloat value)
{
	GtkLabel* _tmp0_;
	GtkLabel* _tmp1_;
	GtkEntry* _tmp2_;
#line 57 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 58 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->label;
#line 58 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_xalign (_tmp0_, value);
#line 59 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = self->priv->button_label;
#line 59 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_xalign (_tmp1_, value);
#line 60 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = self->priv->entry;
#line 60 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_set (_tmp2_, "xalign", value, NULL);
#line 57 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_TEXT_XALIGN_PROPERTY]);
#line 925 "editable-entry.c"
}


gfloat
boxes_editable_entry_get_text_yalign (BoxesEditableEntry* self)
{
	gfloat result;
	GtkLabel* _tmp0_;
	gfloat _tmp1_;
	gfloat _tmp2_;
#line 65 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, 0.0F);
#line 65 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->label;
#line 65 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = gtk_label_get_yalign (_tmp0_);
#line 65 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp2_ = _tmp1_;
#line 65 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = _tmp2_;
#line 65 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 948 "editable-entry.c"
}


void
boxes_editable_entry_set_text_yalign (BoxesEditableEntry* self,
                                      gfloat value)
{
	GtkLabel* _tmp0_;
	GtkLabel* _tmp1_;
#line 66 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 67 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->label;
#line 67 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_yalign (_tmp0_, value);
#line 68 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = self->priv->button_label;
#line 68 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_label_set_yalign (_tmp1_, value);
#line 66 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_TEXT_YALIGN_PROPERTY]);
#line 970 "editable-entry.c"
}


gboolean
boxes_editable_entry_get_weight_set (BoxesEditableEntry* self)
{
	gboolean result;
	gboolean _tmp0_;
#line 90 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 90 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->_weight_set;
#line 90 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = _tmp0_;
#line 90 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 987 "editable-entry.c"
}


void
boxes_editable_entry_set_weight_set (BoxesEditableEntry* self,
                                     gboolean value)
{
#line 90 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 90 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (boxes_editable_entry_get_weight_set (self) != value) {
#line 90 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		self->priv->_weight_set = value;
#line 90 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_WEIGHT_SET_PROPERTY]);
#line 1003 "editable-entry.c"
	}
}


gdouble
boxes_editable_entry_get_scale (BoxesEditableEntry* self)
{
	gdouble result;
	gdouble _tmp0_;
#line 94 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, 0.0);
#line 94 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->_scale;
#line 94 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = _tmp0_;
#line 94 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 1021 "editable-entry.c"
}


void
boxes_editable_entry_set_scale (BoxesEditableEntry* self,
                                gdouble value)
{
	gboolean _tmp0_ = FALSE;
	gdouble _tmp1_;
#line 95 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 96 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp1_ = self->priv->_scale;
#line 96 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (value == _tmp1_) {
#line 1037 "editable-entry.c"
		gboolean _tmp2_;
#line 96 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp2_ = self->priv->_scale_set;
#line 96 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp0_ = _tmp2_;
#line 1043 "editable-entry.c"
	} else {
#line 96 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		_tmp0_ = FALSE;
#line 1047 "editable-entry.c"
	}
#line 96 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (_tmp0_) {
#line 97 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		return;
#line 1053 "editable-entry.c"
	}
#line 99 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self->priv->_scale = value;
#line 100 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_set_scale_set (self, TRUE);
#line 102 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_update_fonts (self);
#line 95 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_notify_by_pspec ((GObject *) self, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_SCALE_PROPERTY]);
#line 1063 "editable-entry.c"
}


gboolean
boxes_editable_entry_get_scale_set (BoxesEditableEntry* self)
{
	gboolean result;
	gboolean _tmp0_;
#line 105 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 105 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_tmp0_ = self->priv->_scale_set;
#line 105 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	result = _tmp0_;
#line 105 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	return result;
#line 1080 "editable-entry.c"
}


void
boxes_editable_entry_set_scale_set (BoxesEditableEntry* self,
                                    gboolean value)
{
#line 105 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_return_if_fail (self != NULL);
#line 105 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	if (boxes_editable_entry_get_scale_set (self) != value) {
#line 105 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		self->priv->_scale_set = value;
#line 105 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_object_notify_by_pspec ((GObject *) self, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_SCALE_SET_PROPERTY]);
#line 1096 "editable-entry.c"
	}
}


static void
boxes_editable_entry_class_init (BoxesEditableEntryClass * klass)
{
	gint BoxesEditableEntry_private_offset;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_parent_class = g_type_class_peek_parent (klass);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_type_class_add_private (klass, sizeof (BoxesEditableEntryPrivate));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_editable_entry_get_property;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_editable_entry_set_property;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_editable_entry_finalize;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EDITABLE_ENTRY_TEXT_PROPERTY, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_TEXT_PROPERTY] = g_param_spec_string ("text", "text", "text", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EDITABLE_ENTRY_EDITABLE_PROPERTY, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_EDITABLE_PROPERTY] = g_param_spec_boolean ("editable", "editable", "editable", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EDITABLE_ENTRY_SELECTABLE_PROPERTY, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_SELECTABLE_PROPERTY] = g_param_spec_boolean ("selectable", "selectable", "selectable", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EDITABLE_ENTRY_TEXT_XALIGN_PROPERTY, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_TEXT_XALIGN_PROPERTY] = g_param_spec_float ("text-xalign", "text-xalign", "text-xalign", -G_MAXFLOAT, G_MAXFLOAT, 0.0F, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EDITABLE_ENTRY_TEXT_YALIGN_PROPERTY, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_TEXT_YALIGN_PROPERTY] = g_param_spec_float ("text-yalign", "text-yalign", "text-yalign", -G_MAXFLOAT, G_MAXFLOAT, 0.0F, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EDITABLE_ENTRY_WEIGHT_SET_PROPERTY, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_WEIGHT_SET_PROPERTY] = g_param_spec_boolean ("weight-set", "weight-set", "weight-set", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EDITABLE_ENTRY_SCALE_PROPERTY, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_SCALE_PROPERTY] = g_param_spec_double ("scale", "scale", "scale", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EDITABLE_ENTRY_SCALE_SET_PROPERTY, boxes_editable_entry_properties[BOXES_EDITABLE_ENTRY_SCALE_SET_PROPERTY] = g_param_spec_boolean ("scale-set", "scale-set", "scale-set", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	BoxesEditableEntry_private_offset = g_type_class_get_instance_private_offset (klass);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/editable-entry.ui");
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	boxes_editable_entry_signals[BOXES_EDITABLE_ENTRY_EDITING_DONE_SIGNAL] = g_signal_new ("editing-done", BOXES_TYPE_EDITABLE_ENTRY, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label", FALSE, BoxesEditableEntry_private_offset + G_STRUCT_OFFSET (BoxesEditableEntryPrivate, label));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "button_label", FALSE, BoxesEditableEntry_private_offset + G_STRUCT_OFFSET (BoxesEditableEntryPrivate, button_label));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "entry", FALSE, BoxesEditableEntry_private_offset + G_STRUCT_OFFSET (BoxesEditableEntryPrivate, entry));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_button_clicked", G_CALLBACK(_boxes_editable_entry_on_button_clicked_gtk_button_clicked));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_button_label_size_allocate", G_CALLBACK(_boxes_editable_entry_on_button_label_size_allocate_gtk_widget_size_allocate));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_entry_activated", G_CALLBACK(_boxes_editable_entry_on_entry_activated_gtk_entry_activate));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_entry_focused_out", G_CALLBACK(_boxes_editable_entry_on_entry_focused_out_gtk_widget_focus_out_event));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_entry_key_press_event", G_CALLBACK(_boxes_editable_entry_on_entry_key_press_event_gtk_widget_key_press_event));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_entry_style_updated", G_CALLBACK(_boxes_editable_entry_on_entry_style_updated_gtk_widget_style_updated));
#line 1155 "editable-entry.c"
}


static void
boxes_editable_entry_instance_init (BoxesEditableEntry * self)
{
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self->priv = BOXES_EDITABLE_ENTRY_GET_PRIVATE (self);
#line 72 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self->priv->_weight = PANGO_WEIGHT_NORMAL;
#line 92 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self->priv->_scale = 1.0;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 1170 "editable-entry.c"
}


static void
boxes_editable_entry_finalize (GObject * obj)
{
	BoxesEditableEntry * self;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_EDITABLE_ENTRY, BoxesEditableEntry);
#line 18 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_g_free0 (self->priv->_text);
#line 108 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_g_object_unref0 (self->priv->label);
#line 110 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_g_object_unref0 (self->priv->button_label);
#line 112 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	_g_object_unref0 (self->priv->entry);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	G_OBJECT_CLASS (boxes_editable_entry_parent_class)->finalize (obj);
#line 1190 "editable-entry.c"
}


GType
boxes_editable_entry_get_type (void)
{
	static volatile gsize boxes_editable_entry_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_editable_entry_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesEditableEntryClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_editable_entry_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesEditableEntry), 0, (GInstanceInitFunc) boxes_editable_entry_instance_init, NULL };
		GType boxes_editable_entry_type_id;
		boxes_editable_entry_type_id = g_type_register_static (gtk_notebook_get_type (), "BoxesEditableEntry", &g_define_type_info, 0);
		g_once_init_leave (&boxes_editable_entry_type_id__volatile, boxes_editable_entry_type_id);
	}
	return boxes_editable_entry_type_id__volatile;
}


static void
_vala_boxes_editable_entry_get_property (GObject * object,
                                         guint property_id,
                                         GValue * value,
                                         GParamSpec * pspec)
{
	BoxesEditableEntry * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_EDITABLE_ENTRY, BoxesEditableEntry);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	switch (property_id) {
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_TEXT_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_value_set_string (value, boxes_editable_entry_get_text (self));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_EDITABLE_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_value_set_boolean (value, boxes_editable_entry_get_editable (self));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_SELECTABLE_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_value_set_boolean (value, boxes_editable_entry_get_selectable (self));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_TEXT_XALIGN_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_value_set_float (value, boxes_editable_entry_get_text_xalign (self));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_TEXT_YALIGN_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_value_set_float (value, boxes_editable_entry_get_text_yalign (self));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_WEIGHT_SET_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_value_set_boolean (value, boxes_editable_entry_get_weight_set (self));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_SCALE_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_value_set_double (value, boxes_editable_entry_get_scale (self));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_SCALE_SET_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		g_value_set_boolean (value, boxes_editable_entry_get_scale_set (self));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 1266 "editable-entry.c"
		default:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 1272 "editable-entry.c"
	}
}


static void
_vala_boxes_editable_entry_set_property (GObject * object,
                                         guint property_id,
                                         const GValue * value,
                                         GParamSpec * pspec)
{
	BoxesEditableEntry * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_EDITABLE_ENTRY, BoxesEditableEntry);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
	switch (property_id) {
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_TEXT_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_set_text (self, g_value_get_string (value));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_EDITABLE_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_set_editable (self, g_value_get_boolean (value));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_SELECTABLE_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_set_selectable (self, g_value_get_boolean (value));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_TEXT_XALIGN_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_set_text_xalign (self, g_value_get_float (value));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_TEXT_YALIGN_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_set_text_yalign (self, g_value_get_float (value));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_WEIGHT_SET_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_set_weight_set (self, g_value_get_boolean (value));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_SCALE_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_set_scale (self, g_value_get_double (value));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		case BOXES_EDITABLE_ENTRY_SCALE_SET_PROPERTY:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		boxes_editable_entry_set_scale_set (self, g_value_get_boolean (value));
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 1335 "editable-entry.c"
		default:
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 9 "/home/fborges/checkout/gnome-boxes/src/editable-entry.vala"
		break;
#line 1341 "editable-entry.c"
	}
}



