diff options
Diffstat (limited to 'src/seat-local.c')
-rw-r--r-- | src/seat-local.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/seat-local.c b/src/seat-local.c index 9d83ca97..a83da26e 100644 --- a/src/seat-local.c +++ b/src/seat-local.c @@ -35,7 +35,7 @@ struct SeatLocalPrivate XServerLocal *xdmcp_x_server; }; -G_DEFINE_TYPE (SeatLocal, seat_local, SEAT_TYPE) +G_DEFINE_TYPE_WITH_PRIVATE (SeatLocal, seat_local, SEAT_TYPE) static XServerLocal *create_x_server (SeatLocal *seat); @@ -462,6 +462,4 @@ seat_local_class_init (SeatLocalClass *klass) seat_class->set_next_session = seat_local_set_next_session; seat_class->run_script = seat_local_run_script; seat_class->stop = seat_local_stop; - - g_type_class_add_private (klass, sizeof (SeatLocalPrivate)); } |