diff options
author | Timo Sirainen <cras@irssi.org> | 2002-04-15 14:06:57 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-04-15 14:06:57 +0000 |
commit | 53d595ba7fd05f392853c1c6cb3c58b03949a247 (patch) | |
tree | d4c88db495b668ca9470e3ac73e9bfa2ef1e1be6 /src/fe-text | |
parent | 8b9c4823bfb9a1b60f31aa62eb882143e3dec153 (diff) | |
download | irssi-53d595ba7fd05f392853c1c6cb3c58b03949a247.zip |
fixed several signal leaks
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2683 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/gui-readline.c | 8 | ||||
-rw-r--r-- | src/fe-text/textbuffer-reformat.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index 145273b7..c23b42c7 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -665,11 +665,11 @@ void gui_readline_init(void) /* window managing */ key_bind("previous_window", "Previous window", "^P", NULL, (SIGNAL_FUNC) key_previous_window); - key_bind("left_window", "Window in left", "meta-left", NULL, (SIGNAL_FUNC) key_left_window); key_bind("next_window", "Next window", "^N", NULL, (SIGNAL_FUNC) key_next_window); - key_bind("right_window", "Window in right", "meta-right", NULL, (SIGNAL_FUNC) key_right_window); key_bind("upper_window", "Upper window", "meta-up", NULL, (SIGNAL_FUNC) key_upper_window); key_bind("lower_window", "Lower window", "meta-down", NULL, (SIGNAL_FUNC) key_lower_window); + key_bind("left_window", "Window in left", "meta-left", NULL, (SIGNAL_FUNC) key_left_window); + key_bind("right_window", "Window in right", "meta-right", NULL, (SIGNAL_FUNC) key_right_window); key_bind("active_window", "Go to next window with the highest activity", "meta-a", NULL, (SIGNAL_FUNC) key_active_window); key_bind("next_window_item", "Next channel/query", "^X", NULL, (SIGNAL_FUNC) key_next_window_item); key_bind("previous_window_item", "Previous channel/query", NULL, NULL, (SIGNAL_FUNC) key_previous_window_item); @@ -737,13 +737,17 @@ void gui_readline_deinit(void) key_unbind("yank_from_cutbuffer", (SIGNAL_FUNC) key_yank_from_cutbuffer); key_unbind("transpose_characters", (SIGNAL_FUNC) key_transpose_characters); + key_unbind("send_line", (SIGNAL_FUNC) key_send_line); key_unbind("word_completion", (SIGNAL_FUNC) key_word_completion); + key_unbind("erase_completion", (SIGNAL_FUNC) key_erase_completion); key_unbind("check_replaces", (SIGNAL_FUNC) key_check_replaces); key_unbind("previous_window", (SIGNAL_FUNC) key_previous_window); key_unbind("next_window", (SIGNAL_FUNC) key_next_window); key_unbind("upper_window", (SIGNAL_FUNC) key_upper_window); key_unbind("lower_window", (SIGNAL_FUNC) key_lower_window); + key_unbind("left_window", (SIGNAL_FUNC) key_left_window); + key_unbind("right_window", (SIGNAL_FUNC) key_right_window); key_unbind("active_window", (SIGNAL_FUNC) key_active_window); key_unbind("next_window_item", (SIGNAL_FUNC) key_next_window_item); key_unbind("previous_window_item", (SIGNAL_FUNC) key_previous_window_item); diff --git a/src/fe-text/textbuffer-reformat.c b/src/fe-text/textbuffer-reformat.c index da75a5a8..62f17f0d 100644 --- a/src/fe-text/textbuffer-reformat.c +++ b/src/fe-text/textbuffer-reformat.c @@ -275,6 +275,6 @@ void textbuffer_reformat_deinit(void) g_string_free(format, TRUE); signal_remove("print format", (SIGNAL_FUNC) sig_print_format); - signal_remove("print text finished", (SIGNAL_FUNC) sig_gui_printtext_finished); + signal_remove("gui print text finished", (SIGNAL_FUNC) sig_gui_printtext_finished); signal_remove("setup changed", (SIGNAL_FUNC) read_settings); } |