summaryrefslogtreecommitdiff
path: root/gtk/gtkexpander.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-22 02:14:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-22 02:14:55 +0000
commit269d89c79c9e8e872b3599242d1e174afeab4b00 (patch)
tree6222a134a586bb5107fd7d58af9c83274f4d313a /gtk/gtkexpander.c
parent8d752a5587abfda1a14298e56cdffb90b4ab21de (diff)
downloadgtk+-269d89c79c9e8e872b3599242d1e174afeab4b00.tar.gz
Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE
2005-03-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like their G_ counterparts, but also mark the name, nick and blurb as static. * gtk/*.c: Mark param spec strings as static, using the new macros.
Diffstat (limited to 'gtk/gtkexpander.c')
-rw-r--r--gtk/gtkexpander.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 82516f7111..069f2a6a62 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -198,7 +198,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
P_("Expanded"),
P_("Whether the expander has been opened to reveal the child widget"),
FALSE,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_LABEL,
@@ -206,7 +206,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
P_("Label"),
P_("Text of the expander's label"),
NULL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_USE_UNDERLINE,
@@ -214,7 +214,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
P_("Use underline"),
P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
FALSE,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_USE_MARKUP,
@@ -222,7 +222,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
P_("Use markup"),
P_("The text of the label includes XML markup. See pango_parse_markup()"),
FALSE,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_SPACING,
@@ -232,7 +232,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
0,
G_MAXINT,
0,
- G_PARAM_READWRITE));
+ GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_LABEL_WIDGET,
@@ -240,7 +240,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
P_("Label widget"),
P_("A widget to display in place of the usual expander label"),
GTK_TYPE_WIDGET,
- G_PARAM_READWRITE));
+ GTK_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("expander-size",
@@ -249,7 +249,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
0,
G_MAXINT,
DEFAULT_EXPANDER_SIZE,
- G_PARAM_READABLE));
+ GTK_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("expander-spacing",
@@ -258,7 +258,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
0,
G_MAXINT,
DEFAULT_EXPANDER_SPACING,
- G_PARAM_READABLE));
+ GTK_PARAM_READABLE));
widget_class->activate_signal =
g_signal_new ("activate",