app: correctly refcount the pixbuf in gimp_pixbuf_create_buffer()

This commit is contained in:
Michael Natterer 2012-03-18 00:35:18 +01:00
parent 8bfdf3ce7b
commit b1da84f6fb
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ gimp_pixbuf_create_buffer (GdkPixbuf *pixbuf)
TRUE),
&rect, rowstride,
(GDestroyNotify) g_object_unref,
pixbuf);
g_object_ref (pixbuf));
}
GeglBuffer *