summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutsgroup.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-10-27 08:48:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-10-27 09:25:17 -0400
commitbb5b711d4b175d3edaa1eafcc979a8461fe0c08d (patch)
treeef6fceabf698a76f0400135df3758dc5fc541616 /gtk/gtkshortcutsgroup.c
parent71b31c84c00f73c23be62fd1ec13ec2d97b4164d (diff)
downloadgtk+-bb5b711d4b175d3edaa1eafcc979a8461fe0c08d.tar.gz
shortcuts: Some property hygiene
Bring property notification for some of the new shortcuts widgets up to the standards of our testsuite.
Diffstat (limited to 'gtk/gtkshortcutsgroup.c')
-rw-r--r--gtk/gtkshortcutsgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkshortcutsgroup.c b/gtk/gtkshortcutsgroup.c
index 1ac3fc5276..74adc6ac2a 100644
--- a/gtk/gtkshortcutsgroup.c
+++ b/gtk/gtkshortcutsgroup.c
@@ -225,7 +225,7 @@ gtk_shortcuts_group_class_init (GtkShortcutsGroupClass *klass)
*/
properties[PROP_TITLE] =
g_param_spec_string ("title", P_("Title"), P_("Title"),
- NULL,
+ "",
(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
@@ -279,7 +279,7 @@ gtk_shortcuts_group_class_init (GtkShortcutsGroupClass *klass)
*/
properties[PROP_HEIGHT] =
g_param_spec_uint ("height", P_("Height"), P_("Height"),
- 0, G_MAXUINT, 0,
+ 0, G_MAXUINT, 1,
(G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_properties (object_class, LAST_PROP, properties);