[beast] BEAST-GTK: work around regressions introduced in g_object_class_install_property



commit bfcdf52900b4fbd60139682dc62cedd8af210851
Author: Tim Janik <timj gnu org>
Date:   Mon Oct 22 18:05:12 2012 +0200

    BEAST-GTK: work around regressions introduced in  g_object_class_install_property
    
    See Gnome bug #686652, g_object_class_install_property falsely forces
    properties to be readable or writable.

 beast-gtk/bstcluehunter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstcluehunter.c b/beast-gtk/bstcluehunter.c
index f6dbdd7..cf9b320 100644
--- a/beast-gtk/bstcluehunter.c
+++ b/beast-gtk/bstcluehunter.c
@@ -134,7 +134,7 @@ bst_clue_hunter_class_init (BstClueHunterClass *class)
 				   g_param_spec_enum ("type", NULL, NULL,
 						      GTK_TYPE_WINDOW_TYPE,
 						      GTK_WINDOW_POPUP,
-						      0));
+						      /* should be 0 */ G_PARAM_READABLE));
   g_object_class_install_property (gobject_class,
 				   PROP_PATTERN_MATCHING,
 				   g_param_spec_boolean ("pattern_matching", NULL, NULL,



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