[gimp] Issue 1878: Eyedrop tool doesn't work when screen composing (KWin)...



commit b29d1ea6ff0dec77cfd206049ef88353e09abbe0
Author: Jehan <jehan girinstud io>
Date:   Tue May 7 18:49:35 2019 +0900

    Issue 1878: Eyedrop tool doesn't work when screen composing (KWin)...
    
    ... is enabled.

 libgimpwidgets/gimppickbutton-kwin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimpwidgets/gimppickbutton-kwin.c b/libgimpwidgets/gimppickbutton-kwin.c
index c6135fadf4..ec09bfc94a 100644
--- a/libgimpwidgets/gimppickbutton-kwin.c
+++ b/libgimpwidgets/gimppickbutton-kwin.c
@@ -85,7 +85,7 @@ _gimp_pick_button_kwin_pick (GimpPickButton *button)
       GimpRGB rgb;
       guint32 color;
 
-      g_variant_get (retval, "(u)", &color);
+      g_variant_get (retval, "((u))", &color);
       g_variant_unref (retval);
       /* Returned value is ARGB stored in uint32. */
       gimp_rgba_set_uchar (&rgb,


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