projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d7299
)
Revert "Use GtkLoader for image loading"
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 22 Sep 2021 03:09:31 +0000
(23:09 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 22 Sep 2021 03:10:53 +0000
(23:10 -0400)
This reverts commit
da115ad07504d2f10dec93c37d98e1d6fd4b095d
.
gtk/gdkpixbufutils.c
patch
|
blob
|
history
diff --git
a/gtk/gdkpixbufutils.c
b/gtk/gdkpixbufutils.c
index fdc4b06b766ea9a3d896e5a168eecc0299a45120..59c87a97e9185d33486c9c2ca54724892cf604d9 100644
(file)
--- 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 (g
tk_loader_new (bytes
));
+ inner = GDK_PAINTABLE (g
dk_texture_new_from_bytes (bytes, NULL
));
if (inner == NULL)
return NULL;
}