diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-21 06:02:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-21 06:02:43 +0000 |
commit | b6c29a5f1a68daa37533427d623cbbaa21ee0ca1 (patch) | |
tree | ce76d131a79f2cc29db5c5ea79559eb04be291d6 /gtk/gtkactiongroup.c | |
parent | 06609470188075407d1668c66f99c19f6da1c67f (diff) | |
download | gtk+-b6c29a5f1a68daa37533427d623cbbaa21ee0ca1.tar.gz |
: Mark param spec strings as static.
Diffstat (limited to 'gtk/gtkactiongroup.c')
-rw-r--r-- | gtk/gtkactiongroup.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c index bda336bc6d..81a2118861 100644 --- a/gtk/gtkactiongroup.c +++ b/gtk/gtkactiongroup.c @@ -128,6 +128,8 @@ gtk_action_group_class_init (GtkActionGroupClass *klass) gobject_class->get_property = gtk_action_group_get_property; klass->get_action = gtk_action_group_real_get_action; +#define STATIC_STRINGS G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB + g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", @@ -135,21 +137,21 @@ gtk_action_group_class_init (GtkActionGroupClass *klass) P_("A name for the action group."), NULL, G_PARAM_READWRITE | - G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_CONSTRUCT_ONLY | STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_SENSITIVE, g_param_spec_boolean ("sensitive", P_("Sensitive"), P_("Whether the action group is enabled."), TRUE, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_VISIBLE, g_param_spec_boolean ("visible", P_("Visible"), P_("Whether the action group is visible."), TRUE, - G_PARAM_READWRITE)); + G_PARAM_READWRITE | STATIC_STRINGS)); /** * GtkActionGroup::connect-proxy: |