pidgin.next.minor: be585407: Another one the cast fixer breaks.

rlaager at pidgin.im rlaager at pidgin.im
Fri Nov 14 01:10:33 EST 2008


-----------------------------------------------------------------
Revision: be5854076f1ec76b372e1e5a289f2df21547336b
Ancestor: d529df5d98a33b624f6e3c00c328732f16110ed6
Author: rlaager at pidgin.im
Date: 2008-11-14T05:43:25
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/be5854076f1ec76b372e1e5a289f2df21547336b

Modified files:
        pidgin/gtkdialogs.c

ChangeLog: 

Another one the cast fixer breaks.

-------------- next part --------------
============================================================
--- pidgin/gtkdialogs.c	f9320a36d974fd8cfc43738c401a1c307b963776
+++ pidgin/gtkdialogs.c	354235d3a6a6de8aa38afe507e58efdfd5b39a84
@@ -1056,8 +1056,8 @@ pidgin_dialogs_remove_contact(PurpleCont
 	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;


More information about the Commits mailing list