diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-19 18:46:40 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-10-26 05:02:19 +0200 |
commit | 49c409c498bf66e54d4475acb80cec45a596bd16 (patch) | |
tree | a72c724b9a206c3301344c6f236b121f06452e2c /tests/testselection.c | |
parent | 209715f0eff9b0cc3210605e95686242893d2dd4 (diff) | |
download | gtk+-49c409c498bf66e54d4475acb80cec45a596bd16.tar.gz |
tests: use accessor functions to access GtkToogleButton
Diffstat (limited to 'tests/testselection.c')
-rw-r--r-- | tests/testselection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testselection.c b/tests/testselection.c index ff7a99caa6..088225e845 100644 --- a/tests/testselection.c +++ b/tests/testselection.c @@ -140,7 +140,7 @@ init_atoms (void) void selection_toggled (GtkWidget *widget) { - if (GTK_TOGGLE_BUTTON(widget)->active) + if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))) { have_selection = gtk_selection_owner_set (selection_widget, GDK_SELECTION_PRIMARY, |