1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 02:03:13 +02:00

core: remove obsolete signals "debug_buffer" and "debug_windows"

This commit is contained in:
Sebastien Helleu
2013-11-17 11:48:00 +01:00
parent f435e8d3fa
commit 47213a9869
-43
View File
@@ -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);
}