Mercurial > pidgin
changeset 13683:59a86d70825b
[gaim-migrate @ 16086]
If we're going to support crappy stalker-enablement plugins, we should
at least make an effort to ensure that they don't require C99.
This removes a variadic macro (DEBUG_INFO) from psychic.c by:
%s/DEBUG_INFO(/gaim_debug_info("psychic", /
There were only three occurrences of the DEBUG_INFO macro, so this
isn't a big deal.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 23 Apr 2006 22:05:14 +0000 |
parents | 48c261f76657 |
children | a104ce6e2cca |
files | plugins/psychic.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/psychic.c Sun Apr 23 03:44:58 2006 +0000 +++ b/plugins/psychic.c Sun Apr 23 22:05:14 2006 +0000 @@ -15,9 +15,6 @@ #include "prefs.h" -#define DEBUG_INFO(a...) gaim_debug_info("psychic", a) - - #define PLUGIN_ID "core-psychic" #define PLUGIN_NAME N_("Psychic Mode") #define PLUGIN_SUMMARY N_("Psychic mode for incoming conversation") @@ -39,19 +36,19 @@ if(gaim_prefs_get_bool(PREF_STATUS) && ! gaim_status_is_available(gaim_account_get_active_status(acct))) { - DEBUG_INFO("not available, doing nothing\n"); + gaim_debug_info("psychic", "not available, doing nothing\n"); return; } if(gaim_prefs_get_bool(PREF_BUDDIES) && ! gaim_find_buddy(acct, name)) { - DEBUG_INFO("not in blist, doing nothing\n"); + gaim_debug_info("psychic", "not in blist, doing nothing\n"); return; } gconv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, name, acct); if(! gconv) { - DEBUG_INFO("no previous conversation exists\n"); + gaim_debug_info("psychic", "no previous conversation exists\n"); gconv = gaim_conversation_new(GAIM_CONV_TYPE_IM, acct, name); gaim_conversation_present(gconv);