summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2013-12-10 20:31:26 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2013-12-10 20:31:26 +0100
commite818c8332203ebbbc29660fc0ab58c9c82c4076c (patch)
tree2911914a13a8cc3ed7a454fd844560f2da84a657 /src
parent43a4f21e0665a166a366832d1f6830901fe281c9 (diff)
e: ignore signals with no signal
A signal needs a name to be handled. CID 1040147
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_bindings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_bindings.c b/src/bin/e_bindings.c
index 6e66626e8..65a6bbce4 100644
--- a/src/bin/e_bindings.c
+++ b/src/bin/e_bindings.c
@@ -1099,7 +1099,8 @@ e_bindings_signal_handle(E_Binding_Context ctxt, E_Object *obj, const char *sig,
1099 E_Action *act; 1099 E_Action *act;
1100 E_Binding_Signal *binding; 1100 E_Binding_Signal *binding;
1101 1101
1102 if (sig && (sig[0] == 0)) sig = NULL; 1102 if ((!sig) || (sig && (sig[0] == 0)))
1103 return NULL;
1103 if (src && (src[0] == 0)) src = NULL; 1104 if (src && (src[0] == 0)) src = NULL;
1104 act = e_bindings_signal_find(ctxt, sig, src, &binding); 1105 act = e_bindings_signal_find(ctxt, sig, src, &binding);
1105 if (act) 1106 if (act)