diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2011-08-26 19:46:09 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-03-07 04:49:43 +0800 |
commit | 28d99a055c87d0b224ee8dadd3f8c95b50ce43d0 (patch) | |
tree | 379cc13469e983394f03e4fd6e06f279f89cc50d /embed/ephy-web-view.c | |
parent | 3597b89cb336a7251ed777bd08ab6b06f33db29b (diff) | |
download | gsoc2013-epiphany-28d99a055c87d0b224ee8dadd3f8c95b50ce43d0.tar.gz gsoc2013-epiphany-28d99a055c87d0b224ee8dadd3f8c95b50ce43d0.tar.zst gsoc2013-epiphany-28d99a055c87d0b224ee8dadd3f8c95b50ce43d0.zip |
Use EphyBrowseHistory to store page titles
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 6d082b4f1..9b432885c 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -24,6 +24,7 @@ #include "ephy-web-view.h" #include "ephy-debug.h" +#include "ephy-browse-history.h" #include "ephy-embed-container.h" #include "ephy-embed-prefs.h" #include "ephy-embed-shell.h" @@ -1065,7 +1066,7 @@ title_changed_cb (WebKitWebView *web_view, const char *uri; char *title; WebKitWebFrame *frame; - EphyHistory *history = EPHY_HISTORY (ephy_embed_shell_get_global_history (ephy_embed_shell_get_default ())); + EphyBrowseHistory *browse_history = EPHY_BROWSE_HISTORY (ephy_embed_shell_get_global_browse_history (ephy_embed_shell_get_default ())); g_object_get (web_view, "title", &title, NULL); @@ -1074,9 +1075,7 @@ title_changed_cb (WebKitWebView *web_view, frame = webkit_web_view_get_main_frame (web_view); uri = webkit_web_frame_get_uri (frame); - ephy_history_set_page_title (history, - uri, - title); + ephy_browse_history_set_page_title (browse_history, uri, title); g_free (title); } |