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/gtkstatusbar.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/gtkstatusbar.c')
-rw-r--r-- | gtk/gtkstatusbar.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c index 407b658f21..36cd3625b1 100644 --- a/gtk/gtkstatusbar.c +++ b/gtk/gtkstatusbar.c @@ -31,6 +31,7 @@ #include "gtkmarshalers.h" #include "gtkstatusbar.h" #include "gtkwindow.h" +#include "gtkprivate.h" #include "gtkintl.h" #include "gtkalias.h" @@ -177,7 +178,7 @@ gtk_statusbar_class_init (GtkStatusbarClass *class) P_("Has Resize Grip"), P_("Whether the statusbar has a grip for resizing the toplevel"), TRUE, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); statusbar_signals[SIGNAL_TEXT_PUSHED] = g_signal_new ("text_pushed", G_OBJECT_CLASS_TYPE (class), @@ -205,7 +206,7 @@ gtk_statusbar_class_init (GtkStatusbarClass *class) P_("Style of bevel around the statusbar text"), GTK_TYPE_SHADOW_TYPE, GTK_SHADOW_IN, - G_PARAM_READABLE)); + GTK_PARAM_READABLE)); } static void |