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/gtkdialog.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/gtkdialog.c')
-rw-r--r-- | gtk/gtkdialog.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index c860acd407..77b207d8a6 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -36,6 +36,7 @@ #include "gtkmain.h" #include "gtkintl.h" #include "gtkbindings.h" +#include "gtkprivate.h" #include "gtkalias.h" #define GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_DIALOG, GtkDialogPrivate)) @@ -148,7 +149,7 @@ gtk_dialog_class_init (GtkDialogClass *class) P_("Has separator"), P_("The dialog has a separator bar above its buttons"), TRUE, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); dialog_signals[RESPONSE] = g_signal_new ("response", @@ -176,7 +177,7 @@ gtk_dialog_class_init (GtkDialogClass *class) 0, G_MAXINT, 2, - G_PARAM_READABLE)); + GTK_PARAM_READABLE)); gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("button-spacing", P_("Button spacing"), @@ -184,7 +185,7 @@ gtk_dialog_class_init (GtkDialogClass *class) 0, G_MAXINT, 10, - G_PARAM_READABLE)); + GTK_PARAM_READABLE)); gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("action-area-border", @@ -193,7 +194,7 @@ gtk_dialog_class_init (GtkDialogClass *class) 0, G_MAXINT, 5, - G_PARAM_READABLE)); + GTK_PARAM_READABLE)); binding_set = gtk_binding_set_by_class (class); |