[gedit] Use DEBUG_LOADER instead of DEBUG_SAVER in GeditDocumentLoader



commit bca167e768c7a7c9f9e2f65f0e1e2973d768bc00
Author: Steve Frécinaux <code istique net>
Date:   Thu Jun 3 23:28:16 2010 +0200

    Use DEBUG_LOADER instead of DEBUG_SAVER in GeditDocumentLoader
    
    https://bugzilla.gnome.org/show_bug.cgi?id=620515

 gedit/gedit-document-loader.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gedit/gedit-document-loader.c b/gedit/gedit-document-loader.c
index d5fa28a..4dfbc4d 100644
--- a/gedit/gedit-document-loader.c
+++ b/gedit/gedit-document-loader.c
@@ -485,17 +485,17 @@ close_input_stream_ready_cb (GInputStream *stream,
 		return;
 	}
 	
-	gedit_debug_message (DEBUG_SAVER, "Finished closing input stream");
+	gedit_debug_message (DEBUG_LOADER, "Finished closing input stream");
 	
 	if (!g_input_stream_close_finish (stream, res, &error))
 	{
-		gedit_debug_message (DEBUG_SAVER, "Closing input stream error: %s", error->message);
+		gedit_debug_message (DEBUG_LOADER, "Closing input stream error: %s", error->message);
 
 		async_failed (async, error);
 		return;
 	}
 
-	gedit_debug_message (DEBUG_SAVER, "Close output stream");
+	gedit_debug_message (DEBUG_LOADER, "Close output stream");
 	if (!g_output_stream_close (async->loader->priv->output,
 				    async->cancellable, &error))
 	{
@@ -539,10 +539,10 @@ write_file_chunk (AsyncData *async)
 					       async->cancellable,
 					       &error);
 
-	gedit_debug_message (DEBUG_SAVER, "Written: %" G_GSSIZE_FORMAT, bytes_written);
+	gedit_debug_message (DEBUG_LOADER, "Written: %" G_GSSIZE_FORMAT, bytes_written);
 	if (bytes_written == -1)
 	{
-		gedit_debug_message (DEBUG_SAVER, "Write error: %s", error->message);
+		gedit_debug_message (DEBUG_LOADER, "Write error: %s", error->message);
 		async_failed (async, error);
 		return;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]