summaryrefslogtreecommitdiff
path: root/daemon/gdm-slave.h
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2012-08-20 22:47:19 +0200
committerRay Strode <rstrode@redhat.com>2012-09-04 21:10:22 -0400
commit6d87866328db32a8274327751dff4895e35c7e40 (patch)
tree5aba6cee50b7dfa5133dad09e2f13653b091f53d /daemon/gdm-slave.h
parentd9716be7a423085a82de4b5d15776e08a478a7c6 (diff)
downloadgdm-6d87866328db32a8274327751dff4895e35c7e40.tar.gz
slave: rework stop code paths
Previously code would emit stopped signal directly, and rely on the side effect of main dropping the last reference to do the actual stop (including killing X). As this would break in case of memory leaks, move to calling stop when the session exits. Also, ensure that stop can be called multiple times (as it still called from finalize). https://bugzilla.gnome.org/show_bug.cgi?id=682571
Diffstat (limited to 'daemon/gdm-slave.h')
-rw-r--r--daemon/gdm-slave.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/daemon/gdm-slave.h b/daemon/gdm-slave.h
index c9a40029..9478dd32 100644
--- a/daemon/gdm-slave.h
+++ b/daemon/gdm-slave.h
@@ -110,7 +110,6 @@ void gdm_slave_save_root_windows (GdmSlave *slave);
gboolean gdm_slave_run_script (GdmSlave *slave,
const char *dir,
const char *username);
-void gdm_slave_stopped (GdmSlave *slave);
void gdm_slave_export_interface (GdmSlave *slave,
GDBusInterfaceSkeleton *interface);
G_END_DECLS