[gdm/wip/two: 4/5] display: Remove some unnecessary parts from dispose
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/two: 4/5] display: Remove some unnecessary parts from dispose
- Date: Tue, 25 Feb 2014 17:42:13 +0000 (UTC)
commit f0e6bbd40071d38eb80e03a2b2eb7f0608c2cc71
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Feb 25 12:22:51 2014 -0500
display: Remove some unnecessary parts from dispose
These can't possibly be active and armed if we're disposing.
daemon/gdm-display.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c
index ebb5338..5b2eaed 100644
--- a/daemon/gdm-display.c
+++ b/daemon/gdm-display.c
@@ -1246,24 +1246,6 @@ gdm_display_dispose (GObject *object)
g_assert (display->priv->status == GDM_DISPLAY_FINISHED ||
display->priv->status == GDM_DISPLAY_FAILED);
- if (display->priv->slave != NULL) {
- gdm_slave_stop (display->priv->slave);
- g_object_unref (display->priv->slave);
- display->priv->slave = NULL;
- }
-
- if (display->priv->user_access_file != NULL) {
- gdm_display_access_file_close (display->priv->user_access_file);
- g_object_unref (display->priv->user_access_file);
- display->priv->user_access_file = NULL;
- }
-
- if (display->priv->access_file != NULL) {
- gdm_display_access_file_close (display->priv->access_file);
- g_object_unref (display->priv->access_file);
- display->priv->access_file = NULL;
- }
-
G_OBJECT_CLASS (gdm_display_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]