diff options
author | Thomas Hindoe Paaboel Andersen <thomashpa@src.gnome.org> | 2009-02-09 13:52:54 +0000 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <thomashpa@src.gnome.org> | 2009-02-09 13:52:54 +0000 |
commit | 49cfd993c1c3e2ba7f69268649e093c685949350 (patch) | |
tree | fff7176d14b7afecf1e35a807a5c381aec037d8f | |
parent | a19fea501e8193d08445a5f6b03a1b240c042882 (diff) | |
download | gnome-control-center-49cfd993c1c3e2ba7f69268649e093c685949350.tar.gz |
Replace gdk_pixbuf_unref with g_object_unref
svn path=/trunk/; revision=9253
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | capplets/common/gconf-property-editor.c | 2 | ||||
-rw-r--r-- | font-viewer/font-thumbnailer.c | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -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 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 |