[gdm/gnome-3-16] display: don't complain if we dispose PREPARED display



commit 68332491d40380dcfc20ea2eb63669fa2f575117
Author: Ray Strode <rstrode redhat com>
Date:   Mon Sep 14 10:44:22 2015 -0400

    display: don't complain if we dispose PREPARED display
    
    It's expected now that we may dispose a display when it's
    prepared (if it was prepared but then we determined we were
    going to autologin instead).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=749418

 daemon/gdm-display.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c
index 20cda93..ab84ba4 100644
--- a/daemon/gdm-display.c
+++ b/daemon/gdm-display.c
@@ -1138,7 +1138,6 @@ gdm_display_dispose (GObject *object)
         }
         g_clear_object (&self->priv->launch_environment);
 
-        g_warn_if_fail (self->priv->status != GDM_DISPLAY_PREPARED);
         g_warn_if_fail (self->priv->status != GDM_DISPLAY_MANAGED);
         g_warn_if_fail (self->priv->user_access_file == NULL);
         g_warn_if_fail (self->priv->access_file == NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]