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/gtkhandlebox.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/gtkhandlebox.c')
-rw-r--r-- | gtk/gtkhandlebox.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c index b4bdd7d3d6..63bf94a507 100644 --- a/gtk/gtkhandlebox.c +++ b/gtk/gtkhandlebox.c @@ -32,6 +32,7 @@ #include "gtkmain.h" #include "gtkmarshalers.h" #include "gtkwindow.h" +#include "gtkprivate.h" #include "gtkintl.h" #include "gtkalias.h" @@ -200,7 +201,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class) P_("Deprecated property, use shadow_type instead"), GTK_TYPE_SHADOW_TYPE, GTK_SHADOW_ETCHED_OUT, - G_PARAM_READABLE | G_PARAM_WRITABLE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_SHADOW_TYPE, g_param_spec_enum ("shadow-type", @@ -208,7 +209,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class) P_("Appearance of the shadow that surrounds the container"), GTK_TYPE_SHADOW_TYPE, GTK_SHADOW_ETCHED_OUT, - G_PARAM_READABLE | G_PARAM_WRITABLE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_HANDLE_POSITION, @@ -217,7 +218,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class) P_("Position of the handle relative to the child widget"), GTK_TYPE_POSITION_TYPE, GTK_POS_LEFT, - G_PARAM_READABLE | G_PARAM_WRITABLE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_SNAP_EDGE, @@ -226,7 +227,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class) P_("Side of the handlebox that's lined up with the docking point to dock the handlebox"), GTK_TYPE_POSITION_TYPE, GTK_POS_TOP, - G_PARAM_READABLE | G_PARAM_WRITABLE)); + GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_SNAP_EDGE_SET, @@ -234,7 +235,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class) P_("Snap edge set"), P_("Whether to use the value from the snap_edge property or a value derived from handle_position"), FALSE, - G_PARAM_READABLE | G_PARAM_WRITABLE)); + GTK_PARAM_READWRITE)); object_class->destroy = gtk_handle_box_destroy; |