/* express-install-row.c generated by valac 0.56.18-dirty, the Vala compiler
 * generated from express-install-row.vala, do not modify */

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

#include <handy.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <gdk/gdk.h>

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

#define BOXES_TYPE_EXPRESS_INSTALL_ROW (boxes_express_install_row_get_type ())
#define BOXES_EXPRESS_INSTALL_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EXPRESS_INSTALL_ROW, BoxesExpressInstallRow))
#define BOXES_EXPRESS_INSTALL_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EXPRESS_INSTALL_ROW, BoxesExpressInstallRowClass))
#define BOXES_IS_EXPRESS_INSTALL_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EXPRESS_INSTALL_ROW))
#define BOXES_IS_EXPRESS_INSTALL_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EXPRESS_INSTALL_ROW))
#define BOXES_EXPRESS_INSTALL_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EXPRESS_INSTALL_ROW, BoxesExpressInstallRowClass))

typedef struct _BoxesExpressInstallRow BoxesExpressInstallRow;
typedef struct _BoxesExpressInstallRowClass BoxesExpressInstallRowClass;
typedef struct _BoxesExpressInstallRowPrivate BoxesExpressInstallRowPrivate;
enum  {
	BOXES_EXPRESS_INSTALL_ROW_0_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_READY_TO_INSTALL_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_NEEDS_PASSWORD_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_NEEDS_PRODUCT_KEY_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_FORMAT_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_ENABLED_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_USERNAME_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_PASSWORD_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_PROPERTY,
	BOXES_EXPRESS_INSTALL_ROW_NUM_PROPERTIES
};
static GParamSpec* boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
enum  {
	BOXES_EXPRESS_INSTALL_ROW_CREDENTIALS_CHANGED_SIGNAL,
	BOXES_EXPRESS_INSTALL_ROW_NUM_SIGNALS
};
static guint boxes_express_install_row_signals[BOXES_EXPRESS_INSTALL_ROW_NUM_SIGNALS] = {0};

struct _BoxesExpressInstallRow {
	HdyExpanderRow parent_instance;
	BoxesExpressInstallRowPrivate * priv;
	GtkEntry* username_entry;
	GtkEntry* password_entry;
	HdyActionRow* product_key_row;
	GtkEntry* product_key_entry;
};

struct _BoxesExpressInstallRowClass {
	HdyExpanderRowClass parent_class;
};

struct _BoxesExpressInstallRowPrivate {
	gboolean _needs_password;
	gchar* _product_key_format;
};

static gint BoxesExpressInstallRow_private_offset;
static gpointer boxes_express_install_row_parent_class = NULL;

VALA_EXTERN GType boxes_express_install_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (BoxesExpressInstallRow, g_object_unref)
static void boxes_express_install_row_on_entry_changed (BoxesExpressInstallRow* self);
static void _boxes_express_install_row_on_entry_changed_g_object_notify (GObject* _sender,
                                                                  GParamSpec* pspec,
                                                                  gpointer self);
static void boxes_express_install_row_on_secondary_icon_clicked (BoxesExpressInstallRow* self);
static void _boxes_express_install_row_on_secondary_icon_clicked_gtk_entry_icon_release (GtkEntry* _sender,
                                                                                  GtkEntryIconPosition icon_pos,
                                                                                  GdkEvent* event,
                                                                                  gpointer self);
VALA_EXTERN BoxesExpressInstallRow* boxes_express_install_row_new (void);
VALA_EXTERN BoxesExpressInstallRow* boxes_express_install_row_construct (GType object_type);
VALA_EXTERN gboolean boxes_express_install_row_get_ready_to_install (BoxesExpressInstallRow* self);
VALA_EXTERN gboolean boxes_express_install_row_get_enabled (BoxesExpressInstallRow* self);
VALA_EXTERN const gchar* boxes_express_install_row_get_username (BoxesExpressInstallRow* self);
VALA_EXTERN const gchar* boxes_express_install_row_get_password (BoxesExpressInstallRow* self);
VALA_EXTERN gboolean boxes_express_install_row_get_needs_password (BoxesExpressInstallRow* self);
VALA_EXTERN void boxes_express_install_row_set_needs_password (BoxesExpressInstallRow* self,
                                                   gboolean value);
VALA_EXTERN gboolean boxes_express_install_row_get_needs_product_key (BoxesExpressInstallRow* self);
VALA_EXTERN void boxes_express_install_row_set_product_key_format (BoxesExpressInstallRow* self,
                                                       const gchar* value);
VALA_EXTERN const gchar* boxes_express_install_row_get_product_key (BoxesExpressInstallRow* self);
static void boxes_express_install_row_finalize (GObject * obj);
static GType boxes_express_install_row_get_type_once (void);
static void _vala_boxes_express_install_row_get_property (GObject * object,
                                                   guint property_id,
                                                   GValue * value,
                                                   GParamSpec * pspec);
