summaryrefslogtreecommitdiff
path: root/gtk/gtktogglebutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-22 02:14:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-22 02:14:55 +0000
commit269d89c79c9e8e872b3599242d1e174afeab4b00 (patch)
tree6222a134a586bb5107fd7d58af9c83274f4d313a /gtk/gtktogglebutton.c
parent8d752a5587abfda1a14298e56cdffb90b4ab21de (diff)
downloadgdk-pixbuf-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/gtktogglebutton.c')
-rw-r--r--gtk/gtktogglebutton.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c
index be6b3c72a..5971d9359 100644
--- a/gtk/gtktogglebutton.c
+++ b/gtk/gtktogglebutton.c
@@ -29,6 +29,7 @@
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtktogglebutton.h"
+#include "gtkprivate.h"
#include "gtkintl.h"
#include "gtkalias.h"
@@ -134,7 +135,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
P_("Active"),
P_("If the toggle button should be pressed in or not"),
FALSE,
- G_PARAM_READWRITE));
+ GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_INCONSISTENT,
@@ -142,7 +143,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
P_("Inconsistent"),
P_("If the toggle button is in an \"in between\" state"),
FALSE,
- G_PARAM_READWRITE));
+ GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_DRAW_INDICATOR,
@@ -150,7 +151,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
P_("Draw Indicator"),
P_("If the toggle part of the button is displayed"),
FALSE,
- G_PARAM_READWRITE));
+ GTK_PARAM_READWRITE));
toggle_button_signals[TOGGLED] =
g_signal_new ("toggled",