Commit 08b1e737 authored by Ian Goldberg's avatar Ian Goldberg

Change deprecated gdk_pixbuf_unref to g_object_unref

parent c178c977
...@@ -213,7 +213,7 @@ static GtkWidget *otr_icon(GtkWidget *image, TrustLevel level, ...@@ -213,7 +213,7 @@ static GtkWidget *otr_icon(GtkWidget *image, TrustLevel level,
} else { } else {
image = gtk_image_new_from_pixbuf(pixbuf); image = gtk_image_new_from_pixbuf(pixbuf);
} }
gdk_pixbuf_unref(pixbuf); g_object_unref(G_OBJECT(pixbuf));
gtk_widget_set_sensitive (image, sensitivity); gtk_widget_set_sensitive (image, sensitivity);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment