pidgin.next.minor: f3bb9458: Another small struct hiding change.
rlaager at pidgin.im
rlaager at pidgin.im
Sun Nov 2 17:00:48 EST 2008
-----------------------------------------------------------------
Revision: f3bb9458fa15c80c60545652e3145916f069d494
Ancestor: 767e27764fc328b2768ea7715850c1d81899c059
Author: rlaager at pidgin.im
Date: 2008-11-02T21:54:52
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/f3bb9458fa15c80c60545652e3145916f069d494
Modified files:
pidgin/gtklog.c
ChangeLog:
Another small struct hiding change.
-------------- next part --------------
============================================================
--- pidgin/gtklog.c 1016fee2670b338ceddcf6e29c9585e63d3dc5b7
+++ pidgin/gtklog.c 488c4ae43d730f2a3707caf2d9c0a7a75ff7b320
@@ -763,12 +763,16 @@ void pidgin_log_show_contact(PurpleConta
for (child = purple_blist_node_get_first_child((PurpleBlistNode*)contact) ;
child != NULL ;
child = purple_blist_node_get_sibling_next(child)) {
+ const char *buddy_name;
+ PurpleAccount *account;
+
if (!PURPLE_BLIST_NODE_IS_BUDDY(child))
continue;
- logs = g_list_concat(purple_log_get_logs(PURPLE_LOG_IM, ((PurpleBuddy *)child)->name,
- ((PurpleBuddy *)child)->account), logs);
- total_log_size += purple_log_get_total_size(PURPLE_LOG_IM, ((PurpleBuddy *)child)->name, ((PurpleBuddy *)child)->account);
+ buddy_name = purple_buddy_get_name((PurpleBuddy *)child);
+ account = purple_buddy_get_account((PurpleBuddy *)child);
+ logs = g_list_concat(purple_log_get_logs(PURPLE_LOG_IM, buddy_name, account), logs);
+ total_log_size += purple_log_get_total_size(PURPLE_LOG_IM, buddy_name, account);
}
logs = g_list_sort(logs, purple_log_compare);
More information about the Commits
mailing list