From 28d99a055c87d0b224ee8dadd3f8c95b50ce43d0 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Fri, 26 Aug 2011 14:46:09 +0300 Subject: Use EphyBrowseHistory to store page titles --- embed/ephy-web-view.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'embed/ephy-web-view.c') 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); } -- cgit v1.2.3