changeset 25320:4d19a03b72e6

Another one the cast fixer breaks.
author Richard Laager <rlaager@wiktel.com>
date Fri, 14 Nov 2008 05:43:25 +0000
parents c3ca613ab550
children 0cab719ae10e
files pidgin/gtkdialogs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c	Fri Nov 14 05:38:20 2008 +0000
+++ b/pidgin/gtkdialogs.c	Fri Nov 14 05:43:25 2008 +0000
@@ -1056,8 +1056,8 @@
 	g_return_if_fail(contact != NULL);
 	g_return_if_fail(buddy != NULL);
 
-	if (((PurpleBlistNode*)contact)->child == (PurpleBlistNode*)buddy &&
-			!((PurpleBlistNode*)buddy)->next) {
+	if (PURPLE_BLIST_NODE(contact)->child == PURPLE_BLIST_NODE(buddy) &&
+			!(PURPLE_BLIST_NODE(buddy)->next) {
 		pidgin_dialogs_remove_buddy(buddy);
 	} else {
 		gchar *text;