From: Matthias Clasen Date: Wed, 22 Sep 2021 03:09:31 +0000 (-0400) Subject: Revert "Use GtkLoader for image loading" X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~5^2~317^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3a5091cb6eaf1ec8aa6ec80b17fb601136f6b927;p=gtk4.git Revert "Use GtkLoader for image loading" This reverts commit da115ad07504d2f10dec93c37d98e1d6fd4b095d. --- diff --git a/gtk/gdkpixbufutils.c b/gtk/gdkpixbufutils.c index fdc4b06b76..59c87a97e9 100644 --- a/gtk/gdkpixbufutils.c +++ b/gtk/gdkpixbufutils.c @@ -19,7 +19,6 @@ #include #include "gdkpixbufutilsprivate.h" #include "gtkscalerprivate.h" -#include "gtkloaderprivate.h" #include "gdk/gdktextureprivate.h" @@ -589,7 +588,7 @@ gdk_paintable_new_from_bytes_scaled (GBytes *bytes, if (gdk_texture_can_load (bytes)) { /* We know these formats can't be scaled */ - inner = GDK_PAINTABLE (gtk_loader_new (bytes)); + inner = GDK_PAINTABLE (gdk_texture_new_from_bytes (bytes, NULL)); if (inner == NULL) return NULL; }