[epiphany] profile-utils: Fix build
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] profile-utils: Fix build
- Date: Mon, 10 Oct 2016 03:33:19 +0000 (UTC)
commit e947f440b7204a3fc4a43248524b43b625325b6f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Oct 9 22:31:55 2016 -0500
profile-utils: Fix build
Looks like I didn't test this!
lib/ephy-profile-utils.h | 1 +
src/profile-migrator/ephy-profile-migrator.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lib/ephy-profile-utils.h b/lib/ephy-profile-utils.h
index 08bf264..aade307 100644
--- a/lib/ephy-profile-utils.h
+++ b/lib/ephy-profile-utils.h
@@ -26,6 +26,7 @@ G_BEGIN_DECLS
#define EPHY_PROFILE_MIGRATION_VERSION 11
+#define EPHY_BOOKMARKS_FILE "bookmarks.gvdb"
#define EPHY_HISTORY_FILE "ephy-history.db"
int ephy_profile_utils_get_migration_version (void);
diff --git a/src/profile-migrator/ephy-profile-migrator.c b/src/profile-migrator/ephy-profile-migrator.c
index 8156bfc..f32dd51 100644
--- a/src/profile-migrator/ephy-profile-migrator.c
+++ b/src/profile-migrator/ephy-profile-migrator.c
@@ -570,7 +570,7 @@ migrate_bookmarks (void)
xmlNodePtr root;
filename = g_build_filename (ephy_dot_dir (),
- "bookmarks.gvdb",
+ EPHY_BOOKMARKS_FILE,
NULL);
if (g_file_test (filename, G_FILE_TEST_EXISTS) == TRUE)
@@ -609,7 +609,7 @@ migrate_bookmarks (void)
xmlFreeDoc (doc);
out:
- g_free (filename):
+ g_free (filename);
g_object_unref (manager);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]