[gdm/display-configuration] Fix gdm-stop fail to stop gdm process entirely. Refer to bug http://defect.opensolaris.org/bz/show_b
- From: Halton Huo <haltonhuo src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gdm/display-configuration] Fix gdm-stop fail to stop gdm process entirely. Refer to bug http://defect.opensolaris.org/bz/show_b
- Date: Wed, 9 Sep 2009 12:21:10 +0000 (UTC)
commit 1f20b75ad274d4a339690315caba866a2f3596fe
Author: Halton Huo <halton huo sun com>
Date: Wed Sep 9 19:33:24 2009 +0800
Fix gdm-stop fail to stop gdm process entirely. Refer to bug http://defect.opensolaris.org/bz/show_bug.cgi?id=11224
daemon/gdm-local-display-factory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
index 5b01127..2a28c14 100644
--- a/daemon/gdm-local-display-factory.c
+++ b/daemon/gdm-local-display-factory.c
@@ -603,7 +603,6 @@ seat_open_session_request (DBusGProxy *seat_proxy,
}
g_object_set (display, "session-id", ssid, NULL);
- g_hash_table_insert (factory->priv->displays_by_session, g_strdup (ssid), g_object_ref (display));
sid = dbus_g_proxy_get_path (seat_proxy);
if (IS_STR_SET (sid))
@@ -690,6 +689,7 @@ seat_close_session_request (DBusGProxy *seat_proxy,
gdm_display_get_x11_display_number (display, &display_number, NULL);
store_remove_display (factory, display_number, display);
+ g_object_unref (display);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]