[gdm/initial-setup: 1/4] greeter-server: implement stop function
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/initial-setup: 1/4] greeter-server: implement stop function
- Date: Wed, 18 May 2011 19:02:25 +0000 (UTC)
commit 2ef59f2bad50effe3a7eec2538c1f40d5cca6fc7
Author: Ray Strode <rstrode redhat com>
Date: Wed May 18 14:46:33 2011 -0400
greeter-server: implement stop function
The stop function was previously just empty.
It doesn't *really* matter, but still a good
idea to have it work.
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 6a021d1..19d69a5 100644
--- a/daemon/gdm-greeter-server.c
+++ b/daemon/gdm-greeter-server.c
@@ -959,6 +959,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]