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

/*
 * This file is part of budgie-desktop
 * 
 * Copyright (C) 2015-2016 Ikey Doherty <ikey@solus-project.com>
 * 
 * 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.
 */

#include <glib.h>
#include <glib-object.h>
#include <libpeas/peas.h>
#include <plugin.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gio/gio.h>


#define TYPE_SPACER_PLUGIN (spacer_plugin_get_type ())
#define SPACER_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SPACER_PLUGIN, SpacerPlugin))
#define SPACER_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SPACER_PLUGIN, SpacerPluginClass))
#define IS_SPACER_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SPACER_PLUGIN))
#define IS_SPACER_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SPACER_PLUGIN))
#define SPACER_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SPACER_PLUGIN, SpacerPluginClass))

typedef struct _SpacerPlugin SpacerPlugin;
typedef struct _SpacerPluginClass SpacerPluginClass;
typedef struct _SpacerPluginPrivate SpacerPluginPrivate;

#define TYPE_SPACER_APPLET (spacer_applet_get_type ())
#define SPACER_APPLET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SPACER_APPLET, SpacerApplet))
#define SPACER_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SPACER_APPLET, SpacerAppletClass))
#define IS_SPACER_APPLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SPACER_APPLET))
#define IS_SPACER_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SPACER_APPLET))
#define SPACER_APPLET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SPACER_APPLET, SpacerAppletClass))

typedef struct _SpacerApplet SpacerApplet;
typedef struct _SpacerAppletClass SpacerAppletClass;

#define TYPE_SPACER_SETTINGS (spacer_settings_get_type ())
#define SPACER_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SPACER_SETTINGS, SpacerSettings))
#define SPACER_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SPACER_SETTINGS, SpacerSettingsClass))
#define IS_SPACER_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SPACER_SETTINGS))
#define IS_SPACER_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SPACER_SETTINGS))
#define SPACER_SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SPACER_SETTINGS, SpacerSettingsClass))

typedef struct _SpacerSettings SpacerSettings;
typedef struct _SpacerSettingsClass SpacerSettingsClass;
typedef struct _SpacerSettingsPrivate SpacerSettingsPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _SpacerAppletPrivate SpacerAppletPrivate;
#define _g_free0(var) (var = (g_free (var), NULL))

struct _SpacerPlugin {
	PeasExtensionBase parent_instance;
	SpacerPluginPrivate * priv;
};

struct _SpacerPluginClass {
	PeasExtensionBaseClass parent_class;
};

struct _SpacerSettings {
	GtkGrid parent_instance;
	SpacerSettingsPrivate * priv;
};

struct _SpacerSettingsClass {
	GtkGridClass parent_class;
};

struct _SpacerSettingsPrivate {
	GSettings* settings;
	GtkSpinButton* spinbutton_size;
};

struct _SpacerApplet {
	BudgieApplet parent_instance;
	SpacerAppletPrivate * priv;
};

struct _SpacerAppletClass {
	BudgieAppletClass parent_class;
};

struct _SpacerAppletPrivate {
	gint _space_size;
	gchar* _uuid;
	GSettings* settings;
};


static gpointer spacer_plugin_parent_class = NULL;
static BudgiePluginIface* spacer_plugin_budgie_plugin_parent_iface = NULL;
static GType spacer_plugin_type_id = 0;
static gpointer spacer_settings_parent_class = NULL;
static GType spacer_settings_type_id = 0;
static gpointer spacer_applet_parent_class = NULL;
static GType spacer_applet_type_id = 0;