static void _vala_boxes_express_install_row_set_property (GObject * object,
                                                   guint property_id,
                                                   const GValue * value,
                                                   GParamSpec * pspec);

static inline gpointer
boxes_express_install_row_get_instance_private (BoxesExpressInstallRow* self)
{
	return G_STRUCT_MEMBER_P (self, BoxesExpressInstallRow_private_offset);
}

static void
boxes_express_install_row_on_entry_changed (BoxesExpressInstallRow* self)
{
	g_return_if_fail (self != NULL);
	g_signal_emit (self, boxes_express_install_row_signals[BOXES_EXPRESS_INSTALL_ROW_CREDENTIALS_CHANGED_SIGNAL], 0);
}

static void
_boxes_express_install_row_on_entry_changed_g_object_notify (GObject* _sender,
                                                             GParamSpec* pspec,
                                                             gpointer self)
{
	boxes_express_install_row_on_entry_changed ((BoxesExpressInstallRow*) self);
}

static void
boxes_express_install_row_on_secondary_icon_clicked (BoxesExpressInstallRow* self)
{
	GtkEntry* _tmp0_;
	GtkEntry* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	const gchar* _tmp4_ = NULL;
	GtkEntry* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
	GtkEntry* _tmp8_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->password_entry;
	_tmp1_ = self->password_entry;
	_tmp2_ = gtk_entry_get_visibility (_tmp1_);
	_tmp3_ = _tmp2_;
	gtk_entry_set_visibility (_tmp0_, !_tmp3_);
	_tmp5_ = self->password_entry;
	_tmp6_ = gtk_entry_get_visibility (_tmp5_);
	_tmp7_ = _tmp6_;
	if (_tmp7_) {
		_tmp4_ = "eye-open-negative-filled-symbolic";
	} else {
		_tmp4_ = "eye-not-looking-symbolic";
	}
	_tmp8_ = self->password_entry;
	g_object_set (_tmp8_, "secondary-icon-name", _tmp4_, NULL);
}

static void
_boxes_express_install_row_on_secondary_icon_clicked_gtk_entry_icon_release (GtkEntry* _sender,
                                                                             GtkEntryIconPosition icon_pos,
                                                                             GdkEvent* event,
                                                                             gpointer self)
{
	boxes_express_install_row_on_secondary_icon_clicked ((BoxesExpressInstallRow*) self);
}

BoxesExpressInstallRow*
boxes_express_install_row_construct (GType object_type)
{
	BoxesExpressInstallRow * self = NULL;
	self = (BoxesExpressInstallRow*) g_object_new (object_type, NULL);
	return self;
}

BoxesExpressInstallRow*
boxes_express_install_row_new (void)
{
	return boxes_express_install_row_construct (BOXES_TYPE_EXPRESS_INSTALL_ROW);
}

gboolean
boxes_express_install_row_get_ready_to_install (BoxesExpressInstallRow* self)
{
	gboolean result;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	gboolean _tmp2_;
	g_return_val_if_fail (self != NULL, FALSE);
	_tmp1_ = boxes_express_install_row_get_enabled (self);
	_tmp2_ = _tmp1_;
	if (!_tmp2_) {
		_tmp0_ = TRUE;
	} else {
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
		const gchar* _tmp5_;
		const gchar* _tmp6_;
		_tmp5_ = boxes_express_install_row_get_username (self);
		_tmp6_ = _tmp5_;
		if (_tmp6_ != NULL) {
			const gchar* _tmp7_;
			const gchar* _tmp8_;
			_tmp7_ = boxes_express_install_row_get_username (self);
			_tmp8_ = _tmp7_;
			_tmp4_ = g_strcmp0 (_tmp8_, "") != 0;
		} else {
			_tmp4_ = FALSE;
		}
		if (_tmp4_) {
			gboolean _tmp9_ = FALSE;
			const gchar* _tmp10_;
			const gchar* _tmp11_;
			_tmp10_ = boxes_express_install_row_get_password (self);
			_tmp11_ = _tmp10_;
			if (_tmp11_ != NULL) {
				const gchar* _tmp12_;
				const gchar* _tmp13_;
				_tmp12_ = boxes_express_install_row_get_password (self);
				_tmp13_ = _tmp12_;
				_tmp9_ = g_strcmp0 (_tmp13_, "") != 0;
			} else {
				_tmp9_ = FALSE;
			}
			_tmp3_ = _tmp9_;
		} else {
			_tmp3_ = FALSE;
		}
		_tmp0_ = _tmp3_;
	}
	result = _tmp0_;
	return result;
}

gboolean
boxes_express_install_row_get_needs_password (BoxesExpressInstallRow* self)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	result = self->priv->_needs_password;
	return result;
}

