summaryrefslogtreecommitdiff
path: root/src/core/expandos.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-04-15 13:59:09 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-04-15 13:59:09 +0000
commit8b9c4823bfb9a1b60f31aa62eb882143e3dec153 (patch)
tree5370cc87f33e181e8d71933bddd701bb48093050 /src/core/expandos.c
parent15667ec7ff00b151fde5e9d9927bb75f00f7c79a (diff)
downloadirssi-8b9c4823bfb9a1b60f31aa62eb882143e3dec153.zip
Rewritten signal handling code - it wasn't supposed to come before 0.9 irssi
but it doesn't break much things and is needed for Qt port :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2682 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/expandos.c')
-rw-r--r--src/core/expandos.c5
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);
}
}