We don't want to clash with the real one.
* Having it inline means that we don't have to link against a
* specific version of GTK, risking that (say) a gtk4-linked
* pixbuf loader gets used on a gtk3 desktop environment.
+ *
+ * Note: the gdk_pixbuf_get_from_surface() function has been
+ * made static.
*/
static cairo_format_t
gdk_cairo_format_for_content (cairo_content_t content)
* Deprecated: 4.12: Use [class@Gdk.Texture] and subclasses instead
* cairo surfaces and pixbufs
*/
-GdkPixbuf *
+static GdkPixbuf *
gdk_pixbuf_get_from_surface (cairo_surface_t *surface,
int src_x,
int src_y,