[epiphany] Fix crash starting incognito mode



commit d5e6724eb05effb6b15a5676703ae35e1639cae9
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Fri Jan 15 10:43:30 2016 -0600

    Fix crash starting incognito mode
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760667

 lib/ephy-file-helpers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 5050ff6..de07084 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -383,7 +383,7 @@ ephy_file_helpers_init (const char *profile_dir,
                        g_file_copy (source, destination,
                                     G_FILE_COPY_OVERWRITE,
                                     NULL, NULL, NULL, &err);
-                       if (error)
+                       if (err)
                        {
                                printf("Error stealing file %s from profile: %s\n", files_to_copy[i], 
err->message);
                                g_error_free (err);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]