diff options
Diffstat (limited to 'gtk/gtktoggletoolbutton.c')
-rw-r--r-- | gtk/gtktoggletoolbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoggletoolbutton.c b/gtk/gtktoggletoolbutton.c index 062a2d0820..4d1e2a9cfd 100644 --- a/gtk/gtktoggletoolbutton.c +++ b/gtk/gtktoggletoolbutton.c @@ -346,7 +346,7 @@ gtk_toggle_tool_button_activatable_reset (GtkActivatable *activatable, parent_activatable_iface->reset (activatable, action); - if (!action) + if (!GTK_IS_TOGGLE_ACTION (action)) return; button = GTK_TOGGLE_TOOL_BUTTON (activatable); |