libgimpwidgets: Use gdk_pixbuf_get_pixels on older gdk_pixbuf
Since our minimum version is 2.30.8. This solves a warning from Clang-CL.
This commit is contained in:
parent
eaa472158c
commit
ca7da0080a
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ create_cursor_from_rgba32_pixbuf (GdkPixbuf *pixbuf,
|
|||
height = gdk_pixbuf_get_height (pixbuf);
|
||||
stride = gdk_pixbuf_get_rowstride (pixbuf);
|
||||
size = MAX (width, height);
|
||||
pixbuf_data = gdk_pixbuf_read_pixels (pixbuf);
|
||||
pixbuf_data = gdk_pixbuf_get_pixels (pixbuf);
|
||||
|
||||
memset (&info, 0, sizeof (info));
|
||||
info.header.bV5Size = sizeof (info.header);
|
||||
|
|
|
|||
Loading…
Reference in a new issue