| 206 if (gc) |
206 if (gc) |
| 207 protocol = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_protocol(gc)); |
207 protocol = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_protocol(gc)); |
| 208 |
208 |
| 209 text = gtk_webview_get_body_text(GTK_WEBVIEW(widget)); |
209 text = gtk_webview_get_body_text(GTK_WEBVIEW(widget)); |
| 210 |
210 |
| 211 if (protocol && protocol->send_raw != NULL) |
211 if (protocol) |
| 212 purple_protocol_iface_send_raw(protocol, gc, text, strlen(text)); |
212 purple_protocol_iface_send_raw(protocol, gc, text, strlen(text)); |
| 213 |
213 |
| 214 g_free(text); |
214 g_free(text); |
| 215 gtk_webview_load_html_string(GTK_WEBVIEW(console->entry), ""); |
215 gtk_webview_load_html_string(GTK_WEBVIEW(console->entry), ""); |
| 216 |
216 |