Replace gdk_pixbuf_unref with g_object_unref

svn path=/trunk/; revision=9253
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2009-02-09 13:52:54 +00:00
parent a19fea501e
commit 49cfd993c1
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2009-02-09 Thomas H.P. Andersen <phomes@gmail.com>
* font-viewer/font-thumbnailer.c:
* capplets/common/gconf-property-editor.c: Don't use deprecated
gdk_pixbuf_unref. Bug #570945
2009-02-04 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.25.91

View file

@ -1518,7 +1518,7 @@ peditor_image_chooser_update_preview_cb (GtkFileChooser *chooser,
g_free (filename);
if (pixbuf != NULL)
gdk_pixbuf_unref (pixbuf);
g_object_unref (pixbuf);
}
static void

View file

@ -214,7 +214,7 @@ save_pixbuf(GdkPixbuf *pixbuf, gchar *filename)
trim_right - trim_left,
trim_bottom - trim_top);
gdk_pixbuf_save(subpixbuf, filename, "png", NULL, NULL);
gdk_pixbuf_unref(subpixbuf);
g_object_unref(subpixbuf);
}
int