summaryrefslogtreecommitdiff
path: root/gtk/gtkarrow.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-03-21 06:02:43 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-21 06:02:43 +0000
commitb6c29a5f1a68daa37533427d623cbbaa21ee0ca1 (patch)
treece76d131a79f2cc29db5c5ea79559eb04be291d6 /gtk/gtkarrow.c
parent06609470188075407d1668c66f99c19f6da1c67f (diff)
downloadgdk-pixbuf-b6c29a5f1a68daa37533427d623cbbaa21ee0ca1.tar.gz
: Mark param spec strings as static.
Diffstat (limited to 'gtk/gtkarrow.c')
-rw-r--r--gtk/gtkarrow.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkarrow.c b/gtk/gtkarrow.c
index 4f3b505f5..3e4ad7d1a 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;
}