/* DeltaUser.c generated by valac 0.56.19, the Vala compiler
 * generated from DeltaUser.vala, do not modify */

/*
* Copyright (c) 2014-2018 elementary, Inc. (https://elementary.io)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* Authored by: Marvin Beckers <beckersmarvin@gmail.com>
*/

#include "useraccounts.h"
#include <act/act.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <glib-object.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

enum  {
	SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_0_PROPERTY,
	SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_USER_PROPERTY,
	SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_REAL_NAME_PROPERTY,
	SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_AUTOMATIC_LOGIN_PROPERTY,
	SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LOCKED_PROPERTY,
	SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LANGUAGE_PROPERTY,
	SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_NUM_PROPERTIES
};
static GParamSpec* switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))

struct _SwitchboardPlugUserAccountsDeltaUserPrivate {
	ActUser* _user;
	gchar* _real_name;
	ActUserAccountType* _account_type;
	gboolean _automatic_login;
	gboolean _locked;
	ActUserPasswordMode* _password_mode;
	gchar* _language;
};

static gint SwitchboardPlugUserAccountsDeltaUser_private_offset;
static gpointer switchboard_plug_user_accounts_delta_user_parent_class = NULL;

static void switchboard_plug_user_accounts_delta_user_set_real_name (SwitchboardPlugUserAccountsDeltaUser* self,
                                                              const gchar* value);
static void switchboard_plug_user_accounts_delta_user_set_account_type (SwitchboardPlugUserAccountsDeltaUser* self,
                                                                 ActUserAccountType* value);
static void switchboard_plug_user_accounts_delta_user_set_automatic_login (SwitchboardPlugUserAccountsDeltaUser* self,
                                                                    gboolean value);
static void switchboard_plug_user_accounts_delta_user_set_locked (SwitchboardPlugUserAccountsDeltaUser* self,
                                                           gboolean value);
static void switchboard_plug_user_accounts_delta_user_set_password_mode (SwitchboardPlugUserAccountsDeltaUser* self,
                                                                  ActUserPasswordMode* value);
static void switchboard_plug_user_accounts_delta_user_set_language (SwitchboardPlugUserAccountsDeltaUser* self,
                                                             const gchar* value);
static ActUserAccountType* _act_user_account_type_dup (ActUserAccountType* self);
static ActUserPasswordMode* _act_user_password_mode_dup (ActUserPasswordMode* self);
static GObject * switchboard_plug_user_accounts_delta_user_constructor (GType type,
                                                                 guint n_construct_properties,
                                                                 GObjectConstructParam * construct_properties);
static void switchboard_plug_user_accounts_delta_user_finalize (GObject * obj);
static GType switchboard_plug_user_accounts_delta_user_get_type_once (void);
static void _vala_switchboard_plug_user_accounts_delta_user_get_property (GObject * object,
                                                                   guint property_id,
                                                                   GValue * value,
                                                                   GParamSpec * pspec);
static void _vala_switchboard_plug_user_accounts_delta_user_set_property (GObject * object,
                                                                   guint property_id,
                                                                   const GValue * value,
                                                                   GParamSpec * pspec);

static inline gpointer
switchboard_plug_user_accounts_delta_user_get_instance_private (SwitchboardPlugUserAccountsDeltaUser* self)
{
	return G_STRUCT_MEMBER_P (self, SwitchboardPlugUserAccountsDeltaUser_private_offset);
}

SwitchboardPlugUserAccountsDeltaUser*
switchboard_plug_user_accounts_delta_user_construct (GType object_type,
                                                     ActUser* user)
{
	SwitchboardPlugUserAccountsDeltaUser * self = NULL;
	g_return_val_if_fail (user != NULL, NULL);
	self = (SwitchboardPlugUserAccountsDeltaUser*) g_object_new (object_type, "user", user, NULL);
	return self;
}

SwitchboardPlugUserAccountsDeltaUser*
switchboard_plug_user_accounts_delta_user_new (ActUser* user)
{
	return switchboard_plug_user_accounts_delta_user_construct (SWITCHBOARD_PLUG_USER_ACCOUNTS_TYPE_DELTA_USER, user);
}

