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)
This commit is contained in:
Matthias Clasen 2006-01-30 15:30:25 +00:00 committed by Matthias Clasen
parent 205eba7a05
commit 0f61ac62a8
3 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,10 @@
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)
* docs/tools/widgets.c (get_all_widgets): Add GtkLinkButton
* gtk/gtkassistant.c (gtk_assistant_init): Move the
last button to the left where it does not affect
the positioning of forward/back.

View File

@ -1,5 +1,10 @@
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)
* docs/tools/widgets.c (get_all_widgets): Add GtkLinkButton
* gtk/gtkassistant.c (gtk_assistant_init): Move the
last button to the left where it does not affect
the positioning of forward/back.

View File

@ -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: