[gnome-color-manager] Avoid reporting a (false) failure on first import
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Avoid reporting a (false) failure on first import
- Date: Thu, 29 Oct 2009 13:10:56 +0000 (UTC)
commit c6d6cbee2a443b6ddc95665076571b7fad531685
Author: Stephane Delcroix <stephane delcroix org>
Date: Thu Oct 29 14:08:13 2009 +0100
Avoid reporting a (false) failure on first import
src/gcm-import.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-import.c b/src/gcm-import.c
index 50f187f..87fbd31 100644
--- a/src/gcm-import.c
+++ b/src/gcm-import.c
@@ -66,7 +66,7 @@ gcm_import_copy_file (const gchar *filename, const gchar *destination, GError **
/* ensure desination exists */
ret = g_file_test (path, G_FILE_TEST_EXISTS);
if (!ret) {
- ret = g_file_make_directory_with_parents (destfile, NULL, error);
+ ret = g_file_make_directory_with_parents (destpath, NULL, error);
if (!ret)
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]