summaryrefslogtreecommitdiff
path: root/src/seat.c
diff options
context:
space:
mode:
authorAlberto Milone <alberto.milone@canonical.com>2013-10-29 09:26:48 +0100
committerAlberto Milone <alberto.milone@canonical.com>2013-10-29 09:26:48 +0100
commit4d4e8bbd4f7217e8ae16cc0c2e09e48becbdaa9e (patch)
treed75fe32dcb77a9eb24b87055b5b38a85b3a5c723 /src/seat.c
parent2f082cb8adbf90faa1c68ecadecf374efc638095 (diff)
downloadlightdm-4d4e8bbd4f7217e8ae16cc0c2e09e48becbdaa9e.tar.gz
Add testcase for display-stopped-script and document it
Also a minor cosmetic change
Diffstat (limited to 'src/seat.c')
-rw-r--r--src/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seat.c b/src/seat.c
index 6cfedaa9..e5c03b54 100644
--- a/src/seat.c
+++ b/src/seat.c
@@ -339,13 +339,13 @@ get_start_local_sessions (Seat *seat)
static void
display_server_stopped_cb (DisplayServer *display_server, Seat *seat)
{
+ const gchar *script;
GList *list, *link;
Session *active_session;
l_debug (seat, "Display server stopped");
/* Run a script right after stopping the display server */
- const gchar *script;
script = seat_get_string_property (seat, "display-stopped-script");
if (script)
run_script (seat, NULL, script, NULL);