[sound-juicer] sj-extracting: Fix warning about OverwriteDialogResponse
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] sj-extracting: Fix warning about OverwriteDialogResponse
- Date: Mon, 23 May 2011 12:50:50 +0000 (UTC)
commit b3a3bd265ecd9577889f10114962b1bd0bb08fa3
Author: Bastien Nocera <hadess hadess net>
Date: Mon May 23 13:43:31 2011 +0100
sj-extracting: Fix warning about OverwriteDialogResponse
src/sj-extracting.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/sj-extracting.c b/src/sj-extracting.c
index 10c81f7..27cc4d4 100644
--- a/src/sj-extracting.c
+++ b/src/sj-extracting.c
@@ -64,6 +64,7 @@ typedef enum {
BUTTON_SKIP_ALL = 2,
BUTTON_OVERWRITE = 3,
BUTTON_OVERWRITE_ALL = 4,
+ BUTTON_DELETE_EVENT = GTK_RESPONSE_DELETE_EVENT,
} OverwriteDialogResponse;
/* files smaller than this are assumed to be corrupt */
@@ -336,7 +337,7 @@ confirm_overwrite_existing_file (GFile *uri, int *overwrite_mode, goffset info_s
return FALSE;
break;
case BUTTON_SKIP:
- case GTK_RESPONSE_DELETE_EVENT:
+ case BUTTON_DELETE_EVENT:
default:
return FALSE;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]