summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <thomashpa@src.gnome.org>2009-02-09 13:52:54 +0000
committerThomas Hindoe Paaboel Andersen <thomashpa@src.gnome.org>2009-02-09 13:52:54 +0000
commit49cfd993c1c3e2ba7f69268649e093c685949350 (patch)
treefff7176d14b7afecf1e35a807a5c381aec037d8f
parenta19fea501e8193d08445a5f6b03a1b240c042882 (diff)
downloadgnome-control-center-49cfd993c1c3e2ba7f69268649e093c685949350.tar.gz
Replace gdk_pixbuf_unref with g_object_unref
svn path=/trunk/; revision=9253
-rw-r--r--ChangeLog6
-rw-r--r--capplets/common/gconf-property-editor.c2
-rw-r--r--font-viewer/font-thumbnailer.c2
3 files changed, 8 insertions, 2 deletions
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 <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