pidgin/gtkutils.c

branch
soc.2013.gobjectification.plugins
changeset 36626
18fc361b3704
parent 36625
e6febbd8cbec
child 36633
2dcb81a189bd
equal deleted inserted replaced
36625:e6febbd8cbec 36626:18fc361b3704
1022 1022
1023 if (all_accounts) 1023 if (all_accounts)
1024 { 1024 {
1025 account = (PurpleAccount *)l->data; 1025 account = (PurpleAccount *)l->data;
1026 1026
1027 protocol = purple_find_protocol_info( 1027 protocol = purple_protocols_find(
1028 purple_account_get_protocol_id(account)); 1028 purple_account_get_protocol_id(account));
1029 1029
1030 if (protocol == NULL) 1030 if (protocol == NULL)
1031 { 1031 {
1032 account = NULL; 1032 account = NULL;
1061 1061
1062 if (all_accounts) 1062 if (all_accounts)
1063 { 1063 {
1064 account = (PurpleAccount *)l->data; 1064 account = (PurpleAccount *)l->data;
1065 1065
1066 protocol = purple_find_protocol_info( 1066 protocol = purple_protocols_find(
1067 purple_account_get_protocol_id(account)); 1067 purple_account_get_protocol_id(account));
1068 1068
1069 if (protocol == NULL) 1069 if (protocol == NULL)
1070 { 1070 {
1071 account = NULL; 1071 account = NULL;
1690 { 1690 {
1691 PurpleProtocol *protocol; 1691 PurpleProtocol *protocol;
1692 1692
1693 g_return_val_if_fail(account != NULL, NULL); 1693 g_return_val_if_fail(account != NULL, NULL);
1694 1694
1695 protocol = purple_find_protocol_info(purple_account_get_protocol_id(account)); 1695 protocol = purple_protocols_find(purple_account_get_protocol_id(account));
1696 if (protocol == NULL) 1696 if (protocol == NULL)
1697 return NULL; 1697 return NULL;
1698 return pidgin_create_protocol_icon_from_protocol(protocol, size, account); 1698 return pidgin_create_protocol_icon_from_protocol(protocol, size, account);
1699 } 1699 }
1700 1700

mercurial