From ceab3ce08927ec45bb880371b7f31041a5192851 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 12 Dec 2012 13:09:39 +0100 Subject: Define the names of the history and bookmarks files in just one place --- embed/ephy-embed-shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'embed') diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c index 9821d4f11..ea45a1433 100644 --- a/embed/ephy-embed-shell.c +++ b/embed/ephy-embed-shell.c @@ -31,6 +31,7 @@ #include "ephy-encodings.h" #include "ephy-file-helpers.h" #include "ephy-history-service.h" +#include "ephy-profile-utils.h" #include "ephy-snapshot-service.h" #include @@ -124,7 +125,7 @@ ephy_embed_shell_get_global_history_service (EphyEmbedShell *shell) if (shell->priv->global_history_service == NULL) { char *filename; - filename = g_build_filename (ephy_dot_dir (), "ephy-history.db", NULL); + filename = g_build_filename (ephy_dot_dir (), EPHY_HISTORY_FILE, NULL); shell->priv->global_history_service = ephy_history_service_new (filename); g_free (filename); g_return_val_if_fail (shell->priv->global_history_service, NULL); -- cgit v1.2.3