void
switchboard_plug_user_accounts_delta_user_update (SwitchboardPlugUserAccountsDeltaUser* self)
{
	ActUser* _tmp0_;
	const gchar* _tmp1_;
	ActUser* _tmp2_;
	ActUserAccountType _tmp3_;
	ActUser* _tmp4_;
	ActUser* _tmp5_;
	ActUser* _tmp6_;
	ActUserPasswordMode _tmp7_;
	ActUser* _tmp8_;
	const gchar* _tmp9_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->_user;
	_tmp1_ = act_user_get_real_name (_tmp0_);
	switchboard_plug_user_accounts_delta_user_set_real_name (self, _tmp1_);
	_tmp2_ = self->priv->_user;
	_tmp3_ = act_user_get_account_type (_tmp2_);
	switchboard_plug_user_accounts_delta_user_set_account_type (self, &_tmp3_);
	_tmp4_ = self->priv->_user;
	switchboard_plug_user_accounts_delta_user_set_automatic_login (self, act_user_get_automatic_login (_tmp4_));
	_tmp5_ = self->priv->_user;
	switchboard_plug_user_accounts_delta_user_set_locked (self, act_user_get_locked (_tmp5_));
	_tmp6_ = self->priv->_user;
	_tmp7_ = act_user_get_password_mode (_tmp6_);
	switchboard_plug_user_accounts_delta_user_set_password_mode (self, &_tmp7_);
	_tmp8_ = self->priv->_user;
	_tmp9_ = act_user_get_language (_tmp8_);
	switchboard_plug_user_accounts_delta_user_set_language (self, _tmp9_);
}

ActUser*
switchboard_plug_user_accounts_delta_user_get_user (SwitchboardPlugUserAccountsDeltaUser* self)
{
	ActUser* result;
	ActUser* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_user;
	result = _tmp0_;
	return result;
}

static void
switchboard_plug_user_accounts_delta_user_set_user (SwitchboardPlugUserAccountsDeltaUser* self,
                                                    ActUser* value)
{
	ActUser* old_value;
	g_return_if_fail (self != NULL);
	old_value = switchboard_plug_user_accounts_delta_user_get_user (self);
	if (old_value != value) {
		self->priv->_user = value;
		g_object_notify_by_pspec ((GObject *) self, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_USER_PROPERTY]);
	}
}

const gchar*
switchboard_plug_user_accounts_delta_user_get_real_name (SwitchboardPlugUserAccountsDeltaUser* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_real_name;
	result = _tmp0_;
	return result;
}

static void
switchboard_plug_user_accounts_delta_user_set_real_name (SwitchboardPlugUserAccountsDeltaUser* self,
                                                         const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = switchboard_plug_user_accounts_delta_user_get_real_name (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_real_name);
		self->priv->_real_name = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_REAL_NAME_PROPERTY]);
	}
}

ActUserAccountType*
switchboard_plug_user_accounts_delta_user_get_account_type (SwitchboardPlugUserAccountsDeltaUser* self)
{
	ActUserAccountType* result;
	ActUserAccountType* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_account_type;
	result = _tmp0_;
	return result;
}

static ActUserAccountType*
_act_user_account_type_dup (ActUserAccountType* self)
{
	ActUserAccountType* dup;
	dup = g_new0 (ActUserAccountType, 1);
	memcpy (dup, self, sizeof (ActUserAccountType));
	return dup;
}

static gpointer
__act_user_account_type_dup0 (gpointer self)
{
	return self ? _act_user_account_type_dup (self) : NULL;
}

static void
switchboard_plug_user_accounts_delta_user_set_account_type (SwitchboardPlugUserAccountsDeltaUser* self,
                                                            ActUserAccountType* value)
{
	ActUserAccountType* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = __act_user_account_type_dup0 (value);
	_g_free0 (self->priv->_account_type);
	self->priv->_account_type = _tmp0_;
}

gboolean
switchboard_plug_user_accounts_delta_user_get_automatic_login (SwitchboardPlugUserAccountsDeltaUser* self)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	result = self->priv->_automatic_login;
	return result;
}

static void
switchboard_plug_user_accounts_delta_user_set_automatic_login (SwitchboardPlugUserAccountsDeltaUser* self,
                                                               gboolean value)
{
	gboolean old_value;
	g_return_if_fail (self != NULL);
	old_value = switchboard_plug_user_accounts_delta_user_get_automatic_login (self);
	if (old_value != value) {
		self->priv->_automatic_login = value;
		g_object_notify_by_pspec ((GObject *) self, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_AUTOMATIC_LOGIN_PROPERTY]);
	}
}

gboolean
switchboard_plug_user_accounts_delta_user_get_locked (SwitchboardPlugUserAccountsDeltaUser* self)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	result = self->priv->_locked;
	return result;
}

static void
switchboard_plug_user_accounts_delta_user_set_locked (SwitchboardPlugUserAccountsDeltaUser* self,
                                                      gboolean value)
{
	gboolean old_value;
	g_return_if_fail (self != NULL);
	old_value = switchboard_plug_user_accounts_delta_user_get_locked (self);
	if (old_value != value) {
		self->priv->_locked = value;
		g_object_notify_by_pspec ((GObject *) self, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LOCKED_PROPERTY]);
	}
}

ActUserPasswordMode*
switchboard_plug_user_accounts_delta_user_get_password_mode (SwitchboardPlugUserAccountsDeltaUser* self)
{
	ActUserPasswordMode* result;
	ActUserPasswordMode* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_password_mode;
	result = _tmp0_;
	return result;
}

static ActUserPasswordMode*
_act_user_password_mode_dup (ActUserPasswordMode* self)
{
	ActUserPasswordMode* dup;
	dup = g_new0 (ActUserPasswordMode, 1);
	memcpy (dup, self, sizeof (ActUserPasswordMode));
	return dup;
}

static gpointer
__act_user_password_mode_dup0 (gpointer self)
{
	return self ? _act_user_password_mode_dup (self) : NULL;
}

static void
switchboard_plug_user_accounts_delta_user_set_password_mode (SwitchboardPlugUserAccountsDeltaUser* self,
                                                             ActUserPasswordMode* value)
{
	ActUserPasswordMode* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = __act_user_password_mode_dup0 (value);
	_g_free0 (self->priv->_password_mode);
	self->priv->_password_mode = _tmp0_;
}

const gchar*
switchboard_plug_user_accounts_delta_user_get_language (SwitchboardPlugUserAccountsDeltaUser* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_language;
	result = _tmp0_;
	return result;
}

static void
switchboard_plug_user_accounts_delta_user_set_language (SwitchboardPlugUserAccountsDeltaUser* self,
                                                        const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = switchboard_plug_user_accounts_delta_user_get_language (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_language);
		self->priv->_language = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LANGUAGE_PROPERTY]);
	}
}

static GObject *
switchboard_plug_user_accounts_delta_user_constructor (GType type,
                                                       guint n_construct_properties,
                                                       GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	SwitchboardPlugUserAccountsDeltaUser * self;
	parent_class = G_OBJECT_CLASS (switchboard_plug_user_accounts_delta_user_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, SWITCHBOARD_PLUG_USER_ACCOUNTS_TYPE_DELTA_USER, SwitchboardPlugUserAccountsDeltaUser);
	switchboard_plug_user_accounts_delta_user_set_real_name (self, NULL);
	switchboard_plug_user_accounts_delta_user_set_account_type (self, NULL);
	switchboard_plug_user_accounts_delta_user_set_automatic_login (self, FALSE);
	switchboard_plug_user_accounts_delta_user_set_locked (self, FALSE);
	switchboard_plug_user_accounts_delta_user_set_password_mode (self, NULL);
	switchboard_plug_user_accounts_delta_user_set_language (self, NULL);
	return obj;
}

static void
switchboard_plug_user_accounts_delta_user_class_init (SwitchboardPlugUserAccountsDeltaUserClass * klass,
                                                      gpointer klass_data)
{
	switchboard_plug_user_accounts_delta_user_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &SwitchboardPlugUserAccountsDeltaUser_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_switchboard_plug_user_accounts_delta_user_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_switchboard_plug_user_accounts_delta_user_set_property;
	G_OBJECT_CLASS (klass)->constructor = switchboard_plug_user_accounts_delta_user_constructor;
	G_OBJECT_CLASS (klass)->finalize = switchboard_plug_user_accounts_delta_user_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_USER_PROPERTY, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_USER_PROPERTY] = g_param_spec_object ("user", "user", "user", act_user_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_REAL_NAME_PROPERTY, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_REAL_NAME_PROPERTY] = g_param_spec_string ("real-name", "real-name", "real-name", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_AUTOMATIC_LOGIN_PROPERTY, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_AUTOMATIC_LOGIN_PROPERTY] = g_param_spec_boolean ("automatic-login", "automatic-login", "automatic-login", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LOCKED_PROPERTY, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LOCKED_PROPERTY] = g_param_spec_boolean ("locked", "locked", "locked", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LANGUAGE_PROPERTY, switchboard_plug_user_accounts_delta_user_properties[SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LANGUAGE_PROPERTY] = g_param_spec_string ("language", "language", "language", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
}

static void
switchboard_plug_user_accounts_delta_user_instance_init (SwitchboardPlugUserAccountsDeltaUser * self,
                                                         gpointer klass)
{
	self->priv = switchboard_plug_user_accounts_delta_user_get_instance_private (self);
}

static void
switchboard_plug_user_accounts_delta_user_finalize (GObject * obj)
{
	SwitchboardPlugUserAccountsDeltaUser * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, SWITCHBOARD_PLUG_USER_ACCOUNTS_TYPE_DELTA_USER, SwitchboardPlugUserAccountsDeltaUser);
	_g_free0 (self->priv->_real_name);
	_g_free0 (self->priv->_account_type);
	_g_free0 (self->priv->_password_mode);
	_g_free0 (self->priv->_language);
	G_OBJECT_CLASS (switchboard_plug_user_accounts_delta_user_parent_class)->finalize (obj);
}

