Mercurial > pidgin.yaz
diff src/plugin.c @ 5211:0241d6b6702d
[gaim-migrate @ 5581]
Wrote a new debugging API, and of course core/ui split it. Debug statements
can now have debug levels and categories, for future filtering of stuff,
and color highlighting. It's nifty, m'kay?
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 26 Apr 2003 06:46:08 +0000 |
parents | fefad67de2c7 |
children | fd81a00480ac |
line wrap: on
line diff
--- a/src/plugin.c Sat Apr 26 05:31:26 2003 +0000 +++ b/src/plugin.c Sat Apr 26 06:46:08 2003 +0000 @@ -195,8 +195,8 @@ g_module_close(plugin->handle); plugin->handle = NULL; - debug_printf("%s is unloadable %s\n", - plugin->path, g_module_error()); + gaim_debug(GAIM_DEBUG_ERROR, "plugins", "%s is unloadable: %s\n", + plugin->path, g_module_error()); gaim_plugin_destroy(plugin); @@ -292,7 +292,8 @@ g_return_val_if_fail(gaim_plugin_is_loaded(plugin), FALSE); - debug_printf("Unloading plugin %s\n", plugin->info->name); + gaim_debug(GAIM_DEBUG_INFO, "plugins", "Unloading plugin %s\n", + plugin->info->name); /* cancel any pending dialogs the plugin has */ do_ask_cancel_by_handle(plugin);