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/gtkfilechooserbutton.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/gtkfilechooserbutton.c')
-rw-r--r-- | gtk/gtkfilechooserbutton.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index dedd2a9fe8..fbce45911b 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -55,6 +55,7 @@ #include "gtkfilesystemwin32.h" #endif +#include "gtkprivate.h" #include "gtkalias.h" /* **************** * @@ -337,7 +338,7 @@ gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class) P_("Dialog"), P_("The file chooser dialog to use."), GTK_TYPE_FILE_CHOOSER_DIALOG, - (G_PARAM_WRITABLE | + (GTK_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY))); /** @@ -352,7 +353,7 @@ gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class) P_("Title"), P_("The title of the file chooser dialog."), _(DEFAULT_TITLE), - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); /** * GtkFileChooserButton:width-chars: @@ -366,7 +367,7 @@ gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class) P_("Width In Characters"), P_("The desired width of the button widget, in characters."), -1, G_MAXINT, -1, - G_PARAM_READWRITE)); + GTK_PARAM_READWRITE)); _gtk_file_chooser_install_properties (gobject_class); |