summaryrefslogtreecommitdiff
path: root/gtk/gtkgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkgamma.c')
-rw-r--r--gtk/gtkgamma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkgamma.c b/gtk/gtkgamma.c
index f395712e38..cd68139fe4 100644
--- a/gtk/gtkgamma.c
+++ b/gtk/gtkgamma.c
@@ -329,7 +329,7 @@ button_toggled_callback (GtkWidget *w, gpointer data)
break;
if (i < 3)
- gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (c->button[i]), FALSE);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (c->button[i]), FALSE);
switch (active)
{
@@ -444,7 +444,7 @@ curve_type_changed_callback (GtkWidget *w, gpointer data)
default: active = 2; break;
}
if (!GTK_TOGGLE_BUTTON (c->button[active])->active)
- gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (c->button[active]), TRUE);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (c->button[active]), TRUE);
}
GtkWidget*