pidgin/gtkwebview.c

changeset 35194
9a0203562da5
parent 35129
22dca763eeef
child 35322
9f6d0e63e80a
equal deleted inserted replaced
35193:11152544c1e0 35194:9a0203562da5
25 * 25 *
26 */ 26 */
27 27
28 #include "internal.h" 28 #include "internal.h"
29 #include "debug.h" 29 #include "debug.h"
30 #include "glibcompat.h"
30 #include "pidgin.h" 31 #include "pidgin.h"
31 32
32 #include <gdk/gdkkeysyms.h> 33 #include <gdk/gdkkeysyms.h>
34
33 #include "gtkutils.h" 35 #include "gtkutils.h"
34 #include "gtkwebview.h" 36 #include "gtkwebview.h"
35 #include "gtkwebviewtoolbar.h" 37 #include "gtkwebviewtoolbar.h"
36 38
37 #include "gtkinternal.h" 39 #include "gtkinternal.h"
1340 range = webkit_dom_dom_selection_get_range_at(sel, 0, NULL); 1342 range = webkit_dom_dom_selection_get_range_at(sel, 0, NULL);
1341 webkit_web_view_select_all(WEBKIT_WEB_VIEW(webview)); 1343 webkit_web_view_select_all(WEBKIT_WEB_VIEW(webview));
1342 } 1344 }
1343 1345
1344 priv->edit.block_changed = TRUE; 1346 priv->edit.block_changed = TRUE;
1345 webkit_dom_document_exec_command(dom, name, FALSE, value); 1347 webkit_dom_document_exec_command(dom, (gchar *)name, FALSE, (gchar *)value);
1346 priv->edit.block_changed = FALSE; 1348 priv->edit.block_changed = FALSE;
1347 1349
1348 if (priv->edit.wbfo) { 1350 if (priv->edit.wbfo) {
1349 if (range) { 1351 if (range) {
1350 webkit_dom_dom_selection_remove_all_ranges(sel); 1352 webkit_dom_dom_selection_remove_all_ranges(sel);

mercurial