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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue