Mercurial > pidgin.yaz
diff src/connection.h @ 9221:8054855f2bb9
[gaim-migrate @ 10017]
a yahoo japan patch from wing:
1. Recognize ISO2022 in Subject header
2. Go to mail.yahoo.co.jp if account is marked as
"Yahoo Japan"
3. Make profiles.yahoo.co.jp a #define and use it in
yahoo_profile.c
I poked at it myself some too, to make it give the right profile url
in the get info box for yahoo japan.
I also added a new macro to connection.h to check if a connection is valid.
I'm not very good at macros, however, and used its argument twice. Someone
should fix that :)
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Sun, 06 Jun 2004 18:45:06 +0000 |
parents | 812e7aa7eafa |
children | e4a27c9aec4c |
line wrap: on
line diff
--- a/src/connection.h Sun Jun 06 18:01:32 2004 +0000 +++ b/src/connection.h Sun Jun 06 18:45:06 2004 +0000 @@ -269,6 +269,13 @@ */ GList *gaim_connections_get_connecting(void); +/** + * Checks if gc is still a valid pointer to a gc. + * + * @return @c TRUE if gc is valid. + */ +#define GAIM_CONNECTION_IS_VALID(gc) (g_list_find(gaim_connections_get_all(), (gc)) || g_list_find(gaim_connections_get_connecting(), (gc))) + /*@}*/ /**************************************************************************/