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.
This commit is contained in:
Matthias Clasen
2005-03-22 02:14:55 +00:00
committed by Matthias Clasen
parent 8d752a5587
commit 269d89c79c
102 changed files with 792 additions and 732 deletions

View File

@ -26,6 +26,7 @@
#include "gtkseparatortoolitem.h"
#include "gtkintl.h"
#include "gtktoolbar.h"
#include "gtkprivate.h"
#include "gtkalias.h"
#define MENU_ID "gtk-separator-tool-item-menu-id"
@ -136,7 +137,7 @@ gtk_separator_tool_item_class_init (GtkSeparatorToolItemClass *class)
P_("Draw"),
P_("Whether the separator is drawn, or just blank"),
TRUE,
G_PARAM_READWRITE));
GTK_PARAM_READWRITE));
g_type_class_add_private (object_class, sizeof (GtkSeparatorToolItemPrivate));
}