Commit 356cfaa0 authored by Javier Jardón's avatar Javier Jardón

gtktoggletoolbutton: Use accessor functions to access GtkToggleButton

parent fda588d1
......@@ -291,7 +291,9 @@ static void
button_toggled (GtkWidget *widget,
GtkToggleToolButton *toggle_tool_button)
gboolean toggle_active = GTK_TOGGLE_BUTTON (widget)->active;
gboolean toggle_active;
toggle_active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget));
if (toggle_tool_button->priv->active != toggle_active)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment