projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7d72cf
)
Fix encoding symbolic pixbufs
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Jan 2020 19:12:33 +0000
(14:12 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Jan 2020 19:14:45 +0000
(14:14 -0500)
This was broken in
1a931da0465966b62b56e145b82e691ece67af91
.
gtk/tools/gdkpixbufutils.c
patch
|
blob
|
history
diff --git
a/gtk/tools/gdkpixbufutils.c
b/gtk/tools/gdkpixbufutils.c
index 7d206f05a4948d19f89fdca75ccdb5c7ec4e55b7..c706d720a85d194cc9adc44b5987c2855aab7b4d 100644
(file)
--- a/
gtk/tools/gdkpixbufutils.c
+++ b/
gtk/tools/gdkpixbufutils.c
@@
-422,8
+422,8
@@
gtk_make_symbolic_pixbuf_from_data (const char *file_data,
GError **error)
{
- const char *r_string = "rgb(
1
,0,0)";
- const char *g_string = "rgb(
1,1
,0)";
+ const char *r_string = "rgb(
255
,0,0)";
+ const char *g_string = "rgb(
0,255
,0)";
GdkPixbuf *loaded;
GdkPixbuf *pixbuf = NULL;
int plane;