GType spacer_plugin_get_type (void) G_GNUC_CONST;
GType spacer_plugin_register_type (GTypeModule * module);
enum  {
	SPACER_PLUGIN_DUMMY_PROPERTY
};
static BudgieApplet* spacer_plugin_real_get_panel_widget (BudgiePlugin* base, const gchar* uuid);
SpacerApplet* spacer_applet_new (const gchar* uuid);
SpacerApplet* spacer_applet_construct (GType object_type, const gchar* uuid);
GType spacer_applet_get_type (void) G_GNUC_CONST;
GType spacer_applet_register_type (GTypeModule * module);
SpacerPlugin* spacer_plugin_new (void);
SpacerPlugin* spacer_plugin_construct (GType object_type);
GType spacer_settings_get_type (void) G_GNUC_CONST;
GType spacer_settings_register_type (GTypeModule * module);
#define SPACER_SETTINGS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SPACER_SETTINGS, SpacerSettingsPrivate))
enum  {
	SPACER_SETTINGS_DUMMY_PROPERTY
};
SpacerSettings* spacer_settings_new (GSettings* settings);
SpacerSettings* spacer_settings_construct (GType object_type, GSettings* settings);
static void spacer_settings_finalize (GObject* obj);
#define SPACER_APPLET_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SPACER_APPLET, SpacerAppletPrivate))
enum  {
	SPACER_APPLET_DUMMY_PROPERTY,
	SPACER_APPLET_SPACE_SIZE,
	SPACER_APPLET_UUID
};
static gboolean spacer_applet_real_supports_settings (BudgieApplet* base);
static GtkWidget* spacer_applet_real_get_settings_ui (BudgieApplet* base);
const gchar* spacer_applet_get_uuid (SpacerApplet* self);
static void spacer_applet_on_settings_change (SpacerApplet* self, const gchar* key);
static void _spacer_applet_on_settings_change_g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
void spacer_applet_set_space_size (SpacerApplet* self, gint value);
static void spacer_applet_real_get_preferred_width (GtkWidget* base, gint* min, gint* nat);
gint spacer_applet_get_space_size (SpacerApplet* self);
static void spacer_applet_real_get_preferred_width_for_height (GtkWidget* base, gint h, gint* min, gint* nat);
void spacer_applet_set_uuid (SpacerApplet* self, const gchar* value);
static void spacer_applet_finalize (GObject* obj);
static void _vala_spacer_applet_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_spacer_applet_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
void peas_register_types (GTypeModule* module);


static BudgieApplet* spacer_plugin_real_get_panel_widget (BudgiePlugin* base, const gchar* uuid) {
	SpacerPlugin * self;
	BudgieApplet* result = NULL;
	const gchar* _tmp0_ = NULL;
	SpacerApplet* _tmp1_ = NULL;
	self = (SpacerPlugin*) base;
	g_return_val_if_fail (uuid != NULL, NULL);
	_tmp0_ = uuid;
	_tmp1_ = spacer_applet_new (_tmp0_);
	g_object_ref_sink (_tmp1_);
	result = (BudgieApplet*) _tmp1_;
	return result;
}


SpacerPlugin* spacer_plugin_construct (GType object_type) {
	SpacerPlugin * self = NULL;
	self = (SpacerPlugin*) g_object_new (object_type, NULL);
	return self;
}


SpacerPlugin* spacer_plugin_new (void) {
	return spacer_plugin_construct (TYPE_SPACER_PLUGIN);
}


static void spacer_plugin_class_init (SpacerPluginClass * klass) {
	spacer_plugin_parent_class = g_type_class_peek_parent (klass);
}


static void spacer_plugin_budgie_plugin_interface_init (BudgiePluginIface * iface) {
	spacer_plugin_budgie_plugin_parent_iface = g_type_interface_peek_parent (iface);
	iface->get_panel_widget = (BudgieApplet* (*)(BudgiePlugin*, const gchar*)) spacer_plugin_real_get_panel_widget;
}


static void spacer_plugin_instance_init (SpacerPlugin * self) {
}


GType spacer_plugin_get_type (void) {
	return spacer_plugin_type_id;
}


