diff options
author | Alberto Milone <alberto.milone@canonical.com> | 2013-10-29 09:26:48 +0100 |
---|---|---|
committer | Alberto Milone <alberto.milone@canonical.com> | 2013-10-29 09:26:48 +0100 |
commit | 4d4e8bbd4f7217e8ae16cc0c2e09e48becbdaa9e (patch) | |
tree | d75fe32dcb77a9eb24b87055b5b38a85b3a5c723 /src/seat.c | |
parent | 2f082cb8adbf90faa1c68ecadecf374efc638095 (diff) | |
download | lightdm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |