diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2018-08-30 10:42:48 +1200 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2018-08-30 10:42:48 +1200 |
commit | 2ffa63aa307a4fe37b829a0b2d664933c49fc9b9 (patch) | |
tree | e82b1d59bc542fe5019da1e20933204714d1701e /src/seat.c | |
parent | 1382de7fe2a59265feca3ade6391230fc059524d (diff) | |
download | lightdm-git-2ffa63aa307a4fe37b829a0b2d664933c49fc9b9.tar.gz |
Remove use of deprecated g_type_class_add_private
Diffstat (limited to 'src/seat.c')
-rw-r--r-- | src/seat.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -73,6 +73,7 @@ struct SeatPrivate static void seat_logger_iface_init (LoggerInterface *iface); G_DEFINE_TYPE_WITH_CODE (Seat, seat, G_TYPE_OBJECT, + G_ADD_PRIVATE (Seat) G_IMPLEMENT_INTERFACE ( LOGGER_TYPE, seat_logger_iface_init)) @@ -1872,8 +1873,6 @@ seat_class_init (SeatClass *klass) object_class->finalize = seat_finalize; - g_type_class_add_private (klass, sizeof (SeatPrivate)); - signals[SESSION_ADDED] = g_signal_new (SEAT_SIGNAL_SESSION_ADDED, G_TYPE_FROM_CLASS (klass), |