comparison src/conversation.c @ 2239:b7ff2ca1d653

[gaim-migrate @ 2249] hi tKirin committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 07 Sep 2001 18:19:56 +0000
parents 8c4ff1a368bd
children 31157c54fe6e
comparison
equal deleted inserted replaced
2238:5c4c5d757366 2239:b7ff2ca1d653
858 858
859 buffy = g_strdup(buf); 859 buffy = g_strdup(buf);
860 plugin_event(event_im_displayed_sent, c->gc, c->name, &buffy, 0); 860 plugin_event(event_im_displayed_sent, c->gc, c->name, &buffy, 0);
861 if (buffy) { 861 if (buffy) {
862 int imflags = 0; 862 int imflags = 0;
863 if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(c->check))) 863 if (c->check && gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(c->check)))
864 imflags = IM_FLAG_CHECKBOX; 864 imflags = IM_FLAG_CHECKBOX;
865 err = serv_send_im(c->gc, c->name, buffy, imflags); 865 err = serv_send_im(c->gc, c->name, buffy, imflags);
866 g_free(buffy); 866 g_free(buffy);
867 } 867 }
868 868