diff src/prefs.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 f04705b6dca7
children cfe797cf62ef
line wrap: on
line diff
--- a/src/prefs.c	Fri Nov 02 00:52:07 2001 +0000
+++ b/src/prefs.c	Fri Nov 02 01:41:37 2001 +0000
@@ -2117,7 +2117,7 @@
 		c = c->next;
 		if (!gc->prpl->set_permit_deny)
 			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());
 		opt = gtk_menu_item_new_with_label(buf);
 		gtk_signal_connect(GTK_OBJECT(opt), "activate", GTK_SIGNAL_FUNC(deny_gc_opt), gc);
 		gtk_widget_show(opt);
@@ -2341,7 +2341,7 @@
 	/* this is a hack */
 	void (*func)();
 	func = gtk_ctree_node_get_row_data(ctree, node);
-	(*func)();
+	func();
 }
 
 void show_prefs()