diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-23 02:20:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-27 14:16:52 +0800 |
commit | 7ed095eefd7016c66e27296ada3807d380d974e4 (patch) | |
tree | 9a29b06e9ecfa6166980cff7f61c40bb188135a1 /e-util | |
parent | c5c6c39c0600bab0ecb1d7933119ede37bd257df (diff) | |
download | gsoc2013-evolution-7ed095eefd7016c66e27296ada3807d380d974e4.tar.gz gsoc2013-evolution-7ed095eefd7016c66e27296ada3807d380d974e4.tar.zst gsoc2013-evolution-7ed095eefd7016c66e27296ada3807d380d974e4.zip |
Remove unused e_web_view_frame_load_string().
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-web-view.c | 40 | ||||
-rw-r--r-- | e-util/e-web-view.h | 6 |
2 files changed, 0 insertions, 46 deletions
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c index 5e2519a729..a0462c3bda 100644 --- a/e-util/e-web-view.c +++ b/e-util/e-web-view.c @@ -1081,29 +1081,6 @@ web_view_load_uri (EWebView *web_view, } static void -web_view_frame_load_string (EWebView *web_view, - const gchar *frame_name, - const gchar *string) -{ - WebKitWebFrame *main_frame; - - if (string == NULL) - string = ""; - - main_frame = webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (web_view)); - if (main_frame != NULL) { - WebKitWebFrame *frame; - - frame = webkit_web_frame_find_frame (main_frame, frame_name); - - if (frame != NULL) - webkit_web_frame_load_string ( - frame, string, "text/html", - "UTF-8", "evo-file:///"); - } -} - -static void web_view_frame_load_uri (EWebView *web_view, const gchar *frame_name, const gchar *uri) @@ -1411,7 +1388,6 @@ e_web_view_class_init (EWebViewClass *class) class->link_clicked = web_view_link_clicked; class->load_string = web_view_load_string; class->load_uri = web_view_load_uri; - class->frame_load_string = web_view_frame_load_string; class->frame_load_uri = web_view_frame_load_uri; class->popup_event = web_view_popup_event; class->stop_loading = web_view_stop_loading; @@ -1874,22 +1850,6 @@ e_web_view_get_uri (EWebView *web_view) } void -e_web_view_frame_load_string (EWebView *web_view, - const gchar *frame_name, - const gchar *string) -{ - EWebViewClass *class; - - g_return_if_fail (E_IS_WEB_VIEW (web_view)); - g_return_if_fail (frame_name != NULL); - - class = E_WEB_VIEW_GET_CLASS (web_view); - g_return_if_fail (class->frame_load_string != NULL); - - class->frame_load_string (web_view, frame_name, string); -} - -void e_web_view_frame_load_uri (EWebView *web_view, const gchar *frame_name, const gchar *uri) diff --git a/e-util/e-web-view.h b/e-util/e-web-view.h index ea7676a307..17b865b811 100644 --- a/e-util/e-web-view.h +++ b/e-util/e-web-view.h @@ -80,9 +80,6 @@ struct _EWebViewClass { const gchar *load_string); void (*load_uri) (EWebView *web_view, const gchar *load_uri); - void (*frame_load_string) (EWebView *web_view, - const gchar *frame_name, - const gchar *string); void (*frame_load_uri) (EWebView *web_view, const gchar *frame_name, const gchar *uri); @@ -110,9 +107,6 @@ void e_web_view_load_uri (EWebView *web_view, const gchar *uri); const gchar * e_web_view_get_uri (EWebView *web_view); void e_web_view_reload (EWebView *web_view); -void e_web_view_frame_load_string (EWebView *web_view, - const gchar *frame_name, - const gchar *string); void e_web_view_frame_load_uri (EWebView *web_view, const gchar *frame_name, const gchar *uri); |