comparison libpurple/protocols/oscar/oscar.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 3d035cdd103b
children 926ccb104da0 bb2e5f6ff2b4
comparison
equal deleted inserted replaced
18057:23b03396e71e 18058:4ca97b26a8fb
6491 if (acct_id) { 6491 if (acct_id) {
6492 acct = purple_accounts_find(acct_id, prpl); 6492 acct = purple_accounts_find(acct_id, prpl);
6493 if (acct && !purple_account_is_connected(acct)) 6493 if (acct && !purple_account_is_connected(acct))
6494 acct = NULL; 6494 acct = NULL;
6495 } else { /* Otherwise find an active account for the protocol */ 6495 } else { /* Otherwise find an active account for the protocol */
6496 GList *l = purple_accounts_get_all(); 6496 const GList *l = purple_accounts_get_all();
6497 while (l) { 6497 while (l) {
6498 if (!strcmp(prpl, purple_account_get_protocol_id(l->data)) 6498 if (!strcmp(prpl, purple_account_get_protocol_id(l->data))
6499 && purple_account_is_connected(l->data)) { 6499 && purple_account_is_connected(l->data)) {
6500 acct = l->data; 6500 acct = l->data;
6501 break; 6501 break;