[evolution] Remove unused e_web_view_frame_get_uri().



commit 20d7939ca37ce5919e1839c9dda2dcd8c4b6e887
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Jul 22 14:29:48 2013 -0400

    Remove unused e_web_view_frame_get_uri().

 .../evolution-util/evolution-util-sections.txt     |    1 -
 e-util/e-web-view.c                                |   22 --------------------
 e-util/e-web-view.h                                |    2 -
 3 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt 
b/doc/reference/evolution-util/evolution-util-sections.txt
index a6cde4c..de1fa28 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4357,7 +4357,6 @@ e_web_view_load_string
 e_web_view_load_uri
 e_web_view_get_uri
 e_web_view_reload
-e_web_view_frame_get_uri
 e_web_view_get_html
 e_web_view_get_caret_mode
 e_web_view_set_caret_mode
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index d09e1df..2a28a2b 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 26544f6..7a6ca8b 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]