Commit 7128f1df authored by Debarshi Ray's avatar Debarshi Ray

gegl: Be more strict about what is acceptable

parent 7e6d0567
Pipeline #43416 passed with stage
in 12 minutes and 17 seconds
......@@ -389,6 +389,8 @@ photos_gegl_buffer_new_from_pixbuf (GdkPixbuf *pixbuf)
gint width;
const guint8 *pixels;
g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);
height = gdk_pixbuf_get_height (pixbuf);
width = gdk_pixbuf_get_width (pixbuf);
gegl_rectangle_set (&bbox, 0, 0, (guint) width, (guint) height);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment