diff options
Diffstat (limited to 'src/core/expandos.c')
-rw-r--r-- | src/core/expandos.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/expandos.c b/src/core/expandos.c index 130d6025..5eb76410 100644 --- a/src/core/expandos.c +++ b/src/core/expandos.c @@ -179,7 +179,8 @@ void expando_bind(const char *key, int funccount, SIGNAL_FUNC *funcs) func = arg < funccount ? funcs[arg] : NULL; if (func == NULL) func = funcs[EXPANDO_ARG_NONE]; - signal_add_to_id(MODULE_NAME, 1, rec->signal_ids[n], func); + signal_add_full_id(MODULE_NAME, 1, rec->signal_ids[n], + func, NULL); } } @@ -208,7 +209,7 @@ void expando_unbind(const char *key, int funccount, SIGNAL_FUNC *funcs) func = arg < funccount ? funcs[arg] : NULL; if (func == NULL) func = funcs[EXPANDO_ARG_NONE]; - signal_remove_id(rec->signal_ids[n], func); + signal_remove_id(rec->signal_ids[n], func, NULL); } } |