diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-22 02:14:55 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-22 02:14:55 +0000 |
commit | 269d89c79c9e8e872b3599242d1e174afeab4b00 (patch) | |
tree | 6222a134a586bb5107fd7d58af9c83274f4d313a /gtk/gtklayout.c | |
parent | 8d752a5587abfda1a14298e56cdffb90b4ab21de (diff) | |
download | gtk+-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/gtklayout.c')
-rw-r--r-- | gtk/gtklayout.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c index b47ff7f674..a28bcd2539 100644 --- a/gtk/gtklayout.c +++ b/gtk/gtklayout.c @@ -617,7 +617,7 @@ gtk_layout_class_init (GtkLayoutClass *class) G_MININT, G_MAXINT, 0, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_Y, @@ -627,7 +627,7 @@ gtk_layout_class_init (GtkLayoutClass *class) G_MININT, G_MAXINT, 0, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_HADJUSTMENT, @@ -635,7 +635,7 @@ gtk_layout_class_init (GtkLayoutClass *class) P_("Horizontal adjustment"), P_("The GtkAdjustment for the horizontal position"), GTK_TYPE_ADJUSTMENT, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_VADJUSTMENT, @@ -643,7 +643,7 @@ gtk_layout_class_init (GtkLayoutClass *class) P_("Vertical adjustment"), P_("The GtkAdjustment for the vertical position"), GTK_TYPE_ADJUSTMENT, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_WIDTH, @@ -653,7 +653,7 @@ gtk_layout_class_init (GtkLayoutClass *class) 0, G_MAXINT, 100, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_HEIGHT, g_param_spec_uint ("height", @@ -662,7 +662,7 @@ gtk_layout_class_init (GtkLayoutClass *class) 0, G_MAXINT, 100, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); widget_class->realize = gtk_layout_realize; widget_class->unrealize = gtk_layout_unrealize; widget_class->map = gtk_layout_map; |