GType spacer_plugin_register_type (GTypeModule * module) {
	static const GTypeInfo g_define_type_info = { sizeof (SpacerPluginClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spacer_plugin_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpacerPlugin), 0, (GInstanceInitFunc) spacer_plugin_instance_init, NULL };
	static const GInterfaceInfo budgie_plugin_info = { (GInterfaceInitFunc) spacer_plugin_budgie_plugin_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
	spacer_plugin_type_id = g_type_module_register_type (module, peas_extension_base_get_type (), "SpacerPlugin", &g_define_type_info, 0);
	g_type_module_add_interface (module, spacer_plugin_type_id, budgie_plugin_get_type (), &budgie_plugin_info);
	return spacer_plugin_type_id;
}


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


SpacerSettings* spacer_settings_construct (GType object_type, GSettings* settings) {
	SpacerSettings * self = NULL;
	GSettings* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
	GSettings* _tmp2_ = NULL;
	GtkSpinButton* _tmp3_ = NULL;
	self = (SpacerSettings*) g_object_new (object_type, NULL);
	_tmp0_ = settings;
	_tmp1_ = _g_object_ref0 (_tmp0_);
	_g_object_unref0 (self->priv->settings);
	self->priv->settings = _tmp1_;
	_tmp2_ = settings;
	_tmp3_ = self->priv->spinbutton_size;
	g_settings_bind (_tmp2_, "size", (GObject*) _tmp3_, "value", G_SETTINGS_BIND_DEFAULT);
	return self;
}


SpacerSettings* spacer_settings_new (GSettings* settings) {
	return spacer_settings_construct (TYPE_SPACER_SETTINGS, settings);
}


static void spacer_settings_class_init (SpacerSettingsClass * klass) {
	gint SpacerSettings_private_offset;
	spacer_settings_parent_class = g_type_class_peek_parent (klass);
	g_type_class_add_private (klass, sizeof (SpacerSettingsPrivate));
	G_OBJECT_CLASS (klass)->finalize = spacer_settings_finalize;
	SpacerSettings_private_offset = g_type_class_get_instance_private_offset (klass);
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/com/solus-project/spacer/settings.ui");
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "spinbutton_size", FALSE, SpacerSettings_private_offset + G_STRUCT_OFFSET (SpacerSettingsPrivate, spinbutton_size));
}


static void spacer_settings_instance_init (SpacerSettings * self) {
	self->priv = SPACER_SETTINGS_GET_PRIVATE (self);
	self->priv->settings = NULL;
	gtk_widget_init_template (GTK_WIDGET (self));
}


static void spacer_settings_finalize (GObject* obj) {
	SpacerSettings * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SPACER_SETTINGS, SpacerSettings);
	_g_object_unref0 (self->priv->settings);
	_g_object_unref0 (self->priv->spinbutton_size);
	G_OBJECT_CLASS (spacer_settings_parent_class)->finalize (obj);
}


GType spacer_settings_get_type (void) {
	return spacer_settings_type_id;
}


GType spacer_settings_register_type (GTypeModule * module) {
	static const GTypeInfo g_define_type_info = { sizeof (SpacerSettingsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spacer_settings_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpacerSettings), 0, (GInstanceInitFunc) spacer_settings_instance_init, NULL };
	spacer_settings_type_id = g_type_module_register_type (module, gtk_grid_get_type (), "SpacerSettings", &g_define_type_info, 0);
	return spacer_settings_type_id;
}


static gboolean spacer_applet_real_supports_settings (BudgieApplet* base) {
	SpacerApplet * self;
	gboolean result = FALSE;
	self = (SpacerApplet*) base;
	result = TRUE;
	return result;
}


static GtkWidget* spacer_applet_real_get_settings_ui (BudgieApplet* base) {
	SpacerApplet * self;
	GtkWidget* result = NULL;
	const gchar* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
	GSettings* _tmp2_ = NULL;
	SpacerSettings* _tmp3_ = NULL;
	GtkWidget* _tmp4_ = NULL;
	self = (SpacerApplet*) base;
	_tmp0_ = self->priv->_uuid;
	_tmp1_ = budgie_applet_get_applet_settings ((BudgieApplet*) self, _tmp0_);
	_tmp2_ = _tmp1_;
	_tmp3_ = spacer_settings_new (_tmp2_);
	g_object_ref_sink (_tmp3_);
	_tmp4_ = (GtkWidget*) _tmp3_;
	_g_object_unref0 (_tmp2_);
	result = _tmp4_;
	return result;
}


