win32/cursor: Ignore GdkPixbuf deprecation warning

Seems harmless to ignore this for now, other bits of code also ignore
this.
This commit is contained in:
Georges Basile Stavracas Neto
2024-05-03 09:49:46 -03:00
parent 032a5afc20
commit ebaef9f18b

View File

@@ -908,7 +908,9 @@ _gdk_win32_create_hicon_for_texture (GdkTexture *texture,
width = cairo_image_surface_get_width (surface);
height = cairo_image_surface_get_height (surface);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
pixbuf = gdk_pixbuf_get_from_surface (surface, 0, 0, width, height);
G_GNUC_END_IGNORE_DEPRECATIONS
icon = pixbuf_to_hicon (pixbuf, is_icon, x, y);