comparison src/conversation.c @ 2345:a49e8f1afbc4

[gaim-migrate @ 2358] you say potato, i say potato you say tomato, i say tomato potato, potato tomato, tomato let's call the whole thing off. *sigh*. it just doesn't work as well when it's typed. but you wouldn't want to hear me sing it. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 22 Sep 2001 09:14:27 +0000
parents b16642ac87b2
children 08c66712364c
comparison
equal deleted inserted replaced
2344:19ea44f74a88 2345:a49e8f1afbc4
845 gtk_widget_grab_focus(c->entry); 845 gtk_widget_grab_focus(c->entry);
846 846
847 { 847 {
848 char *buffy = g_strdup(buf); 848 char *buffy = g_strdup(buf);
849 enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send; 849 enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send;
850 int plugin_return = plugin_event(evnt, c->gc, c->name, &buffy, 0); 850 int plugin_return = plugin_event(evnt, c->gc,
851 c->is_chat ? (void *)c->id : c->name,
852 &buffy, 0);
851 if (!buffy) { 853 if (!buffy) {
852 g_free(buf2); 854 g_free(buf2);
853 g_free(buf); 855 g_free(buf);
854 return; 856 return;
855 } 857 }