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/gtkmenubar.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/gtkmenubar.c')
-rw-r--r-- | gtk/gtkmenubar.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c index 235551c55f..d3b2195fc6 100644 --- a/gtk/gtkmenubar.c +++ b/gtk/gtkmenubar.c @@ -36,6 +36,7 @@ #include "gtksettings.h" #include "gtkintl.h" #include "gtkwindow.h" +#include "gtkprivate.h" #include "gtkalias.h" @@ -201,7 +202,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class) P_("The pack direction of the menubar"), GTK_TYPE_PACK_DIRECTION, GTK_PACK_DIRECTION_LTR, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); /** * GtkMenuBar:child-pack-direction: @@ -218,7 +219,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class) P_("The child pack direction of the menubar"), GTK_TYPE_PACK_DIRECTION, GTK_PACK_DIRECTION_LTR, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); gtk_widget_class_install_style_property (widget_class, @@ -227,7 +228,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class) P_("Style of bevel around the menubar"), GTK_TYPE_SHADOW_TYPE, GTK_SHADOW_OUT, - G_PARAM_READABLE)); + GTK_PARAM_READABLE)); gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("internal-padding", @@ -236,7 +237,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class) 0, G_MAXINT, DEFAULT_IPADDING, - G_PARAM_READABLE)); + GTK_PARAM_READABLE)); gtk_settings_install_property (g_param_spec_int ("gtk-menu-bar-popup-delay", P_("Delay before drop down menus appear"), @@ -244,7 +245,7 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class) 0, G_MAXINT, 0, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); g_type_class_add_private (gobject_class, sizeof (GtkMenuBarPrivate)); } |