Revision: 1054
http://geeqie.svn.sourceforge.net/geeqie/?rev=1054&view=rev
Author: nadvornik
Date: 2008-08-11 18:53:19 +0000 (Mon, 11 Aug 2008)
Log Message:
-----------
fixed crash in geeqie --blank
Modified Paths:
--------------
trunk/src/layout.c
Modified: trunk/src/layout.c
===================================================================
--- trunk/src/layout.c 2008-08-11 17:45:26 UTC (rev 1053)
+++ trunk/src/layout.c 2008-08-11 18:53:19 UTC (rev 1054)
@@ -915,7 +915,9 @@
gint layout_set_path(LayoutWindow *lw, const gchar *path)
{
- FileData *fd = file_data_new_simple(path);
+ FileData *fd;
+ if (!path) return FALSE;
+ fd = file_data_new_simple(path);
gint ret = layout_set_fd(lw, fd);
file_data_unref(fd);
return ret;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn