diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-23 02:29:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-27 14:16:52 +0800 |
commit | 20d7939ca37ce5919e1839c9dda2dcd8c4b6e887 (patch) | |
tree | ac83e48f311cb0b1ddc6a88a625a42b07c56f1d0 /e-util | |
parent | b997e37bfca13887bbf1fe1d8ab07d953420b94a (diff) | |
download | gsoc2013-evolution-20d7939ca37ce5919e1839c9dda2dcd8c4b6e887.tar.gz gsoc2013-evolution-20d7939ca37ce5919e1839c9dda2dcd8c4b6e887.tar.zst gsoc2013-evolution-20d7939ca37ce5919e1839c9dda2dcd8c4b6e887.zip |
Remove unused e_web_view_frame_get_uri().
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-web-view.c | 22 | ||||
-rw-r--r-- | e-util/e-web-view.h | 2 |
2 files changed, 0 insertions, 24 deletions
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c index d09e1df1d9..2a28a2b011 100644 --- a/e-util/e-web-view.c +++ b/e-util/e-web-view.c @@ -1827,28 +1827,6 @@ e_web_view_get_uri (EWebView *web_view) return webkit_web_view_get_uri (WEBKIT_WEB_VIEW (web_view)); } -const gchar * -e_web_view_frame_get_uri (EWebView *web_view, - const gchar *frame_name) -{ - WebKitWebFrame *main_frame; - - g_return_val_if_fail (E_IS_WEB_VIEW (web_view), NULL); - g_return_val_if_fail (frame_name != NULL, NULL); - - 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) - return webkit_web_frame_get_uri (frame); - } - - return NULL; -} - gchar * e_web_view_get_html (EWebView *web_view) { diff --git a/e-util/e-web-view.h b/e-util/e-web-view.h index 26544f60b7..7a6ca8b1f2 100644 --- a/e-util/e-web-view.h +++ b/e-util/e-web-view.h @@ -104,8 +104,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); -const gchar * e_web_view_frame_get_uri (EWebView *web_view, - const gchar *frame_name); gchar * e_web_view_get_html (EWebView *web_view); gboolean e_web_view_get_caret_mode (EWebView *web_view); void e_web_view_set_caret_mode (EWebView *web_view, |