From: Michael Orlitzky Date: Tue, 8 Aug 2023 00:16:49 +0000 (-0400) Subject: gdk_pixbuf_get_from_surface.h: make gdk_pixbuf_get_from_surface() static X-Git-Tag: 0.0.1~6 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=40695da0839fbdaf6c0f4815f7302a100aa6ee44;p=libsvgtiny-pixbuf.git gdk_pixbuf_get_from_surface.h: make gdk_pixbuf_get_from_surface() static We don't want to clash with the real one. --- diff --git a/gdk_pixbuf_get_from_surface.h b/gdk_pixbuf_get_from_surface.h index c3a5f96..822162c 100644 --- a/gdk_pixbuf_get_from_surface.h +++ b/gdk_pixbuf_get_from_surface.h @@ -3,6 +3,9 @@ * 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) @@ -135,7 +138,7 @@ convert_no_alpha (guchar *dest_data, * 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,