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

/*
 * Copyright (C) 2013  Paolo Borelli <pborelli@gnome.org>
 *
 * 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 2
 * 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.
 */

#include <adwaita.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.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 CLOCKS_WORLD_TYPE_STANDALONE (clocks_world_standalone_get_type ())
#define CLOCKS_WORLD_STANDALONE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLOCKS_WORLD_TYPE_STANDALONE, ClocksWorldStandalone))
#define CLOCKS_WORLD_STANDALONE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLOCKS_WORLD_TYPE_STANDALONE, ClocksWorldStandaloneClass))
#define CLOCKS_WORLD_IS_STANDALONE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLOCKS_WORLD_TYPE_STANDALONE))
#define CLOCKS_WORLD_IS_STANDALONE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLOCKS_WORLD_TYPE_STANDALONE))
#define CLOCKS_WORLD_STANDALONE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLOCKS_WORLD_TYPE_STANDALONE, ClocksWorldStandaloneClass))

typedef struct _ClocksWorldStandalone ClocksWorldStandalone;
typedef struct _ClocksWorldStandaloneClass ClocksWorldStandaloneClass;
typedef struct _ClocksWorldStandalonePrivate ClocksWorldStandalonePrivate;

#define CLOCKS_WORLD_TYPE_ITEM (clocks_world_item_get_type ())
#define CLOCKS_WORLD_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLOCKS_WORLD_TYPE_ITEM, ClocksWorldItem))
#define CLOCKS_WORLD_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLOCKS_WORLD_TYPE_ITEM, ClocksWorldItemClass))
#define CLOCKS_WORLD_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLOCKS_WORLD_TYPE_ITEM))
#define CLOCKS_WORLD_IS_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLOCKS_WORLD_TYPE_ITEM))
#define CLOCKS_WORLD_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLOCKS_WORLD_TYPE_ITEM, ClocksWorldItemClass))

typedef struct _ClocksWorldItem ClocksWorldItem;
typedef struct _ClocksWorldItemClass ClocksWorldItemClass;
enum  {
	CLOCKS_WORLD_STANDALONE_0_PROPERTY,
	CLOCKS_WORLD_STANDALONE_TITLE_PROPERTY,
	CLOCKS_WORLD_STANDALONE_SUBTITLE_PROPERTY,
	CLOCKS_WORLD_STANDALONE_LOCATION_PROPERTY,
	CLOCKS_WORLD_STANDALONE_NUM_PROPERTIES
};
static GParamSpec* clocks_world_standalone_properties[CLOCKS_WORLD_STANDALONE_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

struct _ClocksWorldStandalone {
	AdwBreakpointBin parent_instance;
	ClocksWorldStandalonePrivate * priv;
};

struct _ClocksWorldStandaloneClass {
	AdwBreakpointBinClass parent_class;
};

struct _ClocksWorldStandalonePrivate {
	gchar* _title;
	gchar* _subtitle;
	ClocksWorldItem* _location;
	GtkLabel* time_label;
	GtkLabel* time_label_small;
	GtkLabel* day_label;
	GtkLabel* sunrise_label;
	GtkLabel* sunset_label;
	GBindingGroup* location_binds;
};

static gint ClocksWorldStandalone_private_offset;
static gpointer clocks_world_standalone_parent_class = NULL;

VALA_EXTERN GType clocks_world_standalone_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ClocksWorldStandalone, g_object_unref)
VALA_EXTERN GType clocks_world_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ClocksWorldItem, g_object_unref)
VALA_EXTERN ClocksWorldStandalone* clocks_world_standalone_new (void);
VALA_EXTERN ClocksWorldStandalone* clocks_world_standalone_construct (GType object_type);
VALA_EXTERN const gchar* clocks_world_standalone_get_title (ClocksWorldStandalone* self);
VALA_EXTERN void clocks_world_standalone_set_title (ClocksWorldStandalone* self,
                                        const gchar* value);
VALA_EXTERN const gchar* clocks_world_standalone_get_subtitle (ClocksWorldStandalone* self);
VALA_EXTERN void clocks_world_standalone_set_subtitle (ClocksWorldStandalone* self,
                                           const gchar* value);
VALA_EXTERN ClocksWorldItem* clocks_world_standalone_get_location (ClocksWorldStandalone* self);
VALA_EXTERN void clocks_world_standalone_set_location (ClocksWorldStandalone* self,
                                           ClocksWorldItem* value);
static GObject * clocks_world_standalone_constructor (GType type,
                                               guint n_construct_properties,
                                               GObjectConstructParam * construct_properties);
static gboolean _clocks_world_standalone___lambda30_ (ClocksWorldStandalone* self,
                                               GBinding* binding,
                                               GValue* src,
                                               GValue* target);
