diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-08-24 22:06:52 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-08-24 22:06:52 +0000 |
commit | 32c6a944cfc5db7f59ee6232a8d76c04a27e908e (patch) | |
tree | 21bb0cd230bd2d06d4751bc5db10719909eb20bb /gtk/gtkactiongroup.c | |
parent | b374ae3fb4ff4a92a5ba0cb3f50a1ba9073875e1 (diff) | |
download | gtk+-32c6a944cfc5db7f59ee6232a8d76c04a27e908e.tar.gz |
Namespace the enum values properly. Sorry about the resize grip trouble,
2003-08-25 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.h (GtkActionGroupEntryType): Namespace the enum
values properly. Sorry about the resize grip trouble, Owen. (#120621)
* gtk/gtkactiongroup.c:
* demos/gtk-demo/appwindow.c:
* tests/testmerge.c:
* tests/testactions.c: Use new GtkActionGroupEntryType enum.
Diffstat (limited to 'gtk/gtkactiongroup.c')
-rw-r--r-- | gtk/gtkactiongroup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c index 69122755ef..28ae218b32 100644 --- a/gtk/gtkactiongroup.c +++ b/gtk/gtkactiongroup.c @@ -290,13 +290,13 @@ gtk_action_group_add_actions (GtkActionGroup *action_group, gchar *accel_path; switch (entries[i].entry_type) { - case NORMAL_ACTION: + case GTK_ACTION_NORMAL: action_type = GTK_TYPE_ACTION; break; - case TOGGLE_ACTION: + case GTK_ACTION_TOGGLE: action_type = GTK_TYPE_TOGGLE_ACTION; break; - case RADIO_ACTION: + case GTK_ACTION_RADIO: action_type = GTK_TYPE_RADIO_ACTION; break; default: @@ -311,7 +311,7 @@ gtk_action_group_add_actions (GtkActionGroup *action_group, "stock_id", entries[i].stock_id, NULL); - if (entries[i].entry_type == RADIO_ACTION && + if (entries[i].entry_type == GTK_ACTION_RADIO && entries[i].extra_data != NULL) { GtkAction *radio_action; |