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

@ -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