[gtk] color editor: Don't warn if editing is cancelled



commit 661e195ffca1bbf4972474e83e621178b7e72381
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 8670027631..e6b4035d1e 100644
--- a/gtk/gtkcoloreditor.c
+++ b/gtk/gtkcoloreditor.c
@@ -356,7 +356,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]