[gdm: 6/10] gdm-manager: Replace deprecated g_type_class_add_private()
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm: 6/10] gdm-manager: Replace deprecated g_type_class_add_private()
- Date: Tue, 13 Aug 2019 20:34:50 +0000 (UTC)
commit 2c743de13015370d8ba686a817a99fd15919bd74
Author: Robert Mader <robert mader posteo de>
Date: Thu Mar 14 00:09:30 2019 +0100
gdm-manager: Replace deprecated g_type_class_add_private()
daemon/gdm-manager.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 0c228909..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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]