summaryrefslogtreecommitdiff
path: root/pidgin/libpidgin.c
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2021-10-19 00:41:44 -0500
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2021-10-19 00:41:44 -0500
commit805be51f98824ca6a5e31d6655007d0aa9b13407 (patch)
tree9be1e7e633106211922104e7f7b8769b41243740 /pidgin/libpidgin.c
parentd499af1680862663a58e4257da247485e9dfec96 (diff)
downloadpidgin-805be51f98824ca6a5e31d6655007d0aa9b13407.tar.gz
Remove entire PurpleDebugUiInterface and implementations
The `purple_debug*` functions are routed through GLib's logging interface, and the UIs capture logs from there, so there's no need for this interface any more. Testing Done: Opened Debug Window and saw logs appearing there. Reviewed at https://reviews.imfreedom.org/r/1074/
Diffstat (limited to 'pidgin/libpidgin.c')
-rw-r--r--pidgin/libpidgin.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/pidgin/libpidgin.c b/pidgin/libpidgin.c
index 5ff003b499..9502831f37 100644
--- a/pidgin/libpidgin.c
+++ b/pidgin/libpidgin.c
@@ -183,13 +183,6 @@ purple_ui_protocol_registered_cb(PurpleProtocolManager *manager,
purple_ui_add_protocol_theme_paths(protocol);
}
-static void
-debug_init(void)
-{
- PidginDebugUi *ui = pidgin_debug_ui_new();
- purple_debug_set_ui(PURPLE_DEBUG_UI(ui));
-}
-
static gboolean
pidgin_history_init(GError **error) {
PurpleHistoryManager *manager = NULL;
@@ -289,7 +282,6 @@ static void
pidgin_quit(void)
{
/* Uninit */
- PurpleDebugUi *ui;
/* Be sure to close all windows that are not attached to anything
* (e.g., the debug window), or they may access things after they are
@@ -304,9 +296,6 @@ pidgin_quit(void)
pidgin_accounts_uninit();
pidgin_xfers_uninit();
pidgin_debug_window_hide();
- ui = purple_debug_get_ui();
- purple_debug_set_ui(NULL);
- g_object_unref(ui);
pidgin_debug_uninit();
/* and end it all... */
@@ -322,7 +311,6 @@ pidgin_ui_get_info(void) {
static PurpleCoreUiOps core_ops =
{
pidgin_prefs_init,
- debug_init,
pidgin_ui_init,
pidgin_quit,
pidgin_ui_get_info,