[gtk+] GtkColorButton: Use G_PARAM_EXPLICIT_NOTIFY



commit b28123dd3ce0b9901a5a4a0306b1d3f7644d41df
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 8 11:30:37 2014 -0400

    GtkColorButton: Use G_PARAM_EXPLICIT_NOTIFY

 gtk/gtkcolorbutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 00bbc87..47ec009 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -171,7 +171,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
                                    g_param_spec_boolean ("use-alpha", P_("Use alpha"),
                                                          P_("Whether to give the color an alpha value"),
                                                          FALSE,
-                                                         GTK_PARAM_READWRITE));
+                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   /**
    * GtkColorButton:title:


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