aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/PrintingPromptService.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-03 03:01:43 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-03 03:01:43 +0800
commit768567d3d36f935870adc47bb0b5930db1549e15 (patch)
treec6243cabee58ac4a3e922c441200622ec7ac7448 /embed/mozilla/PrintingPromptService.cpp
parent3a4e04be99f31b2fbf4515efd5bc369630dc4006 (diff)
downloadgsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar
gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.gz
gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.bz2
gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.lz
gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.xz
gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.zst
gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.zip
Adjust return value so that mozilla doesn't erreonously put up a failure
2003-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/PrintingPromptService.cpp: (ShowPrintDialog): Adjust return value so that mozilla doesn't erreonously put up a failure dialogue.
Diffstat (limited to 'embed/mozilla/PrintingPromptService.cpp')
-rw-r--r--embed/mozilla/PrintingPromptService.cpp2
1 files changed, 1 insertions, 1 deletions
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);