summaryrefslogtreecommitdiffstats
path: root/src/kiro-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kiro-server.c')
-rw-r--r--src/kiro-server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kiro-server.c b/src/kiro-server.c
index 6b63fcc..276388b 100644
--- a/src/kiro-server.c
+++ b/src/kiro-server.c
@@ -61,7 +61,7 @@ struct _KiroServerPrivate {
};
-G_DEFINE_TYPE_WITH_PRIVATE (KiroServer, kiro_server, G_TYPE_OBJECT);
+G_DEFINE_TYPE (KiroServer, kiro_server, G_TYPE_OBJECT);
static void kiro_server_init (KiroServer *self)
@@ -86,6 +86,7 @@ kiro_server_class_init (KiroServerClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS(klass);
gobject_class->finalize = kiro_server_finalize;
+ g_type_class_add_private(klass, sizeof(KiroServerPrivate));
}