diff options
author | Xan Lopez <xan@igalia.com> | 2012-03-05 23:57:45 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-03-07 04:49:45 +0800 |
commit | 9666dba09d79cd88777e9066dbdb2ca5b5e7588f (patch) | |
tree | 0ef70074aa9f6bf5875440b6fc371083c9cd47e3 /embed/ephy-web-view.c | |
parent | 222b98ba6644addc080cccbd536d9b90bc27d3ba (diff) | |
download | gsoc2013-epiphany-9666dba09d79cd88777e9066dbdb2ca5b5e7588f.tar gsoc2013-epiphany-9666dba09d79cd88777e9066dbdb2ca5b5e7588f.tar.gz gsoc2013-epiphany-9666dba09d79cd88777e9066dbdb2ca5b5e7588f.tar.bz2 gsoc2013-epiphany-9666dba09d79cd88777e9066dbdb2ca5b5e7588f.tar.lz gsoc2013-epiphany-9666dba09d79cd88777e9066dbdb2ca5b5e7588f.tar.xz gsoc2013-epiphany-9666dba09d79cd88777e9066dbdb2ca5b5e7588f.tar.zst gsoc2013-epiphany-9666dba09d79cd88777e9066dbdb2ca5b5e7588f.zip |
Get rid of EphyBrowseHistory
It was a very thin wrapper on top of the history service, it does not
seem to make much sense. For now move the two useful helper methods
down to the service without further changes.
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 6d4aedaa1..eb8dbc361 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -24,7 +24,6 @@ #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" @@ -35,6 +34,7 @@ #include "ephy-favicon-cache.h" #include "ephy-file-helpers.h" #include "ephy-history.h" +#include "ephy-history-service.h" #include "ephy-permission-manager.h" #include "ephy-prefs.h" #include "ephy-profile-utils.h" @@ -1066,7 +1066,7 @@ title_changed_cb (WebKitWebView *web_view, const char *uri; char *title; WebKitWebFrame *frame; - EphyBrowseHistory *browse_history = EPHY_BROWSE_HISTORY (ephy_embed_shell_get_global_browse_history (ephy_embed_shell_get_default ())); + EphyHistoryService *history = EPHY_HISTORY_SERVICE (ephy_embed_shell_get_global_history_service (ephy_embed_shell_get_default ())); frame = webkit_web_view_get_main_frame (web_view); uri = webkit_web_frame_get_uri (frame); @@ -1081,7 +1081,7 @@ title_changed_cb (WebKitWebView *web_view, ephy_web_view_set_title (EPHY_WEB_VIEW (web_view), title); - ephy_browse_history_set_page_title (browse_history, uri, title); + ephy_history_service_set_url_title (history, uri, title, NULL, NULL); g_free (title); } |