SF.net SVN: geany:[5371] trunk/src/document.c
ntrel at users.sourceforge.net
ntrel at xxxxx
Sun Nov 7 13:13:05 UTC 2010
Revision: 5371
http://geany.svn.sourceforge.net/geany/?rev=5371&view=rev
Author: ntrel
Date: 2010-11-07 13:13:05 +0000 (Sun, 07 Nov 2010)
Log Message:
-----------
Add debug message when using g_file_set_contents() to save documents.
Modified Paths:
--------------
trunk/src/document.c
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2010-11-07 13:08:13 UTC (rev 5370)
+++ trunk/src/document.c 2010-11-07 13:13:05 UTC (rev 5371)
@@ -1748,7 +1748,8 @@
{
/* Use old GLib API for safe saving (GVFS-safe, but alters ownership and permissons).
* This is the only option that handles disk space exhaustion. */
- g_file_set_contents(locale_filename, data, len, &error);
+ if (g_file_set_contents(locale_filename, data, len, &error))
+ geany_debug("Wrote %s with g_file_set_contents().", locale_filename);
}
if (error != NULL)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list