comparison pidgin/gtkstatusbox.c @ 18058:4ca97b26a8fb

Mark the return type const for the following functions. I noticed this while fixing some DBus stuff which I'll commit shortly. * purple_accounts_get_all * purple_connections_get_all * purple_connections_get_connecting * purple_conv_chat_get_ignored * purple_conv_chat_get_users * purple_get_chats * purple_get_conversations * purple_get_ims * purple_notify_user_info_get_entries References #1344
author Richard Laager <rlaager@wiktel.com>
date Thu, 07 Jun 2007 04:22:42 +0000
parents e7595d13fd63
children 926ccb104da0 02f39842d28b
comparison
equal deleted inserted replaced
18057:23b03396e71e 18058:4ca97b26a8fb
1432 1432
1433 purple_account_set_bool(box->account, "use-global-buddyicon", (filename != NULL)); 1433 purple_account_set_bool(box->account, "use-global-buddyicon", (filename != NULL));
1434 } 1434 }
1435 } 1435 }
1436 } else { 1436 } else {
1437 GList *accounts; 1437 const GList *accounts;
1438 for (accounts = purple_accounts_get_all(); accounts != NULL; accounts = accounts->next) { 1438 for (accounts = purple_accounts_get_all(); accounts != NULL; accounts = accounts->next) {
1439 PurpleAccount *account = accounts->data; 1439 PurpleAccount *account = accounts->data;
1440 PurplePlugin *plug = purple_find_prpl(purple_account_get_protocol_id(account)); 1440 PurplePlugin *plug = purple_find_prpl(purple_account_get_protocol_id(account));
1441 if (plug) { 1441 if (plug) {
1442 PurplePluginProtocolInfo *prplinfo = PURPLE_PLUGIN_PROTOCOL_INFO(plug); 1442 PurplePluginProtocolInfo *prplinfo = PURPLE_PLUGIN_PROTOCOL_INFO(plug);