Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
29915:f5d753b3d01d | 29919:10c2702ecfff |
---|---|
8020 prpl_info = plugin ? PURPLE_PLUGIN_PROTOCOL_INFO(plugin) : NULL; | 8020 prpl_info = plugin ? PURPLE_PLUGIN_PROTOCOL_INFO(plugin) : NULL; |
8021 | 8021 |
8022 if (prpl_info && | 8022 if (prpl_info && |
8023 (PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl_info, get_moods) || | 8023 (PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl_info, get_moods) || |
8024 PURPLE_PLUGIN_HAS_ACTIONS(plugin))) { | 8024 PURPLE_PLUGIN_HAS_ACTIONS(plugin))) { |
8025 if (PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl_info, get_moods)) { | 8025 if (PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl_info, get_moods) && |
8026 prpl_info->get_moods(account) != NULL) { | |
8026 GList *types; | 8027 GList *types; |
8028 | |
8027 for (types = purple_account_get_status_types(account); | 8029 for (types = purple_account_get_status_types(account); |
8028 types != NULL ; types = types->next) { | 8030 types != NULL ; types = types->next) { |
8029 PurpleStatusType *type = types->data; | 8031 PurpleStatusType *type = types->data; |
8030 | 8032 |
8031 if (strcmp(purple_status_type_get_id(type), "mood") != 0) | 8033 if (strcmp(purple_status_type_get_id(type), "mood") != 0) |