From 91fb7ff6e3d0623eecc4e7e2a9df8e8097bc9b87 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 21:46:47 -0500 Subject: [PATCH] fix: keep gdk_pixbuf a dynamic dependency (#44437) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 --- shell/browser/ui/electron_gdk_pixbuf.sigs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell/browser/ui/electron_gdk_pixbuf.sigs b/shell/browser/ui/electron_gdk_pixbuf.sigs index c19eb467926..9fcce430fd0 100644 --- a/shell/browser/ui/electron_gdk_pixbuf.sigs +++ b/shell/browser/ui/electron_gdk_pixbuf.sigs @@ -1,3 +1,4 @@ -GdkPixbuf* gdk_pixbuf_new(GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height) +GdkPixbuf* gdk_pixbuf_new_from_bytes(GBytes* data, GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height, int rowstride) GdkPixbuf* gdk_pixbuf_scale_simple(const GdkPixbuf* src, int dest_width, int dest_height, GdkInterpType interp_type) -guchar* gdk_pixbuf_get_pixels(const GdkPixbuf* pixbuf) +GdkPixbuf* gdk_pixbuf_new_from_file_at_size(const char* filename, int width, int height, GError** error); +gint gdk_pixbuf_calculate_rowstride(GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height)