[gedit] Do not read again if we are still writing. Fixes bug #608986.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gedit] Do not read again if we are still writing. Fixes bug #608986.
- Date: Thu, 4 Feb 2010 14:09:57 +0000 (UTC)
commit ccdde1c46f3ca81c8e4d10bcd9b0b66ee3a2033f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Feb 4 15:06:33 2010 +0100
Do not read again if we are still writing. Fixes bug #608986.
gedit/gedit-gio-document-saver.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-gio-document-saver.c b/gedit/gedit-gio-document-saver.c
index b25d902..4e6b6b6 100644
--- a/gedit/gedit-gio-document-saver.c
+++ b/gedit/gedit-gio-document-saver.c
@@ -345,6 +345,7 @@ async_write_cb (GOutputStream *stream,
if (async->written != async->read)
{
write_file_chunk (async);
+ return;
}
/* note that this signal blocks the write... check if it isn't
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]