diff pidgin/gtkpounce.c @ 32804:b6276b10cb10

Use the PurpleBuddy accessor functions.
author andrew.victor@mxit.com
date Sun, 30 Oct 2011 21:46:51 +0000
parents 2ec94166be43
children
line wrap: on
line diff
--- a/pidgin/gtkpounce.c	Sun Oct 30 16:54:03 2011 +0000
+++ b/pidgin/gtkpounce.c	Sun Oct 30 21:46:51 2011 +0000
@@ -427,9 +427,9 @@
 
 		dialog = (PidginPounceDialog *)data;
 
-		gtk_entry_set_text(GTK_ENTRY(dialog->buddy_entry), buddy->name);
-		dialog->account = buddy->account;
-		pidgin_account_option_menu_set_selected(dialog->account_menu, buddy->account);
+		gtk_entry_set_text(GTK_ENTRY(dialog->buddy_entry), purple_buddy_get_name(buddy));
+		dialog->account = purple_buddy_get_account(buddy);
+		pidgin_account_option_menu_set_selected(dialog->account_menu, purple_buddy_get_account(buddy));
 
 		gtk_drag_finish(dc, TRUE, (dc->action == GDK_ACTION_MOVE), t);
 	}