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/gtkclist.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/gtkclist.c')
-rw-r--r-- | gtk/gtkclist.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index ad77731cf4..547b2496ed 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -578,35 +578,35 @@ gtk_clist_class_init (GtkCListClass *klass) gtk_object_add_arg_type ("GtkCList::n-columns", GTK_TYPE_UINT, - GTK_ARG_READWRITE | GTK_ARG_CONSTRUCT_ONLY, + GTK_ARG_READWRITE | GTK_ARG_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME, ARG_N_COLUMNS); gtk_object_add_arg_type ("GtkCList::shadow-type", GTK_TYPE_SHADOW_TYPE, - GTK_ARG_READWRITE, + GTK_ARG_READWRITE | G_PARAM_STATIC_NAME, ARG_SHADOW_TYPE); gtk_object_add_arg_type ("GtkCList::selection-mode", GTK_TYPE_SELECTION_MODE, - GTK_ARG_READWRITE, + GTK_ARG_READWRITE | G_PARAM_STATIC_NAME, ARG_SELECTION_MODE); gtk_object_add_arg_type ("GtkCList::row-height", GTK_TYPE_UINT, - GTK_ARG_READWRITE, + GTK_ARG_READWRITE | G_PARAM_STATIC_NAME, ARG_ROW_HEIGHT); gtk_object_add_arg_type ("GtkCList::reorderable", GTK_TYPE_BOOL, - GTK_ARG_READWRITE, + GTK_ARG_READWRITE | G_PARAM_STATIC_NAME, ARG_REORDERABLE); gtk_object_add_arg_type ("GtkCList::titles-active", GTK_TYPE_BOOL, - GTK_ARG_READWRITE, + GTK_ARG_READWRITE | G_PARAM_STATIC_NAME, ARG_TITLES_ACTIVE); gtk_object_add_arg_type ("GtkCList::use-drag-icons", GTK_TYPE_BOOL, - GTK_ARG_READWRITE, + GTK_ARG_READWRITE | G_PARAM_STATIC_NAME, ARG_USE_DRAG_ICONS); gtk_object_add_arg_type ("GtkCList::sort-type", GTK_TYPE_SORT_TYPE, - GTK_ARG_READWRITE, + GTK_ARG_READWRITE | G_PARAM_STATIC_NAME, ARG_SORT_TYPE); widget_class->set_scroll_adjustments_signal = |