[gdm/wip/two: 7/8] 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: 7/8] display: Remove some unnecessary parts from dispose
- Date: Tue, 25 Feb 2014 17:32:05 +0000 (UTC)
commit 4bd4a4f65aac185da9383e87e6d90b8cf4737c74
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]