diff --git a/ChangeLog b/ChangeLog index b6051c3b3..2283d5d0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-09 Thomas H.P. Andersen + + * 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 * configure.in: post-release bump to 2.25.91 diff --git a/capplets/common/gconf-property-editor.c b/capplets/common/gconf-property-editor.c index 116591b36..518fd9fe2 100644 --- a/capplets/common/gconf-property-editor.c +++ b/capplets/common/gconf-property-editor.c @@ -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 diff --git a/font-viewer/font-thumbnailer.c b/font-viewer/font-thumbnailer.c index b69795d59..61fa0ae0a 100644 --- a/font-viewer/font-thumbnailer.c +++ b/font-viewer/font-thumbnailer.c @@ -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