VALA_EXTERN gchar* clocks_world_item_get_city_name (ClocksWorldItem* self);
static gboolean __clocks_world_standalone___lambda30__gbinding_transform_func (GBinding* binding,
                                                                        GValue* from_value,
                                                                        GValue* to_value,
                                                                        gpointer self);
static void clocks_world_standalone_finalize (GObject * obj);
static GType clocks_world_standalone_get_type_once (void);
static void _vala_clocks_world_standalone_get_property (GObject * object,
                                                 guint property_id,
                                                 GValue * value,
                                                 GParamSpec * pspec);
static void _vala_clocks_world_standalone_set_property (GObject * object,
                                                 guint property_id,
                                                 const GValue * value,
                                                 GParamSpec * pspec);

static inline gpointer
clocks_world_standalone_get_instance_private (ClocksWorldStandalone* self)
{
	return G_STRUCT_MEMBER_P (self, ClocksWorldStandalone_private_offset);
}

ClocksWorldStandalone*
clocks_world_standalone_construct (GType object_type)
{
	ClocksWorldStandalone * self = NULL;
	self = (ClocksWorldStandalone*) g_object_new (object_type, NULL);
	return self;
}

ClocksWorldStandalone*
clocks_world_standalone_new (void)
{
	return clocks_world_standalone_construct (CLOCKS_WORLD_TYPE_STANDALONE);
}

const gchar*
clocks_world_standalone_get_title (ClocksWorldStandalone* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_title;
	result = _tmp0_;
	return result;
}

void
clocks_world_standalone_set_title (ClocksWorldStandalone* self,
                                   const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = clocks_world_standalone_get_title (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_title);
		self->priv->_title = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, clocks_world_standalone_properties[CLOCKS_WORLD_STANDALONE_TITLE_PROPERTY]);
	}
}

const gchar*
clocks_world_standalone_get_subtitle (ClocksWorldStandalone* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_subtitle;
	result = _tmp0_;
	return result;
}

void
clocks_world_standalone_set_subtitle (ClocksWorldStandalone* self,
                                      const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = clocks_world_standalone_get_subtitle (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_subtitle);
		self->priv->_subtitle = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, clocks_world_standalone_properties[CLOCKS_WORLD_STANDALONE_SUBTITLE_PROPERTY]);
	}
}

ClocksWorldItem*
clocks_world_standalone_get_location (ClocksWorldStandalone* self)
{
	ClocksWorldItem* result;
	ClocksWorldItem* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_location;
	result = _tmp0_;
	return result;
}

static gpointer
_g_object_ref0 (gpointer self)
{
	return self ? g_object_ref (self) : NULL;
}

void
clocks_world_standalone_set_location (ClocksWorldStandalone* self,
                                      ClocksWorldItem* value)
{
	ClocksWorldItem* old_value;
	g_return_if_fail (self != NULL);
	old_value = clocks_world_standalone_get_location (self);
	if (old_value != value) {
		ClocksWorldItem* _tmp0_;
		_tmp0_ = _g_object_ref0 (value);
		_g_object_unref0 (self->priv->_location);
		self->priv->_location = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, clocks_world_standalone_properties[CLOCKS_WORLD_STANDALONE_LOCATION_PROPERTY]);
	}
}

static gboolean
_clocks_world_standalone___lambda30_ (ClocksWorldStandalone* self,
                                      GBinding* binding,
                                      GValue* src,
                                      GValue* target)
{
	gchar* state_name = NULL;
	GValue _tmp0_;
	gchar* _tmp1_;
	gchar* title = NULL;
	ClocksWorldItem* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	const gchar* _tmp5_;
	const gchar* _tmp12_;
	gboolean result;
	g_return_val_if_fail (binding != NULL, FALSE);
	g_return_val_if_fail (src != NULL, FALSE);
	g_return_val_if_fail (target != NULL, FALSE);
	_tmp0_ = *src;
	_tmp1_ = g_strdup (g_value_get_string (&_tmp0_));
	state_name = _tmp1_;
	_tmp2_ = self->priv->_location;
	_tmp3_ = clocks_world_item_get_city_name (_tmp2_);
	_tmp4_ = _tmp3_;
	title = _tmp4_;
	_tmp5_ = state_name;
	if (_tmp5_ != NULL) {
		ClocksWorldItem* _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
		gchar* _tmp9_;
		const gchar* _tmp10_;
		gchar* _tmp11_;
		_tmp6_ = self->priv->_location;
		_tmp7_ = clocks_world_item_get_city_name (_tmp6_);
		_tmp8_ = _tmp7_;
		_tmp9_ = _tmp8_;
		_tmp10_ = state_name;
		_tmp11_ = g_strdup_printf ("%s, %s", _tmp9_, (const gchar*) _tmp10_);
		_g_free0 (title);
		title = _tmp11_;
		_g_free0 (_tmp9_);
	}
	_tmp12_ = title;
	g_value_set_string (target, _tmp12_);
	result = TRUE;
	_g_free0 (title);
	_g_free0 (state_name);
	return result;
}

static gboolean
__clocks_world_standalone___lambda30__gbinding_transform_func (GBinding* binding,
                                                               GValue* from_value,
                                                               GValue* to_value,
                                                               gpointer self)
{
	gboolean result;
	result = _clocks_world_standalone___lambda30_ ((ClocksWorldStandalone*) self, binding, from_value, to_value);
	return result;
}

static GObject *
clocks_world_standalone_constructor (GType type,
                                     guint n_construct_properties,
                                     GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	ClocksWorldStandalone * self;
	GBindingGroup* _tmp0_;
	GBindingGroup* _tmp1_;
	GBindingGroup* _tmp2_;
	GtkLabel* _tmp3_;
	GBindingGroup* _tmp4_;
	GtkLabel* _tmp5_;
	GBindingGroup* _tmp6_;
	GtkLabel* _tmp7_;
	GBindingGroup* _tmp8_;
	GtkLabel* _tmp9_;
	GBindingGroup* _tmp10_;
	GtkLabel* _tmp11_;
	parent_class = G_OBJECT_CLASS (clocks_world_standalone_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, CLOCKS_WORLD_TYPE_STANDALONE, ClocksWorldStandalone);
	_tmp0_ = self->priv->location_binds;
	g_binding_group_bind (_tmp0_, "country-name", (GObject*) self, "subtitle", G_BINDING_SYNC_CREATE);
	_tmp1_ = self->priv->location_binds;
	g_binding_group_bind_with_closures (_tmp1_, "state-name", (GObject*) self, "title", G_BINDING_SYNC_CREATE, (GClosure*) ((__clocks_world_standalone___lambda30__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __clocks_world_standalone___lambda30__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp2_ = self->priv->location_binds;
	_tmp3_ = self->priv->time_label;
	g_binding_group_bind (_tmp2_, "time-label-seconds", (GObject*) _tmp3_, "label", G_BINDING_SYNC_CREATE);
	_tmp4_ = self->priv->location_binds;
	_tmp5_ = self->priv->time_label_small;
	g_binding_group_bind (_tmp4_, "time-label-seconds", (GObject*) _tmp5_, "label", G_BINDING_SYNC_CREATE);
	_tmp6_ = self->priv->location_binds;
	_tmp7_ = self->priv->day_label;
	g_binding_group_bind (_tmp6_, "day-label", (GObject*) _tmp7_, "label", G_BINDING_SYNC_CREATE);
	_tmp8_ = self->priv->location_binds;
	_tmp9_ = self->priv->sunrise_label;
	g_binding_group_bind (_tmp8_, "sunrise-label", (GObject*) _tmp9_, "label", G_BINDING_SYNC_CREATE);
	_tmp10_ = self->priv->location_binds;
	_tmp11_ = self->priv->sunset_label;
	g_binding_group_bind (_tmp10_, "sunset-label", (GObject*) _tmp11_, "label", G_BINDING_SYNC_CREATE);
	return obj;
}

static void
clocks_world_standalone_class_init (ClocksWorldStandaloneClass * klass,
                                    gpointer klass_data)
{
	clocks_world_standalone_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ClocksWorldStandalone_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_clocks_world_standalone_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_clocks_world_standalone_set_property;
	G_OBJECT_CLASS (klass)->constructor = clocks_world_standalone_constructor;
	G_OBJECT_CLASS (klass)->finalize = clocks_world_standalone_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), CLOCKS_WORLD_STANDALONE_TITLE_PROPERTY, clocks_world_standalone_properties[CLOCKS_WORLD_STANDALONE_TITLE_PROPERTY] = g_param_spec_string ("title", "title", "title", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), CLOCKS_WORLD_STANDALONE_SUBTITLE_PROPERTY, clocks_world_standalone_properties[CLOCKS_WORLD_STANDALONE_SUBTITLE_PROPERTY] = g_param_spec_string ("subtitle", "subtitle", "subtitle", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), CLOCKS_WORLD_STANDALONE_LOCATION_PROPERTY, clocks_world_standalone_properties[CLOCKS_WORLD_STANDALONE_LOCATION_PROPERTY] = g_param_spec_object ("location", "location", "location", CLOCKS_WORLD_TYPE_ITEM, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/clocks/ui/world-standalone.ui");
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "time_label", FALSE, ClocksWorldStandalone_private_offset + G_STRUCT_OFFSET (ClocksWorldStandalonePrivate, time_label));
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "time_label_small", FALSE, ClocksWorldStandalone_private_offset + G_STRUCT_OFFSET (ClocksWorldStandalonePrivate, time_label_small));
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "day_label", FALSE, ClocksWorldStandalone_private_offset + G_STRUCT_OFFSET (ClocksWorldStandalonePrivate, day_label));
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "sunrise_label", FALSE, ClocksWorldStandalone_private_offset + G_STRUCT_OFFSET (ClocksWorldStandalonePrivate, sunrise_label));
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "sunset_label", FALSE, ClocksWorldStandalone_private_offset + G_STRUCT_OFFSET (ClocksWorldStandalonePrivate, sunset_label));
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "location_binds", FALSE, ClocksWorldStandalone_private_offset + G_STRUCT_OFFSET (ClocksWorldStandalonePrivate, location_binds));
}

