[gdm] xdmcp-factory: handle display status changes after manager



commit 0cc8b02f339d7661999a08f9c35cc51d5a2d5531
Author: Ray Strode <rstrode redhat com>
Date:   Wed Feb 11 01:17:04 2015 -0500

    xdmcp-factory: handle display status changes after manager
    
    The factory removes the display from the display store, so it
    should run last.  Furthermore the manager, sets up the greeter
    session, so it should run first.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744764

 daemon/gdm-xdmcp-display-factory.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gdm-xdmcp-display-factory.c b/daemon/gdm-xdmcp-display-factory.c
index 74c0755..dfd825a 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -2127,10 +2127,10 @@ gdm_xdmcp_display_create (GdmXdmcpDisplayFactory *factory,
                 goto out;
         }
 
-        g_signal_connect (display,
-                          "notify::status",
-                          G_CALLBACK (on_display_status_changed),
-                          factory);
+        g_signal_connect_after (display,
+                                "notify::status",
+                                G_CALLBACK (on_display_status_changed),
+                                factory);
 
         store = gdm_display_factory_get_display_store (GDM_DISPLAY_FACTORY (factory));
         gdm_display_store_add (store, display);


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