Mercurial > pidgin
comparison libpurple/prpl.h @ 29530:9f6a657af957
Allow showing moods for buddies when signed on using an XMPP account not
supporting PEP.
Also remove the mentioning of return NULL for _get_moods to indicate not
supporting setting moods on an account, since there is now a connection flag
for it, and an account can receive moods even though it can't set them (in the
XMPP case).
Also fixes a crash in buddy tooltip.
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Thu, 04 Mar 2010 22:35:32 +0000 |
parents | 6bcf405d5c63 |
children | 25a53c299713 |
comparison
equal
deleted
inserted
replaced
29529:3e5bb4e2334c | 29530:9f6a657af957 |
---|---|
570 PurpleMediaCaps (*get_media_caps)(PurpleAccount *account, | 570 PurpleMediaCaps (*get_media_caps)(PurpleAccount *account, |
571 const char *who); | 571 const char *who); |
572 | 572 |
573 /** | 573 /** |
574 * Returns an array of "PurpleMood"s, with the last one having | 574 * Returns an array of "PurpleMood"s, with the last one having |
575 * "mood" set to @c NULL, or NULL if the account does not support setting | 575 * "mood" set to @c NULL. |
576 * a mood. | |
577 */ | 576 */ |
578 PurpleMood *(*get_moods)(PurpleAccount *account); | 577 PurpleMood *(*get_moods)(PurpleAccount *account); |
579 }; | 578 }; |
580 | 579 |
581 #define PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl, member) \ | 580 #define PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl, member) \ |