diff options
Diffstat (limited to 'gtk/gtkarrow.c')
-rw-r--r-- | gtk/gtkarrow.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkarrow.c b/gtk/gtkarrow.c index 4f3b505f5d..3e4ad7d1af 100644 --- a/gtk/gtkarrow.c +++ b/gtk/gtkarrow.c @@ -93,6 +93,8 @@ gtk_arrow_class_init (GtkArrowClass *class) gobject_class->set_property = gtk_arrow_set_property; gobject_class->get_property = gtk_arrow_get_property; + +#define STATIC_STRINGS G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB g_object_class_install_property (gobject_class, PROP_ARROW_TYPE, @@ -101,7 +103,7 @@ gtk_arrow_class_init (GtkArrowClass *class) P_("The direction the arrow should point"), GTK_TYPE_ARROW_TYPE, GTK_ARROW_RIGHT, - G_PARAM_READABLE | G_PARAM_WRITABLE)); + G_PARAM_READWRITE | STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_SHADOW_TYPE, g_param_spec_enum ("shadow-type", @@ -109,7 +111,7 @@ gtk_arrow_class_init (GtkArrowClass *class) P_("Appearance of the shadow surrounding the arrow"), GTK_TYPE_SHADOW_TYPE, GTK_SHADOW_OUT, - G_PARAM_READABLE | G_PARAM_WRITABLE)); + G_PARAM_READWRITE | STATIC_STRINGS)); widget_class->expose_event = gtk_arrow_expose; } |