diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-11-17 11:48:00 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-11-17 11:48:00 +0100 |
commit | 47213a98693b23196802746e6176584d79c57f87 (patch) | |
tree | 15550b6b058af36d7bc6ff4315981c20b161dbff /src/core | |
parent | f435e8d3fa0cf50fa7db643c8d4e698292581467 (diff) | |
download | weechat-47213a98693b23196802746e6176584d79c57f87.zip |
core: remove obsolete signals "debug_buffer" and "debug_windows"
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-debug.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/core/wee-debug.c b/src/core/wee-debug.c index 17e645fa7..3c37b4a85 100644 --- a/src/core/wee-debug.c +++ b/src/core/wee-debug.c @@ -170,26 +170,6 @@ debug_sigsegv () } /* - * Callback for signal "debug_buffer". - * - * This function is called when command "/debug buffer" is issued. - */ - -int -debug_buffer_cb (void *data, const char *signal, const char *type_data, - void *signal_data) -{ - /* make C compiler happy */ - (void) data; - (void) signal; - (void) type_data; - - gui_buffer_dump_hexa ((struct t_gui_buffer *)signal_data); - - return WEECHAT_RC_OK; -} - -/* * Displays tree of windows (this function must not be called directly). */ @@ -254,27 +234,6 @@ debug_windows_tree () } /* - * Callback for signal "debug_windows". - * - * This function is called when command "/debug windows" is issued. - */ - -int -debug_windows_cb (void *data, const char *signal, const char *type_data, - void *signal_data) -{ - /* make C compiler happy */ - (void) data; - (void) signal; - (void) type_data; - (void) signal_data; - - debug_windows_tree (); - - return WEECHAT_RC_OK; -} - -/* * Displays information about dynamic memory allocation. */ @@ -561,6 +520,4 @@ void debug_init () { hook_signal (NULL, "debug_dump", &debug_dump_cb, NULL); - hook_signal (NULL, "debug_buffer", &debug_buffer_cb, NULL); - hook_signal (NULL, "debug_windows", &debug_windows_cb, NULL); } |