comparison src/conversation.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 a2cf3cac7e66
children 37d80035e77f
comparison
equal deleted inserted replaced
2661:5e9a033f04fa 2662:b0c5770156e1
426 GSList *cn = connections; 426 GSList *cn = connections;
427 while (cn) { 427 while (cn) {
428 struct gaim_connection *gc = cn->data; 428 struct gaim_connection *gc = cn->data;
429 cn = cn->next; 429 cn = cn->next;
430 if (gc->prpl->convo_closed) 430 if (gc->prpl->convo_closed)
431 (*gc->prpl->convo_closed)(gc, c->name); 431 gc->prpl->convo_closed(gc, c->name);
432 } 432 }
433 remove_icon(c); 433 remove_icon(c);
434 remove_checkbox(c); 434 remove_checkbox(c);
435 if (im_options & OPT_IM_ONE_WINDOW) { 435 if (im_options & OPT_IM_ONE_WINDOW) {
436 if (g_list_length(conversations) > 1) { 436 if (g_list_length(conversations) > 1) {
1963 else { 1963 else {
1964 menu = gtk_menu_new(); 1964 menu = gtk_menu_new();
1965 1965
1966 while (g) { 1966 while (g) {
1967 c = (struct gaim_connection *)g->data; 1967 c = (struct gaim_connection *)g->data;
1968 g_snprintf(buf, sizeof buf, "%s (%s)", c->username, (*c->prpl->name)()); 1968 g_snprintf(buf, sizeof buf, "%s (%s)", c->username, c->prpl->name());
1969 opt = gtk_menu_item_new_with_label(buf); 1969 opt = gtk_menu_item_new_with_label(buf);
1970 gtk_object_set_user_data(GTK_OBJECT(opt), cnv); 1970 gtk_object_set_user_data(GTK_OBJECT(opt), cnv);
1971 gtk_signal_connect(GTK_OBJECT(opt), "activate", 1971 gtk_signal_connect(GTK_OBJECT(opt), "activate",
1972 GTK_SIGNAL_FUNC(convo_sel_send), c); 1972 GTK_SIGNAL_FUNC(convo_sel_send), c);
1973 gtk_widget_show(opt); 1973 gtk_widget_show(opt);