[epiphany/mcatanzaro/webapp-profile: 17/19] profile-migrator: code style improvement
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/webapp-profile: 17/19] profile-migrator: code style improvement
- Date: Wed, 20 Mar 2019 14:39:56 +0000 (UTC)
commit 318e19e794b1e0b066df039116260c19e0f17dc6
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sun Mar 17 11:10:15 2019 -0500
profile-migrator: code style improvement
src/profile-migrator/ephy-profile-migrator.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/profile-migrator/ephy-profile-migrator.c b/src/profile-migrator/ephy-profile-migrator.c
index 992b76ba0..f599d0ef9 100644
--- a/src/profile-migrator/ephy-profile-migrator.c
+++ b/src/profile-migrator/ephy-profile-migrator.c
@@ -1148,9 +1148,8 @@ migrate_profile_directories (void)
g_autofree char *app_path = ephy_web_application_get_profile_directory (app->id);
g_autoptr(GFile) new_directory = g_file_new_for_path (app_path);
- if (!move_directory_contents (old_directory, new_directory)) {
+ if (!move_directory_contents (old_directory, new_directory))
continue;
- }
// Create an empty file to indicate it's an app
g_autofree char *app_file = g_build_filename (app_path, ".app", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]