summaryrefslogtreecommitdiff
path: root/src/display-server.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2013-07-24 14:08:00 +1200
committerRobert Ancell <robert.ancell@canonical.com>2013-07-24 14:08:00 +1200
commit3729991e3f33525087560236a8e6c45073e519b1 (patch)
tree23049867c71db66977943b5a9d7cfc7a6c668ddb /src/display-server.c
parent11fad53838d8572658024dadc7d4c8306c722739 (diff)
downloadlightdm-3729991e3f33525087560236a8e6c45073e519b1.tar.gz
Refactor local session starting inhibitor
Diffstat (limited to 'src/display-server.c')
-rw-r--r--src/display-server.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/display-server.c b/src/display-server.c
index 1c5182c6..fd9dac4f 100644
--- a/src/display-server.c
+++ b/src/display-server.c
@@ -25,9 +25,6 @@ struct DisplayServerPrivate
/* Unique name for this display server */
gchar *name;
- /* TRUE if sessions should be automatically started on this display server */
- gboolean start_local_sessions;
-
/* TRUE when being stopped */
gboolean stopping;
@@ -64,20 +61,6 @@ display_server_real_get_vt (DisplayServer *server)
return -1;
}
-void
-display_server_set_start_local_sessions (DisplayServer *server, gboolean start_local_sessions)
-{
- g_return_if_fail (server != NULL);
- server->priv->start_local_sessions = start_local_sessions;
-}
-
-gboolean
-display_server_get_start_local_sessions (DisplayServer *server)
-{
- g_return_val_if_fail (server != NULL, FALSE);
- return server->priv->start_local_sessions;
-}
-
gboolean
display_server_start (DisplayServer *server)
{
@@ -132,7 +115,6 @@ static void
display_server_init (DisplayServer *server)
{
server->priv = G_TYPE_INSTANCE_GET_PRIVATE (server, DISPLAY_SERVER_TYPE, DisplayServerPrivate);
- server->priv->start_local_sessions = TRUE;
}
static void