[devhelp] Use webkit_web_view_load_uri everywhere (instead of _open)
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [devhelp] Use webkit_web_view_load_uri everywhere (instead of _open)
- Date: Thu, 26 Nov 2009 13:54:29 +0000 (UTC)
commit ca261d9ccbea9d062c97292a6ae5a185f171955a
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Nov 17 19:03:05 2009 +0100
Use webkit_web_view_load_uri everywhere (instead of _open)
src/dh-assistant-view.c | 4 ++--
src/dh-window.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/dh-assistant-view.c b/src/dh-assistant-view.c
index 52da49d..f2aa1ef 100644
--- a/src/dh-assistant-view.c
+++ b/src/dh-assistant-view.c
@@ -203,7 +203,7 @@ dh_assistant_view_set_link (DhAssistantView *view,
if (link) {
link = dh_link_ref (link);
} else {
- webkit_web_view_open (WEBKIT_WEB_VIEW (view), "about:blank");
+ webkit_web_view_load_uri (WEBKIT_WEB_VIEW (view), "about:blank");
return TRUE;
}
@@ -343,7 +343,7 @@ dh_assistant_view_set_link (DhAssistantView *view,
g_free (html);
} else {
- webkit_web_view_open (WEBKIT_WEB_VIEW (view), "about:blank");
+ webkit_web_view_load_uri (WEBKIT_WEB_VIEW (view), "about:blank");
}
#if GLIB_CHECK_VERSION(2,21,3)
diff --git a/src/dh-window.c b/src/dh-window.c
index 2e72371..d1eecbf 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1362,7 +1362,7 @@ window_tree_link_selected_cb (GObject *ignored,
view = window_get_active_web_view (window);
uri = dh_link_get_uri (link);
- webkit_web_view_open (view, uri);
+ webkit_web_view_load_uri (view, uri);
g_free (uri);
window_check_history (window, view);
@@ -1384,7 +1384,7 @@ window_search_link_selected_cb (GObject *ignored,
view = window_get_active_web_view (window);
uri = dh_link_get_uri (link);
- webkit_web_view_open (view, uri);
+ webkit_web_view_load_uri (view, uri);
g_free (uri);
window_check_history (window, view);
@@ -1663,7 +1663,7 @@ window_open_new_tab (DhWindow *window,
if (location) {
webkit_web_view_load_uri (WEBKIT_WEB_VIEW (view), location);
} else {
- webkit_web_view_open (WEBKIT_WEB_VIEW (view), "about:blank");
+ webkit_web_view_load_uri (WEBKIT_WEB_VIEW (view), "about:blank");
}
if (switch_focus) {
@@ -1963,6 +1963,6 @@ _dh_window_display_uri (DhWindow *window,
priv = window->priv;
web_view = window_get_active_web_view (window);
- webkit_web_view_open (web_view, uri);
+ webkit_web_view_load_uri (web_view, uri);
dh_book_tree_select_uri (DH_BOOK_TREE (priv->book_tree), uri);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]