Mercurial > pidgin.yaz
diff src/buddy_chat.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 | 7a3f7aebd4e5 |
children | 0e6d113bb8cd |
line wrap: on
line diff
--- a/src/buddy_chat.c Fri Nov 02 00:52:07 2001 +0000 +++ b/src/buddy_chat.c Fri Nov 02 01:41:37 2001 +0000 @@ -141,7 +141,7 @@ g_list_free(chatentries); chatentries = NULL; - tmp = list = (*joinchatgc->prpl->chat_info)(joinchatgc); + tmp = list = joinchatgc->prpl->chat_info(joinchatgc); while (list) { GtkWidget *label; GtkWidget *rowbox; @@ -217,7 +217,7 @@ continue; if (!joinchatgc) joinchatgc = g; - g_snprintf(buf, sizeof buf, "%s (%s)", g->username, (*g->prpl->name)()); + g_snprintf(buf, sizeof buf, "%s (%s)", g->username, g->prpl->name()); opt = gtk_menu_item_new_with_label(buf); gtk_object_set_user_data(GTK_OBJECT(opt), g); gtk_signal_connect(GTK_OBJECT(opt), "activate", GTK_SIGNAL_FUNC(joinchat_choose), g); @@ -806,7 +806,7 @@ static void chat_press_info(GtkObject *obj, struct conversation *b) { if (b->gc) - (*b->gc->prpl->get_info)(b->gc, gtk_object_get_user_data(obj)); + b->gc->prpl->get_info(b->gc, gtk_object_get_user_data(obj)); } static gint right_click_chat(GtkObject *obj, GdkEventButton *event, struct conversation *b)