diff src/buddy.c @ 2662:b0c5770156e1

[gaim-migrate @ 2675] everything changed! not really. actually to be quite honest nothing changed. it's really bad that all of these files use prpl references. most of them shouldn't. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 02 Nov 2001 01:41:37 +0000
parents 671c3a6a2c12
children 44773c4b0f16
line wrap: on
line diff
--- a/src/buddy.c	Fri Nov 02 00:52:07 2001 +0000
+++ b/src/buddy.c	Fri Nov 02 01:41:37 2001 +0000
@@ -164,7 +164,7 @@
 				if ((bs = find_buddy_show(new_gs, b->name)) == NULL) {
 					if (g->gc->prpl->list_icon) {
 						bs = new_buddy_show(new_gs, b,
-								    (*g->gc->prpl->list_icon)(b->uc));
+								    g->gc->prpl->list_icon(b->uc));
 					} else {
 						bs = new_buddy_show(new_gs, b, (char **)no_icon_xpm);
 					}
@@ -217,7 +217,7 @@
 					}
 					if (g->gc->prpl->list_icon) {
 						bs = new_buddy_show(new_gs, b,
-								    (*g->gc->prpl->list_icon)(b->uc));
+								    g->gc->prpl->list_icon(b->uc));
 					} else {
 						bs = new_buddy_show(new_gs, b, (char **)no_icon_xpm);
 					}
@@ -640,7 +640,7 @@
 			while (cn) {
 				g = (struct gaim_connection *)cn->data;
 				if (g->prpl->buddy_menu) {
-					GList *mo = (*g->prpl->buddy_menu)(g, b->name);
+					GList *mo = g->prpl->buddy_menu(g, b->name);
 
 					menuitem = gtk_menu_item_new_with_label(g->username);
 					gtk_menu_append(GTK_MENU(menu), menuitem);
@@ -669,7 +669,7 @@
 		} else {
 			g = (struct gaim_connection *)cn->data;
 			if (g->prpl->buddy_menu) {
-				GList *mo = (*g->prpl->buddy_menu)(g, b->name);
+				GList *mo = g->prpl->buddy_menu(g, b->name);
 
 				while (mo) {
 					struct proto_buddy_menu *pbm = mo->data;
@@ -949,7 +949,7 @@
 					if (!bs) {
 						if (gc->prpl->list_icon)
 							bs = new_buddy_show(gs, b,
-									    (*gc->prpl->list_icon)(b->
+									    gc->prpl->list_icon(b->
 												   uc));
 						else
 							bs = new_buddy_show(gs, b, (char **)no_icon_xpm);
@@ -2082,7 +2082,7 @@
 			bs->sound = 2;
 		} else if (bs->log_timer == 0) {
 			if (gc->prpl->list_icon)
-				xpm = (*gc->prpl->list_icon)(b->uc);
+				xpm = gc->prpl->list_icon(b->uc);
 			if (xpm == NULL)
 				xpm = (char **)no_icon_xpm;
 			pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm, NULL, xpm);