static void
clocks_world_standalone_instance_init (ClocksWorldStandalone * self,
                                       gpointer klass)
{
	gchar* _tmp0_;
	self->priv = clocks_world_standalone_get_instance_private (self);
	_tmp0_ = g_strdup (_ ("Clocks"));
	self->priv->_title = _tmp0_;
	gtk_widget_init_template (GTK_WIDGET (self));
}

static void
clocks_world_standalone_finalize (GObject * obj)
{
	ClocksWorldStandalone * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, CLOCKS_WORLD_TYPE_STANDALONE, ClocksWorldStandalone);
	_g_free0 (self->priv->_title);
	_g_free0 (self->priv->_subtitle);
	_g_object_unref0 (self->priv->_location);
	G_OBJECT_CLASS (clocks_world_standalone_parent_class)->finalize (obj);
}

 G_GNUC_NO_INLINE static GType
clocks_world_standalone_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ClocksWorldStandaloneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) clocks_world_standalone_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ClocksWorldStandalone), 0, (GInstanceInitFunc) clocks_world_standalone_instance_init, NULL };
	GType clocks_world_standalone_type_id;
	clocks_world_standalone_type_id = g_type_register_static (adw_breakpoint_bin_get_type (), "ClocksWorldStandalone", &g_define_type_info, 0);
	ClocksWorldStandalone_private_offset = g_type_add_instance_private (clocks_world_standalone_type_id, sizeof (ClocksWorldStandalonePrivate));
	return clocks_world_standalone_type_id;
}

GType
clocks_world_standalone_get_type (void)
{
	static gsize clocks_world_standalone_type_id__once = 0;
	if (g_once_init_enter (&clocks_world_standalone_type_id__once)) {
		GType clocks_world_standalone_type_id;
		clocks_world_standalone_type_id = clocks_world_standalone_get_type_once ();
		g_once_init_leave (&clocks_world_standalone_type_id__once, clocks_world_standalone_type_id);
	}
	return clocks_world_standalone_type_id__once;
}

static void
_vala_clocks_world_standalone_get_property (GObject * object,
                                            guint property_id,
                                            GValue * value,
                                            GParamSpec * pspec)
{
	ClocksWorldStandalone * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, CLOCKS_WORLD_TYPE_STANDALONE, ClocksWorldStandalone);
	switch (property_id) {
		case CLOCKS_WORLD_STANDALONE_TITLE_PROPERTY:
		g_value_set_string (value, clocks_world_standalone_get_title (self));
		break;
		case CLOCKS_WORLD_STANDALONE_SUBTITLE_PROPERTY:
		g_value_set_string (value, clocks_world_standalone_get_subtitle (self));
		break;
		case CLOCKS_WORLD_STANDALONE_LOCATION_PROPERTY:
		g_value_set_object (value, clocks_world_standalone_get_location (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_clocks_world_standalone_set_property (GObject * object,
                                            guint property_id,
                                            const GValue * value,
                                            GParamSpec * pspec)
{
	ClocksWorldStandalone * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, CLOCKS_WORLD_TYPE_STANDALONE, ClocksWorldStandalone);
	switch (property_id) {
		case CLOCKS_WORLD_STANDALONE_TITLE_PROPERTY:
		clocks_world_standalone_set_title (self, g_value_get_string (value));
		break;
		case CLOCKS_WORLD_STANDALONE_SUBTITLE_PROPERTY:
		clocks_world_standalone_set_subtitle (self, g_value_get_string (value));
		break;
		case CLOCKS_WORLD_STANDALONE_LOCATION_PROPERTY:
		clocks_world_standalone_set_location (self, g_value_get_object (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

