diff options
author | Ray Strode <halfline@gmail.com> | 2019-08-13 20:34:11 +0000 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2019-08-13 20:34:11 +0000 |
commit | 0e76f48505b1b95915540114954a924aeec91233 (patch) | |
tree | 09c3fe926c75c43ca42443478ba91e45cad0702d /daemon/gdm-manager.c | |
parent | 594d5ab930054e4cf0fc3d9328a24f69e00995b7 (diff) | |
parent | 11a4eede592cfef5b953f21fe69435af7598de71 (diff) | |
download | gdm-0e76f48505b1b95915540114954a924aeec91233.tar.gz |
Merge branch 'build-warnings' into 'master'
Cleanup some build warnings
See merge request GNOME/gdm!64
Diffstat (limited to 'daemon/gdm-manager.c')
-rw-r--r-- | daemon/gdm-manager.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c index 9fad80ba..698c9650 100644 --- a/daemon/gdm-manager.c +++ b/daemon/gdm-manager.c @@ -136,7 +136,8 @@ G_DEFINE_TYPE_WITH_CODE (GdmManager, gdm_manager, GDM_DBUS_TYPE_MANAGER_SKELETON, G_IMPLEMENT_INTERFACE (GDM_DBUS_TYPE_MANAGER, - manager_interface_init)); + manager_interface_init) + G_ADD_PRIVATE (GdmManager)); #ifdef WITH_PLYMOUTH static gboolean @@ -2722,8 +2723,6 @@ gdm_manager_class_init (GdmManagerClass *klass) NULL, FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); - - g_type_class_add_private (klass, sizeof (GdmManagerPrivate)); } static void @@ -2796,10 +2795,8 @@ gdm_manager_dispose (GObject *object) #endif g_clear_object (&manager->priv->local_factory); g_clear_pointer (&manager->priv->open_reauthentication_requests, - (GDestroyNotify) g_hash_table_unref); g_clear_pointer (&manager->priv->transient_sessions, - (GDestroyNotify) g_hash_table_unref); g_list_foreach (manager->priv->user_sessions, |