[gdm/wip/wayland-rebase: 6/20] xdmcp-chooser-slave: Don't fetch the display_id



commit 6cfbc9223a736eeae3f6f205f7e4718d0148b695
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Feb 7 10:22:02 2014 -0500

    xdmcp-chooser-slave: Don't fetch the display_id
    
    We don't need it.

 daemon/gdm-xdmcp-chooser-slave.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gdm-xdmcp-chooser-slave.c b/daemon/gdm-xdmcp-chooser-slave.c
index 001922a..0a90130 100644
--- a/daemon/gdm-xdmcp-chooser-slave.c
+++ b/daemon/gdm-xdmcp-chooser-slave.c
@@ -184,7 +184,6 @@ create_chooser_session (const char *display_name,
 static void
 run_chooser (GdmXdmcpChooserSlave *slave)
 {
-        char          *display_id;
         char          *display_name;
         char          *display_device;
         char          *display_hostname;
@@ -194,14 +193,12 @@ run_chooser (GdmXdmcpChooserSlave *slave)
 
         g_debug ("GdmXdmcpChooserSlave: Running chooser");
 
-        display_id = NULL;
         display_name = NULL;
         auth_file = NULL;
         display_device = NULL;
         display_hostname = NULL;
 
         g_object_get (slave,
-                      "display-id", &display_id,
                       "display-name", &display_name,
                       "display-hostname", &display_hostname,
                       "display-x11-authority-file", &auth_file,
@@ -271,7 +268,6 @@ run_chooser (GdmXdmcpChooserSlave *slave)
                           "client-connected",
                           G_CALLBACK (on_chooser_connected),
                           slave);
-        g_free (display_id);
         g_free (display_name);
         g_free (display_device);
         g_free (display_hostname);


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