[gtk] Fix encoding symbolic pixbufs



commit d03f38470ef951d0dd2d5a214060b08697008e31
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 14 14:12:33 2020 -0500

    Fix encoding symbolic pixbufs
    
    This was broken in 1a931da0465966b62b56e145b82e691ece67af91.

 gtk/tools/gdkpixbufutils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/tools/gdkpixbufutils.c b/gtk/tools/gdkpixbufutils.c
index 7d206f05a4..c706d720a8 100644
--- 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]