[gdm] local-display: don't manage automatically



commit cf31b8ffb7f5d6567116f81488bd68dc646b356a
Author: Ray Strode <rstrode redhat com>
Date:   Mon Feb 16 08:47:22 2015 -0500

    local-display: don't manage automatically
    
    Now that local displays register themselves and registration
    leads to the displays getting managed, we don't need to manage
    explicitly (and prematurely).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744764

 daemon/gdm-local-display.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/daemon/gdm-local-display.c b/daemon/gdm-local-display.c
index d79212d..6fc2e60 100644
--- a/daemon/gdm-local-display.c
+++ b/daemon/gdm-local-display.c
@@ -119,14 +119,6 @@ gdm_local_display_prepare (GdmDisplay *display)
 }
 
 static void
-gdm_local_display_manage (GdmDisplay *display)
-{
-        GdmLocalDisplay *self = GDM_LOCAL_DISPLAY (display);
-
-        g_object_set (G_OBJECT (self), "status", GDM_DISPLAY_MANAGED, NULL);
-}
-
-static void
 gdm_local_display_class_init (GdmLocalDisplayClass *klass)
 {
         GObjectClass *object_class = G_OBJECT_CLASS (klass);
@@ -136,7 +128,6 @@ gdm_local_display_class_init (GdmLocalDisplayClass *klass)
         object_class->finalize = gdm_local_display_finalize;
 
         display_class->prepare = gdm_local_display_prepare;
-        display_class->manage = gdm_local_display_manage;
 
         g_type_class_add_private (klass, sizeof (GdmLocalDisplayPrivate));
 }


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