[gtk/widgetfactory-async-load: 1/4] Revert "Use GtkLoader for image loading"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/widgetfactory-async-load: 1/4] Revert "Use GtkLoader for image loading"
- Date: Wed, 22 Sep 2021 03:11:13 +0000 (UTC)
commit 3a5091cb6eaf1ec8aa6ec80b17fb601136f6b927
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Sep 21 23:09:31 2021 -0400
Revert "Use GtkLoader for image loading"
This reverts commit da115ad07504d2f10dec93c37d98e1d6fd4b095d.
gtk/gdkpixbufutils.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
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 <gdk/gdk.h>
#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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]