Mercurial > pidgin.yaz
diff pidgin/gtkblist.c @ 29919:10c2702ecfff
merged with im.pidgin.pidgin
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 04 Mar 2010 15:19:39 +0900 |
parents | f5d753b3d01d 6bcf405d5c63 |
children | 2292d8896b0b |
line wrap: on
line diff
--- a/pidgin/gtkblist.c Wed Mar 03 01:13:44 2010 +0900 +++ b/pidgin/gtkblist.c Thu Mar 04 15:19:39 2010 +0900 @@ -8022,8 +8022,10 @@ if (prpl_info && (PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl_info, get_moods) || PURPLE_PLUGIN_HAS_ACTIONS(plugin))) { - if (PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl_info, get_moods)) { + if (PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl_info, get_moods) && + prpl_info->get_moods(account) != NULL) { GList *types; + for (types = purple_account_get_status_types(account); types != NULL ; types = types->next) { PurpleStatusType *type = types->data;