From 768567d3d36f935870adc47bb0b5930db1549e15 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 2 Nov 2003 19:01:43 +0000 Subject: Adjust return value so that mozilla doesn't erreonously put up a failure 2003-11-02 Christian Persch * embed/mozilla/PrintingPromptService.cpp: (ShowPrintDialog): Adjust return value so that mozilla doesn't erreonously put up a failure dialogue. --- ChangeLog | 7 +++++++ embed/mozilla/PrintingPromptService.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 73833d29e..1596dbf5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-11-02 Christian Persch + + * embed/mozilla/PrintingPromptService.cpp: (ShowPrintDialog): + + Adjust return value so that mozilla doesn't erreonously put up + a failure dialogue. + 2003-11-02 Christian Persch * embed/mozilla/PrintingPromptService.cpp: diff --git a/embed/mozilla/PrintingPromptService.cpp b/embed/mozilla/PrintingPromptService.cpp index 2e1783782..cace13cae 100644 --- a/embed/mozilla/PrintingPromptService.cpp +++ b/embed/mozilla/PrintingPromptService.cpp @@ -71,7 +71,7 @@ NS_IMETHODIMP GPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIW } else { - rv = NS_ERROR_FAILURE; + rv = NS_ERROR_ABORT; } g_object_unref (dialog); -- cgit v1.2.3