diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2013-07-23 16:55:26 +1200 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2013-07-23 16:55:26 +1200 |
commit | 2e1357b1cadad65a1dca5437c976d4c366d0e5f2 (patch) | |
tree | 1c66ca862ab07daf564ef20245eae60fa8061d9a /src/display-server.c | |
parent | 94973ee498f943a41d71db1215e60d2d68a60b72 (diff) | |
download | lightdm-2e1357b1cadad65a1dca5437c976d4c366d0e5f2.tar.gz |
Don't subclass session - we don't know the session type until after authentication
Diffstat (limited to 'src/display-server.c')
-rw-r--r-- | src/display-server.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/display-server.c b/src/display-server.c index 318c9a0b..1c5182c6 100644 --- a/src/display-server.c +++ b/src/display-server.c @@ -93,6 +93,17 @@ display_server_real_start (DisplayServer *server) } void +display_server_setup_session (DisplayServer *server, Session *session) +{ + return DISPLAY_SERVER_GET_CLASS (server)->setup_session (server, session); +} + +static void +display_server_real_setup_session (DisplayServer *server, Session *session) +{ +} + +void display_server_stop (DisplayServer *server) { g_return_if_fail (server != NULL); @@ -129,6 +140,7 @@ display_server_class_init (DisplayServerClass *klass) { klass->get_vt = display_server_real_get_vt; klass->start = display_server_real_start; + klass->setup_session = display_server_real_setup_session; klass->stop = display_server_real_stop; g_type_class_add_private (klass, sizeof (DisplayServerPrivate)); |