From 10cc717b88a59a1c30255bc80e6db8cc49706a01 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 11 Jul 2008 12:38:53 +0000 Subject: [PATCH] Check GError being unset correctly. (gimp_unique_win32_open): Add missing 2008-07-11 Tor Lillqvist * app/unique.c (gimp_unique_filename_to_uri): Check GError being unset correctly. (gimp_unique_win32_open): Add missing semicolon. svn path=/trunk/; revision=26124 --- ChangeLog | 6 ++++++ app/unique.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 560ca212ef..17078d3acb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-11 Tor Lillqvist + + * app/unique.c (gimp_unique_filename_to_uri): Check GError being + unset correctly. + (gimp_unique_win32_open): Add missing semicolon. + 2008-07-11 Sven Neumann * app/core/gimpscanconvert.c diff --git a/app/unique.c b/app/unique.c index b1c6697100..b31318cb93 100644 --- a/app/unique.c +++ b/app/unique.c @@ -69,7 +69,7 @@ gimp_unique_filename_to_uri (const gchar *filename, { uri = g_strdup (filename); } - else if (! error) + else if (! *error) { if (! g_path_is_absolute (filename)) { @@ -220,7 +220,7 @@ gimp_unique_win32_open (const gchar **filenames, #endif - return FALSE + return FALSE; } #endif /* G_OS_WIN32 */