[glade/glade-3-22] widget: canonicalize support-warning property name



commit cfeafd05f06e2011d0a91805eab8d1227a4077e8
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 e2b38744..a80d300c 100644
--- a/gladeui/glade-widget.c
+++ b/gladeui/glade-widget.c
@@ -1422,7 +1422,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]