Commit 3519226c authored by Matthias Clasen's avatar Matthias Clasen

GtkActionHelper: Fix a copy-paste error

The code clearly meant to reset action->active here.

This was found by Coverity.
parent bf26d46c
......@@ -189,7 +189,7 @@ gtk_action_helper_action_removed (GtkActionHelper *helper)
if (helper->active)
{
helper->enabled = FALSE;
helper->active = FALSE;
gtk_action_helper_report_change (helper, PROP_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