diff src/prpl.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 f00549786a9c
children 757688c301b5
line wrap: on
line diff
--- a/src/prpl.c	Fri Nov 02 00:52:07 2001 +0000
+++ b/src/prpl.c	Fri Nov 02 01:41:37 2001 +0000
@@ -92,7 +92,7 @@
 			char buf[256];
 			g_snprintf(buf, sizeof buf, _("%s was using %s, which got removed."
 						      " %s is now offline."), g->username,
-				   (*p->name)(), g->username);
+				   p->name(), g->username);
 			do_error_dialog(buf, _("Disconnect"));
 			signoff(g);
 			c = connections;
@@ -235,7 +235,7 @@
 static void proto_act(GtkObject *obj, struct gaim_connection *gc)
 {
 	char *act = gtk_object_get_user_data(obj);
-	(*gc->prpl->do_action)(gc, act);
+	gc->prpl->do_action(gc, act);
 }
 
 void do_proto_menu()
@@ -282,7 +282,7 @@
 			c = g_slist_next(c);
 		}
 
-		tmp = act = (*gc->prpl->actions)();
+		tmp = act = gc->prpl->actions();
 
 		while (act) {
 			if (act->data == NULL) {
@@ -311,7 +311,7 @@
 				continue;
 			}
 
-			g_snprintf(buf, sizeof(buf), "%s (%s)", gc->username, (*gc->prpl->name)());
+			g_snprintf(buf, sizeof(buf), "%s (%s)", gc->username, gc->prpl->name());
 			menuitem = gtk_menu_item_new_with_label(buf);
 			gtk_menu_append(GTK_MENU(protomenu), menuitem);
 			gtk_widget_show(menuitem);
@@ -320,7 +320,7 @@
 			gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), submenu);
 			gtk_widget_show(submenu);
 
-			tmp = act = (*gc->prpl->actions)();
+			tmp = act = gc->prpl->actions();
 
 			while (act) {
 				if (act->data == NULL) {