summaryrefslogtreecommitdiff
path: root/src/display-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/display-manager.c')
-rw-r--r--src/display-manager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/display-manager.c b/src/display-manager.c
index 8f3dd320..7cc64af9 100644
--- a/src/display-manager.c
+++ b/src/display-manager.c
@@ -42,7 +42,7 @@ struct DisplayManagerPrivate
gboolean stopped;
};
-G_DEFINE_TYPE (DisplayManager, display_manager, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (DisplayManager, display_manager, G_TYPE_OBJECT)
DisplayManager *
display_manager_new (void)
@@ -185,8 +185,6 @@ display_manager_class_init (DisplayManagerClass *klass)
object_class->finalize = display_manager_finalize;
- g_type_class_add_private (klass, sizeof (DisplayManagerPrivate));
-
signals[SEAT_ADDED] =
g_signal_new (DISPLAY_MANAGER_SIGNAL_SEAT_ADDED,
G_TYPE_FROM_CLASS (klass),