]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
It's not a warning to try and create an unsupported display server
authorRobert Ancell <robert.ancell@canonical.com>
Fri, 26 Jul 2013 04:51:22 +0000 (16:51 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Fri, 26 Jul 2013 04:51:22 +0000 (16:51 +1200)
src/seat-xdmcp-session.c
src/seat-xvnc.c

index b4b268555c7cc8c5e92cc0c8be0239ba6fcbe507..62a21f460159e330e0c0d50ee71c0f695fcbc045 100644 (file)
@@ -41,10 +41,7 @@ seat_xdmcp_session_create_display_server (Seat *seat, const gchar *session_type)
     XServerRemote *x_server;
 
     if (strcmp (session_type, "x") != 0)
-    {
-        g_warning ("XDMCP seat only supports X display servers, not '%s'", session_type);
         return NULL;
-    }
 
     authority = xdmcp_session_get_authority (SEAT_XDMCP_SESSION (seat)->priv->session);
     host = g_inet_address_to_string (xdmcp_session_get_address (SEAT_XDMCP_SESSION (seat)->priv->session));
index 2f4ecf7500fd4042e558dfbfe13723971a695664..ecabc9b21ff4b0153b9797af55e4c67a34b353af 100644 (file)
@@ -40,10 +40,7 @@ seat_xvnc_create_display_server (Seat *seat, const gchar *session_type)
     const gchar *command = NULL;
 
     if (strcmp (session_type, "x") != 0)
-    {
-        g_warning ("XVNC seat only supports X display servers, not '%s'", session_type);
         return NULL;
-    }
   
     x_server = x_server_xvnc_new ();
     x_server_xvnc_set_socket (x_server, g_socket_get_fd (SEAT_XVNC (seat)->priv->connection));