aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-completion-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-completion-model.c')
-rw-r--r--src/ephy-completion-model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c
index b8f75bce6..651afe882 100644
--- a/src/ephy-completion-model.c
+++ b/src/ephy-completion-model.c
@@ -23,6 +23,7 @@
#include "ephy-completion-model.h"
#include "ephy-node.h"
#include "ephy-shell.h"
+#include "ephy-history.h"
static void ephy_completion_model_class_init (EphyCompletionModelClass *klass);
static void ephy_completion_model_init (EphyCompletionModel *model);
@@ -230,8 +231,7 @@ ephy_completion_model_init (EphyCompletionModel *model)
model->priv = EPHY_COMPLETION_MODEL_GET_PRIVATE (model);
model->priv->stamp = g_random_int ();
- history = ephy_embed_shell_get_global_history
- (EPHY_EMBED_SHELL (ephy_shell));
+ history = EPHY_HISTORY (ephy_embed_shell_get_global_history (embed_shell));
model->priv->history = ephy_history_get_pages (history);
connect_signals (model, model->priv->history);