diff options
Diffstat (limited to 'tests/testselection.c')
-rw-r--r-- | tests/testselection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testselection.c b/tests/testselection.c index 765f918f28..e7d7bbfa21 100644 --- a/tests/testselection.c +++ b/tests/testselection.c @@ -136,7 +136,7 @@ selection_toggled (GtkWidget *widget) GDK_SELECTION_PRIMARY, GDK_CURRENT_TIME); if (!have_selection) - gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON(widget), FALSE); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(widget), FALSE); } else { @@ -188,7 +188,7 @@ gint selection_clear (GtkWidget *widget, GdkEventSelection *event) { have_selection = FALSE; - gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON(widget), FALSE); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(widget), FALSE); return TRUE; } |