summaryrefslogtreecommitdiff
path: root/gtk/gtktoggletoolbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-01-30 15:30:25 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-01-30 15:30:25 +0000
commit0f61ac62a8a328be53189823e19bd51f8588838f (patch)
tree32231463b3b797b34812cc21f74518aa0bfb151c /gtk/gtktoggletoolbutton.c
parent205eba7a0582accc77f4886aa05eb26c3a47c7d8 (diff)
downloadgtk+-0f61ac62a8a328be53189823e19bd51f8588838f.tar.gz
Use the setter for active. (#329208, Guillaume Cottenceau)
2006-01-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_set_property): Use the setter for active. (#329208, Guillaume Cottenceau)
Diffstat (limited to 'gtk/gtktoggletoolbutton.c')
-rw-r--r--gtk/gtktoggletoolbutton.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktoggletoolbutton.c b/gtk/gtktoggletoolbutton.c
index 740ea1934a..1144ba2430 100644
--- a/gtk/gtktoggletoolbutton.c
+++ b/gtk/gtktoggletoolbutton.c
@@ -179,7 +179,8 @@ gtk_toggle_tool_button_set_property (GObject *object,
switch (prop_id)
{
case PROP_ACTIVE:
- button->priv->active = g_value_get_boolean (value);
+ gtk_toggle_tool_button_set_active (button,
+ g_value_get_boolean (value));
break;
default: