summaryrefslogtreecommitdiff
path: root/src/bin/e_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_client.c')
-rw-r--r--src/bin/e_client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 41f20c8b9..f54799eb7 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -319,6 +319,9 @@ _e_client_hook_call(E_Client_Hook_Point hookpoint, E_Client *ec)
319 { 319 {
320 if (ch->delete_me) continue; 320 if (ch->delete_me) continue;
321 ch->func(ch->data, ec); 321 ch->func(ch->data, ec);
322 if ((hookpoint != E_CLIENT_HOOK_DEL) &&
323 e_object_is_del(E_OBJECT(ec)))
324 break;
322 } 325 }
323 _e_client_hooks_walking--; 326 _e_client_hooks_walking--;
324 if ((_e_client_hooks_walking == 0) && (_e_client_hooks_delete > 0)) 327 if ((_e_client_hooks_walking == 0) && (_e_client_hooks_delete > 0))