[gdm/display-configuration: 18/20] Connect to OpenSessionRequest instead of SessionToAdd



commit cb26f0ff2047809f3346e52265f34c0e25ea074f
Author: Ray Strode <rstrode redhat com>
Date:   Tue Aug 4 13:08:36 2009 -0400

    Connect to OpenSessionRequest instead of SessionToAdd
    
    It was renamed.

 daemon/gdm-local-display-factory.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
index ee60179..0fa3ee0 100644
--- a/daemon/gdm-local-display-factory.c
+++ b/daemon/gdm-local-display-factory.c
@@ -506,13 +506,13 @@ strrep (char* in, char** out, char* old, char* new)
 #endif
 
 static void
-seat_session_to_add (DBusGProxy             *seat_proxy,
-                     const char             *ssid,
-                     const char             *type,
-                     GHashTable             *display_variables,
-                     const char             *display_type,
-                     GHashTable             *parameters,
-                     GdmLocalDisplayFactory *factory)
+seat_open_session_request (DBusGProxy             *seat_proxy,
+                           const char             *ssid,
+                           const char             *type,
+                           GHashTable             *display_variables,
+                           const char             *display_type,
+                           GHashTable             *parameters,
+                           GdmLocalDisplayFactory *factory)
 {
         GdmDisplay *display;
         gint        argc;
@@ -773,7 +773,7 @@ manage_static_sessions_per_seat (GdmLocalDisplayFactory *factory,
                                            GDM_DBUS_TYPE_G_STRING_STRING_HASHTABLE,
                                            G_TYPE_INVALID);
         dbus_g_proxy_add_signal (proxy,
-                                 "SessionToAdd",
+                                 "OpenSessionRequest",
                                  DBUS_TYPE_G_OBJECT_PATH,
                                  G_TYPE_STRING,
                                  GDM_DBUS_TYPE_G_STRING_STRING_HASHTABLE,
@@ -788,8 +788,8 @@ manage_static_sessions_per_seat (GdmLocalDisplayFactory *factory,
                                  "RemoveRequest",
                                  G_TYPE_INVALID);
         dbus_g_proxy_connect_signal (proxy,
-                                     "SessionToAdd",
-                                     G_CALLBACK (seat_session_to_add),
+                                     "OpenSessionRequest",
+                                     G_CALLBACK (seat_open_session_request),
                                      factory,
                                      NULL);
         dbus_g_proxy_connect_signal (proxy,



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