static void _spacer_applet_on_settings_change_g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
	spacer_applet_on_settings_change ((SpacerApplet*) self, key);
}


SpacerApplet* spacer_applet_construct (GType object_type, const gchar* uuid) {
	SpacerApplet * self = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GSettings* _tmp2_ = NULL;
	GSettings* _tmp3_ = NULL;
	g_return_val_if_fail (uuid != NULL, NULL);
	_tmp0_ = uuid;
	self = (SpacerApplet*) g_object_new (object_type, "uuid", _tmp0_, NULL);
	budgie_applet_set_settings_schema ((BudgieApplet*) self, "com.solus-project.spacer");
	budgie_applet_set_settings_prefix ((BudgieApplet*) self, "/com/solus-project/budgie-panel/instance/spacer");
	_tmp1_ = uuid;
	_tmp2_ = budgie_applet_get_applet_settings ((BudgieApplet*) self, _tmp1_);
	_g_object_unref0 (self->priv->settings);
	self->priv->settings = _tmp2_;
	_tmp3_ = self->priv->settings;
	g_signal_connect_object (_tmp3_, "changed", (GCallback) _spacer_applet_on_settings_change_g_settings_changed, self, 0);
	spacer_applet_on_settings_change (self, "size");
	gtk_widget_show_all ((GtkWidget*) self);
	return self;
}


SpacerApplet* spacer_applet_new (const gchar* uuid) {
	return spacer_applet_construct (TYPE_SPACER_APPLET, uuid);
}


static void spacer_applet_on_settings_change (SpacerApplet* self, const gchar* key) {
	const gchar* _tmp0_ = NULL;
	GSettings* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key != NULL);
	_tmp0_ = key;
	if (g_strcmp0 (_tmp0_, "size") != 0) {
		return;
	}
	_tmp1_ = self->priv->settings;
	_tmp2_ = key;
	_tmp3_ = g_settings_get_int (_tmp1_, _tmp2_);
	spacer_applet_set_space_size (self, _tmp3_);
	gtk_widget_queue_resize ((GtkWidget*) self);
}


static void spacer_applet_real_get_preferred_width (GtkWidget* base, gint* min, gint* nat) {
	SpacerApplet * self;
	gint _vala_min = 0;
	gint _vala_nat = 0;
	gint _tmp0_ = 0;
	self = (SpacerApplet*) base;
	_tmp0_ = self->priv->_space_size;
	_vala_nat = _tmp0_;
	_vala_min = _vala_nat;
	if (min) {
		*min = _vala_min;
	}
	if (nat) {
		*nat = _vala_nat;
	}
}


static void spacer_applet_real_get_preferred_width_for_height (GtkWidget* base, gint h, gint* min, gint* nat) {
	SpacerApplet * self;
	gint _vala_min = 0;
	gint _vala_nat = 0;
	gint _tmp0_ = 0;
	self = (SpacerApplet*) base;
	_tmp0_ = self->priv->_space_size;
	_vala_nat = _tmp0_;
	_vala_min = _vala_nat;
	if (min) {
		*min = _vala_min;
	}
	if (nat) {
		*nat = _vala_nat;
	}
}


gint spacer_applet_get_space_size (SpacerApplet* self) {
	gint result;
	gint _tmp0_ = 0;
	g_return_val_if_fail (self != NULL, 0);
	_tmp0_ = self->priv->_space_size;
	result = _tmp0_;
	return result;
}


void spacer_applet_set_space_size (SpacerApplet* self, gint value) {
	gint _tmp0_ = 0;
	g_return_if_fail (self != NULL);
	_tmp0_ = value;
	self->priv->_space_size = _tmp0_;
	g_object_notify ((GObject *) self, "space-size");
}


const gchar* spacer_applet_get_uuid (SpacerApplet* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_uuid;
	result = _tmp0_;
	return result;
}


