Set handler variables to NULL after disconnecting them
This commit is contained in:
@ -321,8 +321,13 @@ gimp_display_shell_disconnect (GimpDisplayShell *shell)
|
|||||||
shell);
|
shell);
|
||||||
|
|
||||||
gimp_tree_handler_disconnect (shell->vectors_visible_handler);
|
gimp_tree_handler_disconnect (shell->vectors_visible_handler);
|
||||||
|
shell->vectors_visible_handler = NULL;
|
||||||
|
|
||||||
gimp_tree_handler_disconnect (shell->vectors_thaw_handler);
|
gimp_tree_handler_disconnect (shell->vectors_thaw_handler);
|
||||||
|
shell->vectors_thaw_handler = NULL;
|
||||||
|
|
||||||
gimp_tree_handler_disconnect (shell->vectors_freeze_handler);
|
gimp_tree_handler_disconnect (shell->vectors_freeze_handler);
|
||||||
|
shell->vectors_freeze_handler = NULL;
|
||||||
|
|
||||||
g_signal_handlers_disconnect_by_func (image,
|
g_signal_handlers_disconnect_by_func (image,
|
||||||
gimp_display_shell_profile_changed_handler,
|
gimp_display_shell_profile_changed_handler,
|
||||||
|
Reference in New Issue
Block a user