aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 3314e4271..915807187 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -105,6 +105,7 @@ struct _EphyWebViewPrivate {
GtkWidget *password_info_bar;
+ EphyHistoryService *history_service;
EphyHistoryPageVisitType visit_type;
};
@@ -2222,6 +2223,8 @@ ephy_web_view_init (EphyWebView *web_view)
priv->non_search_regex = g_regex_new (EPHY_WEB_VIEW_NON_SEARCH_REGEX,
G_REGEX_OPTIMIZE, G_REGEX_MATCH_NOTEMPTY, NULL);
+ priv->history_service = EPHY_HISTORY_SERVICE (ephy_embed_shell_get_global_history_service (embed_shell));
+
g_signal_connect (web_view, "mime-type-policy-decision-requested",
G_CALLBACK (mime_type_policy_decision_requested_cb),
NULL);