[gtk+] GtkSpinner: Use G_PARAM_EXPLICIT_NOTIFY



commit 9321b30b0b9786a5801210aca3cc45d2ac5c8a4a
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jun 9 09:41:26 2014 -0400

    GtkSpinner: Use G_PARAM_EXPLICIT_NOTIFY

 gtk/gtkspinner.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c
index d6ac9b8..0e08f84 100644
--- a/gtk/gtkspinner.c
+++ b/gtk/gtkspinner.c
@@ -33,6 +33,7 @@
 
 #include "gtkimage.h"
 #include "gtkintl.h"
+#include "gtkprivate.h"
 #include "gtkstylecontext.h"
 #include "gtkstylecontextprivate.h"
 #include "gtkwidgetprivate.h"
@@ -118,7 +119,7 @@ gtk_spinner_class_init (GtkSpinnerClass *klass)
                                                          P_("Active"),
                                                          P_("Whether the spinner is active"),
                                                          FALSE,
-                                                         G_PARAM_READWRITE));
+                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_SPINNER_ACCESSIBLE);
 }


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