Mercurial > pidgin
comparison src/server.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 | 60705fd4f411 |
| children | ced29c7b396c |
comparison
equal
deleted
inserted
replaced
| 9926:b23e70bd1215 | 9927:fb08a0973b3e |
|---|---|
| 83 GaimTypingState state); | 83 GaimTypingState state); |
| 84 void serv_set_buddyicon(GaimConnection *gc, const char *filename); | 84 void serv_set_buddyicon(GaimConnection *gc, const char *filename); |
| 85 void serv_got_typing_stopped(GaimConnection *gc, const char *name); | 85 void serv_got_typing_stopped(GaimConnection *gc, const char *name); |
| 86 void serv_got_im(GaimConnection *gc, const char *who, const char *msg, | 86 void serv_got_im(GaimConnection *gc, const char *who, const char *msg, |
| 87 GaimConvImFlags imflags, time_t mtime); | 87 GaimConvImFlags imflags, time_t mtime); |
| 88 void serv_got_update(GaimConnection *gc, const char *name, int loggedin, | 88 void serv_got_update(GaimConnection *gc, const char *name, gboolean loggedin, |
| 89 int evil, time_t signon, time_t idle, int type); | 89 int evil, time_t signon, time_t idle, int type); |
| 90 void serv_finish_login(GaimConnection *gc); | 90 void serv_finish_login(GaimConnection *gc); |
| 91 void serv_got_chat_invite(GaimConnection *gc, const char *name, | 91 void serv_got_chat_invite(GaimConnection *gc, const char *name, |
| 92 const char *who, const char *message, | 92 const char *who, const char *message, |
| 93 GHashTable *data); | 93 GHashTable *data); |
