pidgin/gtkwebview.c

changeset 33024
f333698c4652
parent 33023
35de4c169b1a
child 33025
74cd56966dbc
equal deleted inserted replaced
33023:35de4c169b1a 33024:f333698c4652
624 webkit_web_view_load_string(WEBKIT_WEB_VIEW(webview), html_imged, NULL, 624 webkit_web_view_load_string(WEBKIT_WEB_VIEW(webview), html_imged, NULL,
625 NULL, "file:///"); 625 NULL, "file:///");
626 g_free(html_imged); 626 g_free(html_imged);
627 } 627 }
628 628
629 /* this is a "hack", my plan is to eventually handle this
630 * correctly using a signals and a plugin: the plugin will have
631 * the information as to what javascript function to call. It seems
632 * wrong to hardcode that here.
633 */
634 void 629 void
635 gtk_webview_append_html(GtkWebView *webview, const char *html) 630 gtk_webview_append_html(GtkWebView *webview, const char *html)
636 { 631 {
637 GtkWebViewPriv *priv = GTK_WEBVIEW_GET_PRIVATE(webview); 632 GtkWebViewPriv *priv = GTK_WEBVIEW_GET_PRIVATE(webview);
638 WebKitDOMDocument *doc; 633 WebKitDOMDocument *doc;

mercurial