Author: akv
Date: 2010-01-26 21:42:48 +0100 (Tue, 26 Jan 2010)
New Revision: 3083

Modified:
   branches/rawstudio-ng-color/src/rs-library.c
Log:
Only read .rawstudio/tags.xml if it exists :)

Modified: branches/rawstudio-ng-color/src/rs-library.c
===================================================================
--- branches/rawstudio-ng-color/src/rs-library.c        2010-01-26 20:26:11 UTC 
(rev 3082)
+++ branches/rawstudio-ng-color/src/rs-library.c        2010-01-26 20:42:48 UTC 
(rev 3083)
@@ -1125,7 +1125,9 @@
 {
        RSLibrary *library = rs_library_get_singleton();
        const gchar *tagfile = g_build_filename(directory, 
"/.rawstudio/tags.xml", NULL);
-       
+       if (!g_file_test(tagfile, G_FILE_TEST_EXISTS))
+           return;
+
        xmlDocPtr doc;
        xmlNodePtr cur, cur2;
        xmlChar *val;


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to