Mercurial > pidgin.yaz
comparison libpurple/savedstatuses.c @ 32827:4a34689eeb33 default tip
merged from im.pidgin.pidgin
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 19 Nov 2011 14:42:54 +0900 |
parents | f75041cb3fec |
children |
comparison
equal
deleted
inserted
replaced
32692:0f94ec89f0bc | 32827:4a34689eeb33 |
---|---|
401 /* Read the state */ | 401 /* Read the state */ |
402 node = xmlnode_get_child(substatus, "state"); | 402 node = xmlnode_get_child(substatus, "state"); |
403 if ((node != NULL) && ((data = xmlnode_get_data(node)) != NULL)) | 403 if ((node != NULL) && ((data = xmlnode_get_data(node)) != NULL)) |
404 { | 404 { |
405 ret->type = purple_status_type_find_with_id( | 405 ret->type = purple_status_type_find_with_id( |
406 ret->account->status_types, data); | 406 purple_account_get_status_types(ret->account), data); |
407 g_free(data); | 407 g_free(data); |
408 } | 408 } |
409 | 409 |
410 if (ret->type == NULL) | 410 if (ret->type == NULL) |
411 { | 411 { |