diff options
author | Robert Mader <robert.mader@posteo.de> | 2019-03-14 00:09:53 +0100 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2019-08-13 20:27:10 +0000 |
commit | 19069b929665f7aa1ca3d22951a04d57deaf02ac (patch) | |
tree | 83f620a005ec52b8f038bde940a72870de6e5c3b /daemon/gdm-session-settings.c | |
parent | 2c743de13015370d8ba686a817a99fd15919bd74 (diff) | |
download | gdm-19069b929665f7aa1ca3d22951a04d57deaf02ac.tar.gz |
gdm-session-settings: Replace deprecated g_type_class_add_private()
Diffstat (limited to 'daemon/gdm-session-settings.c')
-rw-r--r-- | daemon/gdm-session-settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/gdm-session-settings.c b/daemon/gdm-session-settings.c index dc7f0986..484a3b5b 100644 --- a/daemon/gdm-session-settings.c +++ b/daemon/gdm-session-settings.c @@ -62,7 +62,9 @@ enum { PROP_IS_LOADED }; -G_DEFINE_TYPE (GdmSessionSettings, gdm_session_settings, G_TYPE_OBJECT) +G_DEFINE_TYPE_WITH_PRIVATE (GdmSessionSettings, + gdm_session_settings, + G_TYPE_OBJECT) static void gdm_session_settings_class_init (GdmSessionSettingsClass *settings_class) @@ -74,8 +76,6 @@ gdm_session_settings_class_init (GdmSessionSettingsClass *settings_class) object_class->finalize = gdm_session_settings_finalize; gdm_session_settings_class_install_properties (settings_class); - - g_type_class_add_private (settings_class, sizeof (GdmSessionSettingsPrivate)); } static void |