Check GError being unset correctly. (gimp_unique_win32_open): Add missing

2008-07-11  Tor Lillqvist  <tml@novell.com>

	* 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
This commit is contained in:
Tor Lillqvist 2008-07-11 12:38:53 +00:00 committed by Tor Lillqvist
parent c6a3b41f38
commit 10cc717b88
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-07-11 Tor Lillqvist <tml@novell.com>
* 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 <sven@gimp.org> 2008-07-11 Sven Neumann <sven@gimp.org>
* app/core/gimpscanconvert.c * app/core/gimpscanconvert.c

View File

@ -69,7 +69,7 @@ gimp_unique_filename_to_uri (const gchar *filename,
{ {
uri = g_strdup (filename); uri = g_strdup (filename);
} }
else if (! error) else if (! *error)
{ {
if (! g_path_is_absolute (filename)) if (! g_path_is_absolute (filename))
{ {
@ -220,7 +220,7 @@ gimp_unique_win32_open (const gchar **filenames,
#endif #endif
return FALSE return FALSE;
} }
#endif /* G_OS_WIN32 */ #endif /* G_OS_WIN32 */