]> git.meshlink.io Git - catta/commitdiff
avahi-ui: gtk3 fix
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Feb 2011 18:04:52 +0000 (19:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Feb 2011 18:04:52 +0000 (19:04 +0100)
avahi-ui/avahi-ui.c

index 2569ba0cc0f4a49e1f40d74588b5bf99769e6f88..92d765aa1a8b40f426771d094b5d1e0834a63d08 100644 (file)
@@ -890,7 +890,7 @@ static void response_callback(GtkDialog *dialog, gint response, gpointer user_da
         gtk_widget_set_sensitive(GTK_WIDGET(dialog), FALSE);
         cursor = gdk_cursor_new(GDK_WATCH);
         gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(dialog)), cursor);
-        gdk_cursor_unref(cursor);
+        g_object_unref(G_OBJECT(cursor));
 
         if (!(d->priv->resolver = avahi_service_resolver_new(
                       d->priv->client, interface, protocol, name, type, d->priv->domain,