diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-09-22 08:54:23 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-09-22 08:54:23 +0000 |
commit | cf639f41686877c0b44bc4ca34edd2f1ee98fd2e (patch) | |
tree | 7b7cc4f6282b575c4b9012f01ba65fd34cb81aa8 /tests/testmerge.c | |
parent | df64ae4434a75311e490c0d648a79bb61428ac2e (diff) | |
download | gtk+-cf639f41686877c0b44bc4ca34edd2f1ee98fd2e.tar.gz |
Initially activate the JUSTIFY_RIGHT group member to test the fix for
2003-09-22 Matthias Clasen <maclas@gmx.de>
* tests/testmerge.c (main): Initially activate the JUSTIFY_RIGHT
group member to test the fix for #122904.
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
Add the action to the group before activating it, otherwise we
may end up with multiple active group members. (#122904, Marco
Pesenti Gritti)
Diffstat (limited to 'tests/testmerge.c')
-rw-r--r-- | tests/testmerge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testmerge.c b/tests/testmerge.c index c79090b20d..ea794ddfa7 100644 --- a/tests/testmerge.c +++ b/tests/testmerge.c @@ -462,7 +462,7 @@ main (int argc, char **argv) NULL); gtk_action_group_add_radio_actions (action_group, radio_entries, n_radio_entries, - JUSTIFY_LEFT, + JUSTIFY_RIGHT, G_CALLBACK (radio_action_changed), NULL); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); @@ -556,6 +556,8 @@ main (int argc, char **argv) gtk_widget_show_all (window); gtk_main (); + g_object_unref (action_group); + g_object_unref (merge); return 0; } |