From 99813c0efc39abf67299abb7e53f7c6e8683fee2 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 8 Mar 2006 11:03:24 +0000 Subject: Don't throw when cancelling the dialogue with ESC. Fixes bug #333780, 2006-03-08 Christian Persch * embed/mozilla/EphyPromptService.cpp: Don't throw when cancelling the dialogue with ESC. Fixes bug #333780, patch has RT approval. --- embed/mozilla/EphyPromptService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed') diff --git a/embed/mozilla/EphyPromptService.cpp b/embed/mozilla/EphyPromptService.cpp index c360dcbc4..c121978bc 100644 --- a/embed/mozilla/EphyPromptService.cpp +++ b/embed/mozilla/EphyPromptService.cpp @@ -68,7 +68,7 @@ enum RESPONSE_ABORT_SCRIPT = 42 }; -#define RETVAL(r) ((r) == GTK_RESPONSE_DELETE_EVENT ? NS_ERROR_FAILURE : NS_OK) +#define RETVAL(r) (NS_OK) class Prompter { -- cgit v1.2.3