changeset 4414:04d2e57b22c5

[gaim-migrate @ 4687] fix empty add buddy pounce dialog from the right-click menu committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 25 Jan 2003 23:20:06 +0000
parents a00bfe984e7e
children c90039137172
files src/buddy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Sat Jan 25 23:12:50 2003 +0000
+++ b/src/buddy.c	Sat Jan 25 23:20:06 2003 +0000
@@ -562,7 +562,7 @@
 		button = gtk_menu_item_new_with_label(_("Add Buddy Pounce"));
 		g_signal_connect(GTK_OBJECT(button), "activate",
 				   G_CALLBACK(new_bp_callback),
-				   cn ? find_buddy(cn->data, b->name) : NULL);
+				   cn ? find_buddy(((struct gaim_connection *)cn->data)->user, b->name) : NULL);
 		gtk_menu_append(GTK_MENU(menu), button);
 		gtk_widget_show(button);