Mercurial > pidgin.yaz
comparison pidgin/gtklog.c @ 25308:673abaf19f6e
Another small struct hiding change.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 02 Nov 2008 21:54:52 +0000 |
parents | 2e179c60f8c9 |
children | 6e1967b0f90b |
comparison
equal
deleted
inserted
replaced
25307:237924975f94 | 25308:673abaf19f6e |
---|---|
761 } | 761 } |
762 | 762 |
763 for (child = purple_blist_node_get_first_child((PurpleBlistNode*)contact) ; | 763 for (child = purple_blist_node_get_first_child((PurpleBlistNode*)contact) ; |
764 child != NULL ; | 764 child != NULL ; |
765 child = purple_blist_node_get_sibling_next(child)) { | 765 child = purple_blist_node_get_sibling_next(child)) { |
766 const char *buddy_name; | |
767 PurpleAccount *account; | |
768 | |
766 if (!PURPLE_BLIST_NODE_IS_BUDDY(child)) | 769 if (!PURPLE_BLIST_NODE_IS_BUDDY(child)) |
767 continue; | 770 continue; |
768 | 771 |
769 logs = g_list_concat(purple_log_get_logs(PURPLE_LOG_IM, ((PurpleBuddy *)child)->name, | 772 buddy_name = purple_buddy_get_name((PurpleBuddy *)child); |
770 ((PurpleBuddy *)child)->account), logs); | 773 account = purple_buddy_get_account((PurpleBuddy *)child); |
771 total_log_size += purple_log_get_total_size(PURPLE_LOG_IM, ((PurpleBuddy *)child)->name, ((PurpleBuddy *)child)->account); | 774 logs = g_list_concat(purple_log_get_logs(PURPLE_LOG_IM, buddy_name, account), logs); |
775 total_log_size += purple_log_get_total_size(PURPLE_LOG_IM, buddy_name, account); | |
772 } | 776 } |
773 logs = g_list_sort(logs, purple_log_compare); | 777 logs = g_list_sort(logs, purple_log_compare); |
774 | 778 |
775 image = gtk_image_new(); | 779 image = gtk_image_new(); |
776 pixbuf = gtk_widget_render_icon(image, PIDGIN_STOCK_STATUS_PERSON, | 780 pixbuf = gtk_widget_render_icon(image, PIDGIN_STOCK_STATUS_PERSON, |