diff options
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r-- | src/ephy-shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index feeb4d388..11954632d 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -509,6 +509,7 @@ ephy_shell_get_autocompletion (EphyShell *gs) }; EphyHistory *gh = ephy_embed_shell_get_global_history (EPHY_EMBED_SHELL (gs)); + EphyBookmarks *bmk = ephy_shell_get_bookmarks (gs); EphyFilesystemAutocompletion *fa = ephy_filesystem_autocompletion_new (); p->autocompletion = ephy_autocompletion_new (); ephy_autocompletion_set_prefixes (p->autocompletion, prefixes); @@ -518,7 +519,7 @@ ephy_shell_get_autocompletion (EphyShell *gs) ephy_autocompletion_add_source (p->autocompletion, EPHY_AUTOCOMPLETION_SOURCE (fa)); ephy_autocompletion_add_source (p->autocompletion, - EPHY_AUTOCOMPLETION_SOURCE (gs->priv->bookmarks)); + EPHY_AUTOCOMPLETION_SOURCE (bmk)); g_object_unref (gh); g_object_unref (fa); |