[glade/wip/chergert/fix-canonical-property] widget: canonicalize support-warning property name



commit a5c583ec483b19b8bb332e4ad24eb57bf11db1f2
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jan 13 20:11:07 2020 -0800

    widget: canonicalize support-warning property name
    
    This has been causing issues in Builder recently, preventing users from
    opening some projects. It appears related to GLib tightening restrictions
    on property names in GNOME/glib@30e630c9df792cf36cdb1cceb3daefbde1dc898a.
    
    Fixes #403

 gladeui/glade-widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gladeui/glade-widget.c b/gladeui/glade-widget.c
index f2a77a57..4d954427 100644
--- a/gladeui/glade-widget.c
+++ b/gladeui/glade-widget.c
@@ -1435,7 +1435,7 @@ glade_widget_class_init (GladeWidgetClass *klass)
                          -1, G_MAXINT, -1, G_PARAM_READWRITE);
 
   properties[PROP_SUPPORT_WARNING] =
-       g_param_spec_string ("support warning", _("Support Warning"),
+       g_param_spec_string ("support-warning", _("Support Warning"),
                             _("A warning string about version mismatches"),
                             NULL, G_PARAM_READABLE);
 


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