mirror of https://github.com/GNOME/gimp.git
Issue #3133: Gimp freezes after selecting a filter preset and...
... clicking a GimpChain.
Since commit c0c055b4e9
, gimp_chain_button_set_active() emits the
"toggled" signal. There is no need to emit it separately from
GimpOperationTool when setting presets with
gimp_operation_tool_set_config().
In particular, since the "toggled" signal was even sent unconditionnally
here, our code was ending creating several GBinding for the same 2
adjustments, which was creating an infinite loop.
This commit is contained in:
parent
af6760b3c9
commit
03dc24455a
|
@ -755,8 +755,6 @@ gimp_operation_tool_unlink_chains (GimpOperationTool *op_tool)
|
|||
if (active)
|
||||
{
|
||||
gimp_chain_button_set_active (chain, FALSE);
|
||||
|
||||
g_signal_emit_by_name (chain, "toggled");
|
||||
}
|
||||
|
||||
chains = chains->next;
|
||||
|
@ -800,8 +798,6 @@ gimp_operation_tool_relink_chains (GimpOperationTool *op_tool)
|
|||
g_value_get_double (&double_y))
|
||||
{
|
||||
gimp_chain_button_set_active (chain, TRUE);
|
||||
|
||||
g_signal_emit_by_name (chain, "toggled");
|
||||
}
|
||||
|
||||
g_value_unset (&double_x);
|
||||
|
|
Loading…
Reference in New Issue