[PATCH] Fix Bug 595564 - wrong behavior on cancel

Alexey Fisher <[email protected]>
Newsgroups gmane.comp.gnome.multimedia
Message-ID <[email protected]>
I you use gnome-sound-record and on question "save recording befor closing" you
press cancel it will just close the programm.

Signed-off-by: Alexey Fisher <[email protected]>
---
 grecord/src/gnome-recorder.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/grecord/src/gnome-recorder.c b/grecord/src/gnome-recorder.c
index 80ba4ed..ecb5737 100644
--- a/grecord/src/gnome-recorder.c
+++ b/grecord/src/gnome-recorder.c
@@ -52,10 +52,10 @@ delete_event_cb (GSRWindow *window,
 {
 	if (!gsr_window_is_saved (window) && gsr_discard_confirmation_dialog (window, TRUE)) {
 		gsr_window_close (window);
-		return TRUE;
+		return FALSE;
 	}
 
-	return FALSE;
+	return TRUE;
 }
 
 static void
-- 
1.6.3.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.