pidgin/plugins/xmppconsole.c

branch
soc.2013.gobjectification.plugins
changeset 36633
2dcb81a189bd
parent 36626
18fc361b3704
child 36637
9b0109ae118d
equal deleted inserted replaced
36632:1f0650e7b1b5 36633:2dcb81a189bd
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

mercurial