[gdm/wip/multi-seat-2-30] Fix bug already upstream, but fixed later than GNOME 2.30. This just ensures that the D-Bus connect
- From: Brian Cameron <bcameron src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/multi-seat-2-30] Fix bug already upstream, but fixed later than GNOME 2.30. This just ensures that the D-Bus connect
- Date: Fri, 16 Dec 2011 00:41:08 +0000 (UTC)
commit c3a0767cadc442c04cc253760ee304b681a4b1de
Author: Brian Cameron <brian cameron oracle com>
Date: Thu Dec 15 18:38:08 2011 -0600
Fix bug already upstream, but fixed later than GNOME 2.30. This just
ensures that the D-Bus connection is closed when done.
daemon/gdm-greeter-server.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-greeter-server.c b/daemon/gdm-greeter-server.c
index 0c67f1e..92a1a4b 100644
--- a/daemon/gdm-greeter-server.c
+++ b/daemon/gdm-greeter-server.c
@@ -990,6 +990,13 @@ gdm_greeter_server_stop (GdmGreeterServer *greeter_server)
g_debug ("GreeterServer: Stopping greeter server...");
+ dbus_server_disconnect (greeter_server->priv->server);
+ dbus_server_unref (greeter_server->priv->server);
+ greeter_server->priv->server = NULL;
+
+ g_free (greeter_server->priv->server_address);
+ greeter_server->priv->server_address = NULL;
+
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]