[easytag] Avoid crash when escaping from delete file dialog
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Avoid crash when escaping from delete file dialog
- Date: Mon, 20 May 2013 21:57:14 +0000 (UTC)
commit f4773b7cc1782f65e27817a34fd8c50285d99f63
Author: David King <amigadave amigadave com>
Date: Mon May 20 22:52:16 2013 +0100
Avoid crash when escaping from delete file dialog
Handle the delete event response from the delete file dialog.
src/easytag.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index 2cf00f5..4544961 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -3100,7 +3100,7 @@ delete_file (ET_File *ETFile, gboolean multiple_files, GError **error)
case GTK_RESPONSE_NO:
break;
case GTK_RESPONSE_CANCEL:
- case GTK_RESPONSE_NONE:
+ case GTK_RESPONSE_DELETE_EVENT:
stop_loop = -1;
g_free(basename_utf8);
return stop_loop;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]