void
boxes_express_install_row_set_needs_password (BoxesExpressInstallRow* self,
                                              gboolean value)
{
	gboolean old_value;
	g_return_if_fail (self != NULL);
	old_value = boxes_express_install_row_get_needs_password (self);
	if (old_value != value) {
		self->priv->_needs_password = value;
		g_object_notify_by_pspec ((GObject *) self, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_NEEDS_PASSWORD_PROPERTY]);
	}
}

gboolean
boxes_express_install_row_get_needs_product_key (BoxesExpressInstallRow* self)
{
	gboolean result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, FALSE);
	_tmp0_ = self->priv->_product_key_format;
	result = _tmp0_ != NULL;
	return result;
}

void
boxes_express_install_row_set_product_key_format (BoxesExpressInstallRow* self,
                                                  const gchar* value)
{
	gchar* _tmp0_;
	HdyActionRow* _tmp1_;
	g_return_if_fail (self != NULL);
	_tmp0_ = g_strdup (value);
	_g_free0 (self->priv->_product_key_format);
	self->priv->_product_key_format = _tmp0_;
	_tmp1_ = self->product_key_row;
	gtk_widget_set_visible ((GtkWidget*) _tmp1_, value != NULL);
	g_object_notify_by_pspec ((GObject *) self, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_FORMAT_PROPERTY]);
}

gboolean
boxes_express_install_row_get_enabled (BoxesExpressInstallRow* self)
{
	gboolean result;
	gboolean _tmp0_;
	gboolean _tmp1_;
	g_return_val_if_fail (self != NULL, FALSE);
	_tmp0_ = hdy_expander_row_get_expanded ((HdyExpanderRow*) self);
	_tmp1_ = _tmp0_;
	result = _tmp1_;
	return result;
}

const gchar*
boxes_express_install_row_get_username (BoxesExpressInstallRow* self)
{
	const gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->username_entry;
	_tmp1_ = gtk_entry_get_text (_tmp0_);
	result = _tmp1_;
	return result;
}

const gchar*
boxes_express_install_row_get_password (BoxesExpressInstallRow* self)
{
	const gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->password_entry;
	_tmp1_ = gtk_entry_get_text (_tmp0_);
	result = _tmp1_;
	return result;
}

const gchar*
boxes_express_install_row_get_product_key (BoxesExpressInstallRow* self)
{
	const gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->product_key_entry;
	_tmp1_ = gtk_entry_get_text (_tmp0_);
	result = _tmp1_;
	return result;
}

static void
boxes_express_install_row_class_init (BoxesExpressInstallRowClass * klass,
                                      gpointer klass_data)
{
	boxes_express_install_row_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &BoxesExpressInstallRow_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_express_install_row_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_express_install_row_set_property;
	G_OBJECT_CLASS (klass)->finalize = boxes_express_install_row_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EXPRESS_INSTALL_ROW_READY_TO_INSTALL_PROPERTY, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_READY_TO_INSTALL_PROPERTY] = g_param_spec_boolean ("ready-to-install", "ready-to-install", "ready-to-install", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EXPRESS_INSTALL_ROW_NEEDS_PASSWORD_PROPERTY, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_NEEDS_PASSWORD_PROPERTY] = g_param_spec_boolean ("needs-password", "needs-password", "needs-password", TRUE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EXPRESS_INSTALL_ROW_NEEDS_PRODUCT_KEY_PROPERTY, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_NEEDS_PRODUCT_KEY_PROPERTY] = g_param_spec_boolean ("needs-product-key", "needs-product-key", "needs-product-key", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_FORMAT_PROPERTY, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_FORMAT_PROPERTY] = g_param_spec_string ("product-key-format", "product-key-format", "product-key-format", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EXPRESS_INSTALL_ROW_ENABLED_PROPERTY, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_ENABLED_PROPERTY] = g_param_spec_boolean ("enabled", "enabled", "enabled", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EXPRESS_INSTALL_ROW_USERNAME_PROPERTY, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_USERNAME_PROPERTY] = g_param_spec_string ("username", "username", "username", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EXPRESS_INSTALL_ROW_PASSWORD_PROPERTY, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_PASSWORD_PROPERTY] = g_param_spec_string ("password", "password", "password", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_PROPERTY, boxes_express_install_row_properties[BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_PROPERTY] = g_param_spec_string ("product-key", "product-key", "product-key", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Boxes/ui/assistant/express-install-row.ui");
	boxes_express_install_row_signals[BOXES_EXPRESS_INSTALL_ROW_CREDENTIALS_CHANGED_SIGNAL] = g_signal_new ("credentials-changed", BOXES_TYPE_EXPRESS_INSTALL_ROW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "username_entry", FALSE, G_STRUCT_OFFSET (BoxesExpressInstallRow, username_entry));
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "password_entry", FALSE, G_STRUCT_OFFSET (BoxesExpressInstallRow, password_entry));
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "product_key_row", FALSE, G_STRUCT_OFFSET (BoxesExpressInstallRow, product_key_row));
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "product_key_entry", FALSE, G_STRUCT_OFFSET (BoxesExpressInstallRow, product_key_entry));
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_entry_changed", G_CALLBACK(_boxes_express_install_row_on_entry_changed_g_object_notify));
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_secondary_icon_clicked", G_CALLBACK(_boxes_express_install_row_on_secondary_icon_clicked_gtk_entry_icon_release));
}

