src/conversation.c

changeset 2239
d4b42cadb385
parent 2231
9d8593ab093e
child 2245
224ebc6abd96
equal deleted inserted replaced
2238:5c09203ada0f 2239:d4b42cadb385
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

mercurial