]> Pileus Git - ~andy/gtk/commitdiff
printing: Remove usage of GError in connection test
authorMarek Kasik <mkasik@redhat.com>
Wed, 13 Mar 2013 14:24:50 +0000 (15:24 +0100)
committerMarek Kasik <mkasik@redhat.com>
Wed, 13 Mar 2013 14:25:45 +0000 (15:25 +0100)
Really remove usage of error in previous commit.

Related to
https://bugzilla.gnome.org/show_bug.cgi?id=695714

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)