void spacer_applet_set_uuid (SpacerApplet* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	g_return_if_fail (self != NULL);
	_tmp0_ = value;
	_tmp1_ = g_strdup (_tmp0_);
	_g_free0 (self->priv->_uuid);
	self->priv->_uuid = _tmp1_;
	g_object_notify ((GObject *) self, "uuid");
}


static void spacer_applet_class_init (SpacerAppletClass * klass) {
	spacer_applet_parent_class = g_type_class_peek_parent (klass);
	g_type_class_add_private (klass, sizeof (SpacerAppletPrivate));
	((BudgieAppletClass *) klass)->supports_settings = spacer_applet_real_supports_settings;
	((BudgieAppletClass *) klass)->get_settings_ui = spacer_applet_real_get_settings_ui;
	((GtkWidgetClass *) klass)->get_preferred_width = spacer_applet_real_get_preferred_width;
	((GtkWidgetClass *) klass)->get_preferred_width_for_height = spacer_applet_real_get_preferred_width_for_height;
	G_OBJECT_CLASS (klass)->get_property = _vala_spacer_applet_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_spacer_applet_set_property;
	G_OBJECT_CLASS (klass)->finalize = spacer_applet_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), SPACER_APPLET_SPACE_SIZE, g_param_spec_int ("space-size", "space-size", "space-size", G_MININT, G_MAXINT, 5, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SPACER_APPLET_UUID, g_param_spec_string ("uuid", "uuid", "uuid", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
}


static void spacer_applet_instance_init (SpacerApplet * self) {
	self->priv = SPACER_APPLET_GET_PRIVATE (self);
	self->priv->_space_size = 5;
}


static void spacer_applet_finalize (GObject* obj) {
	SpacerApplet * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SPACER_APPLET, SpacerApplet);
	_g_free0 (self->priv->_uuid);
	_g_object_unref0 (self->priv->settings);
	G_OBJECT_CLASS (spacer_applet_parent_class)->finalize (obj);
}


GType spacer_applet_get_type (void) {
	return spacer_applet_type_id;
}


GType spacer_applet_register_type (GTypeModule * module) {
	static const GTypeInfo g_define_type_info = { sizeof (SpacerAppletClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spacer_applet_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpacerApplet), 0, (GInstanceInitFunc) spacer_applet_instance_init, NULL };
	spacer_applet_type_id = g_type_module_register_type (module, budgie_applet_get_type (), "SpacerApplet", &g_define_type_info, 0);
	return spacer_applet_type_id;
}


static void _vala_spacer_applet_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	SpacerApplet * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_SPACER_APPLET, SpacerApplet);
	switch (property_id) {
		case SPACER_APPLET_SPACE_SIZE:
		g_value_set_int (value, spacer_applet_get_space_size (self));
		break;
		case SPACER_APPLET_UUID:
		g_value_set_string (value, spacer_applet_get_uuid (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}


static void _vala_spacer_applet_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	SpacerApplet * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_SPACER_APPLET, SpacerApplet);
	switch (property_id) {
		case SPACER_APPLET_SPACE_SIZE:
		spacer_applet_set_space_size (self, g_value_get_int (value));
		break;
		case SPACER_APPLET_UUID:
		spacer_applet_set_uuid (self, g_value_get_string (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}


void peas_register_types (GTypeModule* module) {
	PeasObjectModule* objmodule = NULL;
	GTypeModule* _tmp0_ = NULL;
	PeasObjectModule* _tmp1_ = NULL;
	g_return_if_fail (module != NULL);
	spacer_plugin_register_type (module);
	spacer_settings_register_type (module);
	spacer_applet_register_type (module);
	_tmp0_ = module;
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, peas_object_module_get_type ()) ? ((PeasObjectModule*) _tmp0_) : NULL);
	objmodule = _tmp1_;
	peas_object_module_register_extension_type (objmodule, budgie_plugin_get_type (), TYPE_SPACER_PLUGIN);
	_g_object_unref0 (objmodule);
}



