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/gtkruler.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/gtkruler.c')
-rw-r--r-- | gtk/gtkruler.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c index 161c2b4113..779718aeba 100644 --- a/gtk/gtkruler.c +++ b/gtk/gtkruler.c @@ -26,6 +26,7 @@ #include <config.h> #include "gtkruler.h" +#include "gtkprivate.h" #include "gtkintl.h" #include "gtkalias.h" @@ -122,7 +123,7 @@ gtk_ruler_class_init (GtkRulerClass *class) -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_UPPER, @@ -132,7 +133,7 @@ gtk_ruler_class_init (GtkRulerClass *class) -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_POSITION, @@ -142,7 +143,7 @@ gtk_ruler_class_init (GtkRulerClass *class) -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_MAX_SIZE, @@ -152,7 +153,7 @@ gtk_ruler_class_init (GtkRulerClass *class) -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); } static void |