static void
boxes_express_install_row_instance_init (BoxesExpressInstallRow * self,
                                         gpointer klass)
{
	self->priv = boxes_express_install_row_get_instance_private (self);
	self->priv->_needs_password = TRUE;
	self->priv->_product_key_format = NULL;
	gtk_widget_init_template (GTK_WIDGET (self));
}

static void
boxes_express_install_row_finalize (GObject * obj)
{
	BoxesExpressInstallRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_EXPRESS_INSTALL_ROW, BoxesExpressInstallRow);
	_g_free0 (self->priv->_product_key_format);
	G_OBJECT_CLASS (boxes_express_install_row_parent_class)->finalize (obj);
}

static GType
boxes_express_install_row_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (BoxesExpressInstallRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_express_install_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesExpressInstallRow), 0, (GInstanceInitFunc) boxes_express_install_row_instance_init, NULL };
	GType boxes_express_install_row_type_id;
	boxes_express_install_row_type_id = g_type_register_static (hdy_expander_row_get_type (), "BoxesExpressInstallRow", &g_define_type_info, 0);
	BoxesExpressInstallRow_private_offset = g_type_add_instance_private (boxes_express_install_row_type_id, sizeof (BoxesExpressInstallRowPrivate));
	return boxes_express_install_row_type_id;
}

GType
boxes_express_install_row_get_type (void)
{
	static volatile gsize boxes_express_install_row_type_id__once = 0;
	if (g_once_init_enter (&boxes_express_install_row_type_id__once)) {
		GType boxes_express_install_row_type_id;
		boxes_express_install_row_type_id = boxes_express_install_row_get_type_once ();
		g_once_init_leave (&boxes_express_install_row_type_id__once, boxes_express_install_row_type_id);
	}
	return boxes_express_install_row_type_id__once;
}

static void
_vala_boxes_express_install_row_get_property (GObject * object,
                                              guint property_id,
                                              GValue * value,
                                              GParamSpec * pspec)
{
	BoxesExpressInstallRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_EXPRESS_INSTALL_ROW, BoxesExpressInstallRow);
	switch (property_id) {
		case BOXES_EXPRESS_INSTALL_ROW_READY_TO_INSTALL_PROPERTY:
		g_value_set_boolean (value, boxes_express_install_row_get_ready_to_install (self));
		break;
		case BOXES_EXPRESS_INSTALL_ROW_NEEDS_PASSWORD_PROPERTY:
		g_value_set_boolean (value, boxes_express_install_row_get_needs_password (self));
		break;
		case BOXES_EXPRESS_INSTALL_ROW_NEEDS_PRODUCT_KEY_PROPERTY:
		g_value_set_boolean (value, boxes_express_install_row_get_needs_product_key (self));
		break;
		case BOXES_EXPRESS_INSTALL_ROW_ENABLED_PROPERTY:
		g_value_set_boolean (value, boxes_express_install_row_get_enabled (self));
		break;
		case BOXES_EXPRESS_INSTALL_ROW_USERNAME_PROPERTY:
		g_value_set_string (value, boxes_express_install_row_get_username (self));
		break;
		case BOXES_EXPRESS_INSTALL_ROW_PASSWORD_PROPERTY:
		g_value_set_string (value, boxes_express_install_row_get_password (self));
		break;
		case BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_PROPERTY:
		g_value_set_string (value, boxes_express_install_row_get_product_key (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_boxes_express_install_row_set_property (GObject * object,
                                              guint property_id,
                                              const GValue * value,
                                              GParamSpec * pspec)
{
	BoxesExpressInstallRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_EXPRESS_INSTALL_ROW, BoxesExpressInstallRow);
	switch (property_id) {
		case BOXES_EXPRESS_INSTALL_ROW_NEEDS_PASSWORD_PROPERTY:
		boxes_express_install_row_set_needs_password (self, g_value_get_boolean (value));
		break;
		case BOXES_EXPRESS_INSTALL_ROW_PRODUCT_KEY_FORMAT_PROPERTY:
		boxes_express_install_row_set_product_key_format (self, g_value_get_string (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