static GType
switchboard_plug_user_accounts_delta_user_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (SwitchboardPlugUserAccountsDeltaUserClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) switchboard_plug_user_accounts_delta_user_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SwitchboardPlugUserAccountsDeltaUser), 0, (GInstanceInitFunc) switchboard_plug_user_accounts_delta_user_instance_init, NULL };
	GType switchboard_plug_user_accounts_delta_user_type_id;
	switchboard_plug_user_accounts_delta_user_type_id = g_type_register_static (G_TYPE_OBJECT, "SwitchboardPlugUserAccountsDeltaUser", &g_define_type_info, 0);
	SwitchboardPlugUserAccountsDeltaUser_private_offset = g_type_add_instance_private (switchboard_plug_user_accounts_delta_user_type_id, sizeof (SwitchboardPlugUserAccountsDeltaUserPrivate));
	return switchboard_plug_user_accounts_delta_user_type_id;
}

GType
switchboard_plug_user_accounts_delta_user_get_type (void)
{
	static volatile gsize switchboard_plug_user_accounts_delta_user_type_id__once = 0;
	if (g_once_init_enter (&switchboard_plug_user_accounts_delta_user_type_id__once)) {
		GType switchboard_plug_user_accounts_delta_user_type_id;
		switchboard_plug_user_accounts_delta_user_type_id = switchboard_plug_user_accounts_delta_user_get_type_once ();
		g_once_init_leave (&switchboard_plug_user_accounts_delta_user_type_id__once, switchboard_plug_user_accounts_delta_user_type_id);
	}
	return switchboard_plug_user_accounts_delta_user_type_id__once;
}

static void
_vala_switchboard_plug_user_accounts_delta_user_get_property (GObject * object,
                                                              guint property_id,
                                                              GValue * value,
                                                              GParamSpec * pspec)
{
	SwitchboardPlugUserAccountsDeltaUser * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, SWITCHBOARD_PLUG_USER_ACCOUNTS_TYPE_DELTA_USER, SwitchboardPlugUserAccountsDeltaUser);
	switch (property_id) {
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_USER_PROPERTY:
		g_value_set_object (value, switchboard_plug_user_accounts_delta_user_get_user (self));
		break;
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_REAL_NAME_PROPERTY:
		g_value_set_string (value, switchboard_plug_user_accounts_delta_user_get_real_name (self));
		break;
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_AUTOMATIC_LOGIN_PROPERTY:
		g_value_set_boolean (value, switchboard_plug_user_accounts_delta_user_get_automatic_login (self));
		break;
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LOCKED_PROPERTY:
		g_value_set_boolean (value, switchboard_plug_user_accounts_delta_user_get_locked (self));
		break;
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LANGUAGE_PROPERTY:
		g_value_set_string (value, switchboard_plug_user_accounts_delta_user_get_language (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_switchboard_plug_user_accounts_delta_user_set_property (GObject * object,
                                                              guint property_id,
                                                              const GValue * value,
                                                              GParamSpec * pspec)
{
	SwitchboardPlugUserAccountsDeltaUser * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, SWITCHBOARD_PLUG_USER_ACCOUNTS_TYPE_DELTA_USER, SwitchboardPlugUserAccountsDeltaUser);
	switch (property_id) {
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_USER_PROPERTY:
		switchboard_plug_user_accounts_delta_user_set_user (self, g_value_get_object (value));
		break;
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_REAL_NAME_PROPERTY:
		switchboard_plug_user_accounts_delta_user_set_real_name (self, g_value_get_string (value));
		break;
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_AUTOMATIC_LOGIN_PROPERTY:
		switchboard_plug_user_accounts_delta_user_set_automatic_login (self, g_value_get_boolean (value));
		break;
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LOCKED_PROPERTY:
		switchboard_plug_user_accounts_delta_user_set_locked (self, g_value_get_boolean (value));
		break;
		case SWITCHBOARD_PLUG_USER_ACCOUNTS_DELTA_USER_LANGUAGE_PROPERTY:
		switchboard_plug_user_accounts_delta_user_set_language (self, g_value_get_string (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

