[gdm/gnome-3-14] xdmcp-factory: handle display status changes after manager



commit 658897c18835c4295de94df990708d4a5655bae8
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 7fb26d6..d01f7ff 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -2128,10 +2128,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]