diff options
author | Xan Lopez <xan@igalia.com> | 2012-03-15 16:43:45 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-03-15 16:43:45 +0800 |
commit | 3c4521680d8d06bbfa0ec878953fafe69ae84abb (patch) | |
tree | 1273c24f46bc00dea141657b239f0fcdd5faacd8 | |
parent | 0ddce1562e5712c098358ab99eccded7a327dd0c (diff) | |
download | gsoc2013-epiphany-3c4521680d8d06bbfa0ec878953fafe69ae84abb.tar gsoc2013-epiphany-3c4521680d8d06bbfa0ec878953fafe69ae84abb.tar.gz gsoc2013-epiphany-3c4521680d8d06bbfa0ec878953fafe69ae84abb.tar.bz2 gsoc2013-epiphany-3c4521680d8d06bbfa0ec878953fafe69ae84abb.tar.lz gsoc2013-epiphany-3c4521680d8d06bbfa0ec878953fafe69ae84abb.tar.xz gsoc2013-epiphany-3c4521680d8d06bbfa0ec878953fafe69ae84abb.tar.zst gsoc2013-epiphany-3c4521680d8d06bbfa0ec878953fafe69ae84abb.zip |
ephy-web-view: we already have a reference to the history service
Don't request the global instance again.
-rw-r--r-- | embed/ephy-web-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 48dfd225a..689835af9 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1145,7 +1145,7 @@ title_changed_cb (WebKitWebView *web_view, const char *uri; char *title; WebKitWebFrame *frame; - EphyHistoryService *history = EPHY_HISTORY_SERVICE (ephy_embed_shell_get_global_history_service (ephy_embed_shell_get_default ())); + EphyHistoryService *history = EPHY_WEB_VIEW (web_view)->priv->history_service; frame = webkit_web_view_get_main_frame (web_view); uri = webkit_web_frame_get_uri (frame); |