Mercurial > pidgin
view plugins/perl/common/module.h @ 9927:fb08a0973b3e
[gaim-migrate @ 10819]
" Currently, the "loggedin" parameter of
serv_got_update() is of type int and used as a boolean.
I updated it and all references to be gboolean.
I also noticed that "presence" in
gaim_blist_update_buddy_presence() is also a really
boolean. of whether or not the buddy is currently
online. There seemed to be some confusion,
particularly in the silc plugin which tried to use a
GaimBuddyPresenceState (coincidentally (or perhaps not)
GAIM_BUDDY_OFFLINE and GAIM_BUDDY_ONLINE work as FALSE
and TRUE respectively). The value passed to
gaim_blist_update_buddy_presence() doesn't directly
become the buddy presence state and this patch helps
avoid confusion in this respect." --Daniel Atallah
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Wed, 01 Sep 2004 01:07:42 +0000 |
| parents | bf630f7dfdcd |
| children | 134d0001983d |
line wrap: on
line source
typedef struct group *Gaim__Group; #define group perl_group #include <glib.h> #ifdef _WIN32 #undef pipe #endif #include <EXTERN.h> #include <perl.h> #include <XSUB.h> #undef group #include "../perl-common.h" #include "account.h" #include "connection.h" #include "conversation.h" #include "debug.h" #include "server.h" typedef GaimAccount * Gaim__Account; typedef GaimBuddy * Gaim__BuddyList__Buddy; typedef GaimChat * Gaim__BuddyList__Chat; typedef GaimGroup * Gaim__BuddyList__Group; typedef GaimContact * Gaim__BuddyList__Contact; typedef GaimConnection * Gaim__Connection; typedef GaimConversation *Gaim__Conversation; typedef GaimConvChat * Gaim__Conversation__Chat; typedef GaimConvIm * Gaim__Conversation__IM; typedef GaimConvWindow * Gaim__ConvWindow; typedef GaimPlugin * Gaim__Plugin; typedef GaimDebugLevel Gaim__DebugLevel;
