Replace gdk_pixbuf_unref with g_object_unref
svn path=/trunk/; revision=9253
This commit is contained in:
parent
a19fea501e
commit
49cfd993c1
3 changed files with 8 additions and 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>
|
2009-02-04 Vincent Untz <vuntz@gnome.org>
|
||||||
|
|
||||||
* configure.in: post-release bump to 2.25.91
|
* configure.in: post-release bump to 2.25.91
|
||||||
|
|
|
@ -1518,7 +1518,7 @@ peditor_image_chooser_update_preview_cb (GtkFileChooser *chooser,
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
|
|
||||||
if (pixbuf != NULL)
|
if (pixbuf != NULL)
|
||||||
gdk_pixbuf_unref (pixbuf);
|
g_object_unref (pixbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -214,7 +214,7 @@ save_pixbuf(GdkPixbuf *pixbuf, gchar *filename)
|
||||||
trim_right - trim_left,
|
trim_right - trim_left,
|
||||||
trim_bottom - trim_top);
|
trim_bottom - trim_top);
|
||||||
gdk_pixbuf_save(subpixbuf, filename, "png", NULL, NULL);
|
gdk_pixbuf_save(subpixbuf, filename, "png", NULL, NULL);
|
||||||
gdk_pixbuf_unref(subpixbuf);
|
g_object_unref(subpixbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue