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/gtkradioaction.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/gtkradioaction.c')
-rw-r--r-- | gtk/gtkradioaction.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c index ad078df2e1..815dc4f254 100644 --- a/gtk/gtkradioaction.c +++ b/gtk/gtkradioaction.c @@ -35,6 +35,7 @@ #include "gtktoggleactionprivate.h" #include "gtktoggletoolbutton.h" #include "gtkintl.h" +#include "gtkprivate.h" #include "gtkalias.h" #define GTK_RADIO_ACTION_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_RADIO_ACTION, GtkRadioActionPrivate)) @@ -141,7 +142,7 @@ gtk_radio_action_class_init (GtkRadioActionClass *klass) G_MININT, G_MAXINT, 0, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); /** * GtkRadioAction:group: @@ -156,7 +157,7 @@ gtk_radio_action_class_init (GtkRadioActionClass *klass) P_("Group"), P_("The radio action whose group this action belongs to."), GTK_TYPE_RADIO_ACTION, - G_PARAM_WRITABLE)); + GTK_PARAM_WRITABLE)); /** * GtkRadioAction::changed: |