[gtk+] GtkFontChooser: Use G_PARAM_EXPLICIT_NOTIFY for show-preview-entry



commit 595a44680a9a4f34f5da161d915385e85949dcdc
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 8 11:58:19 2014 -0400

    GtkFontChooser: Use G_PARAM_EXPLICIT_NOTIFY for show-preview-entry
    
    Implementors will have to be adjusted.

 gtk/gtkfontchooser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c
index c7ac800..35591d2 100644
--- a/gtk/gtkfontchooser.c
+++ b/gtk/gtkfontchooser.c
@@ -104,7 +104,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
                           P_("Show preview text entry"),
                           P_("Whether the preview text entry is shown or not"),
                           TRUE,
-                          GTK_PARAM_READWRITE));
+                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   /**
    * GtkFontChooser::font-activated:


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