diff src/list.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 2ced57c58653
children 37d80035e77f
line wrap: on
line diff
--- a/src/list.c	Fri Nov 02 00:52:07 2001 +0000
+++ b/src/list.c	Fri Nov 02 01:41:37 2001 +0000
@@ -126,7 +126,7 @@
 	b->present = 0;
 
 	if (gc->prpl->normalize)
-		good = (*gc->prpl->normalize)(buddy);
+		good = gc->prpl->normalize(buddy);
 	else
 		good = buddy;
 
@@ -223,7 +223,7 @@
 			norm = gc->prpl->normalize;
 		else
 			norm = normalize;
-		whoname = g_strdup((*norm)(who));
+		whoname = g_strdup(norm(who));
 		grp = gc->groups;
 		while (grp) {
 			g = (struct group *)grp->data;
@@ -231,7 +231,7 @@
 			mem = g->members;
 			while (mem) {
 				b = (struct buddy *)mem->data;
-				if (!strcmp((*norm)(b->name), whoname)) {
+				if (!strcmp(norm(b->name), whoname)) {
 					g_free(whoname);
 					return g;
 				}
@@ -250,7 +250,7 @@
 				norm = z->prpl->normalize;
 			else
 				norm = normalize;
-			whoname = g_strdup((*norm)(who));
+			whoname = g_strdup(norm(who));
 			grp = z->groups;
 			while (grp) {
 				g = (struct group *)grp->data;
@@ -258,7 +258,7 @@
 				mem = g->members;
 				while (mem) {
 					b = (struct buddy *)mem->data;
-					if (!strcmp((*norm)(b->name), whoname)) {
+					if (!strcmp(norm(b->name), whoname)) {
 						g_free(whoname);
 						return g;
 					}
@@ -291,7 +291,7 @@
 			norm = gc->prpl->normalize;
 		else
 			norm = normalize;
-		whoname = g_strdup((*norm)(who));
+		whoname = g_strdup(norm(who));
 		grp = gc->groups;
 		while (grp) {
 			g = (struct group *)grp->data;
@@ -299,7 +299,7 @@
 			mem = g->members;
 			while (mem) {
 				b = (struct buddy *)mem->data;
-				if (!strcmp((*norm)(b->name), whoname)) {
+				if (!strcmp(norm(b->name), whoname)) {
 					g_free(whoname);
 					return b;
 				}
@@ -317,7 +317,7 @@
 				norm = z->prpl->normalize;
 			else
 				norm = normalize;
-			whoname = g_strdup((*norm)(who));
+			whoname = g_strdup(norm(who));
 			grp = z->groups;
 			while (grp) {
 				g = (struct group *)grp->data;
@@ -325,7 +325,7 @@
 				mem = g->members;
 				while (mem) {
 					b = (struct buddy *)mem->data;
-					if (!strcmp((*norm)(b->name), whoname)) {
+					if (!strcmp(norm(b->name), whoname)) {
 						g_free(whoname);
 						return b;
 					}