[gtk/gtk-3-24] color editor: Don't warn if editing is cancelled



commit f35ce26336a46200a781c00ddf54b2714d226d23
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Mar 24 11:14:20 2019 -0400

    color editor: Don't warn if editing is cancelled
    
    Thats a valid way to end color picking.

 gtk/gtkcoloreditor.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c
index 78f04b8ba1..e87d8c0229 100644
--- a/gtk/gtkcoloreditor.c
+++ b/gtk/gtkcoloreditor.c
@@ -371,7 +371,6 @@ color_picked (GObject      *source,
   color = gtk_color_picker_pick_finish (picker, res, &error);
   if (color == NULL)
     {
-      g_warning ("Picking color failed: %s", error->message);
       g_error_free (error);
     }
   else


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