Mercurial > pidgin
comparison libpurple/protocols/oscar/oscar.h @ 23582:a270bd4b5298
Just a few little cleanups.
* I think we try to pair g_strdup() with g_free(). I don't know if
it actually matters, but theoretically it could.
* Changed this to use g_slist_prepend() when adding stuff to the queue.
* Changed purple_requesticqstatusnote() to check if the linked list is
empty and return TRUE as soon as the list becomes empty rather than
on the next call to that function.
* Don't remove and re-add the timer if it's already set. Unless there
was a reason for that?
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 21 Jul 2008 07:46:23 +0000 |
parents | e8bea84f63b6 |
children | da9cf296733e |
comparison
equal
deleted
inserted
replaced
23581:8c480872b620 | 23582:a270bd4b5298 |
---|---|
542 /** A linked list containing FlapConnections. */ | 542 /** A linked list containing FlapConnections. */ |
543 GSList *oscar_connections; | 543 GSList *oscar_connections; |
544 | 544 |
545 /** A linked list containing PeerConnections. */ | 545 /** A linked list containing PeerConnections. */ |
546 GSList *peer_connections; | 546 GSList *peer_connections; |
547 | 547 |
548 /** Queue of ICQ Status Notes to request. */ | 548 /** Queue of ICQ Status Notes to request. */ |
549 GSList *statusnotes_queue; | 549 GSList *statusnotes_queue; |
550 gint statusnotes_queue_timer; | 550 guint statusnotes_queue_timer; |
551 }; | 551 }; |
552 | 552 |
553 /* Valid for calling aim_icq_setstatus() and for aim_userinfo_t->icqinfo.status */ | 553 /* Valid for calling aim_icq_setstatus() and for aim_userinfo_t->icqinfo.status */ |
554 #define AIM_ICQ_STATE_NORMAL 0x00000000 | 554 #define AIM_ICQ_STATE_NORMAL 0x00000000 |
555 #define AIM_ICQ_STATE_AWAY 0x00000001 | 555 #define AIM_ICQ_STATE_AWAY 0x00000001 |