diff src/buddy.c @ 4777:e23a7e166680

[gaim-migrate @ 5097] - a couple compile cleanups - status messages and tooltips won't crash gaim when people put up certain away messages - yahoo status messages will show the current "custom" message instead of the previous one committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 14 Mar 2003 22:49:32 +0000
parents 6219ffd18c63
children b6f33ba0a0c0
line wrap: on
line diff
--- a/src/buddy.c	Fri Mar 14 17:41:41 2003 +0000
+++ b/src/buddy.c	Fri Mar 14 22:49:32 2003 +0000
@@ -358,13 +358,13 @@
 			node = g_value_get_pointer(&val);
 			if (GAIM_BLIST_NODE_IS_BUDDY(node)) {
 				if (position == GTK_TREE_VIEW_DROP_AFTER) {
-					gaim_blist_add_buddy(b, node->parent, node);
+					gaim_blist_add_buddy(b, (struct group *)node->parent, node);
 				} else if (position == GTK_TREE_VIEW_DROP_BEFORE) {
-					gaim_blist_add_buddy(b, node->parent, node->prev);
+					gaim_blist_add_buddy(b, (struct group *)node->parent, node->prev);
 				}
 			} else if (GAIM_BLIST_NODE_IS_GROUP(node)) {
-				gaim_blist_add_buddy(b, node, NULL);
-			}	
+				gaim_blist_add_buddy(b, (struct group *)node, NULL);
+			}
 			gtk_tree_path_free(path);
 		}
 	}