]> Pileus Git - ~andy/gtk/blobdiff - modules/printbackends/cups/gtkprintbackendcups.c
printing: Remove usage of GError in connection test
[~andy/gtk] / modules / printbackends / cups / gtkprintbackendcups.c
index 331b73e02b29335f4891482e3044d80ab72cb03e..a8c8060f85bc76b57f037df1b7f1ec6984dfda90 100644 (file)
@@ -2541,7 +2541,7 @@ avahi_connection_test_cb (GObject      *source_object,
 
   connection = g_socket_client_connect_to_host_finish (G_SOCKET_CLIENT (source_object),
                                                        res,
-                                                       &error);
+                                                       NULL);
   g_object_unref (source_object);
 
   if (connection != NULL)