From 47213a98693b23196802746e6176584d79c57f87 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 17 Nov 2013 11:48:00 +0100 Subject: core: remove obsolete signals "debug_buffer" and "debug_windows" --- src/core/wee-debug.c | 43 ------------------------------------------- 1 file changed, 43 deletions(-) (limited to 'src/core') 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 @@ -169,26 +169,6 @@ debug_sigsegv () weechat_shutdown (EXIT_FAILURE, 1); } -/* - * 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). */ @@ -253,27 +233,6 @@ debug_windows_tree () debug_windows_tree_display (gui_windows_tree, 1); } -/* - * 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); } -- cgit v1.2.3