diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-21 07:16:38 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-21 07:16:38 +0800 |
commit | 689a84a20c5a62e90afd22630281c7633b58b7f8 (patch) | |
tree | de837184946e3ab2e27db345f99ae8e8c9177cc7 /embed | |
parent | 78ed4ddf68133188de0eba69d7826d06afd7994a (diff) | |
download | gsoc2013-epiphany-689a84a20c5a62e90afd22630281c7633b58b7f8.tar gsoc2013-epiphany-689a84a20c5a62e90afd22630281c7633b58b7f8.tar.gz gsoc2013-epiphany-689a84a20c5a62e90afd22630281c7633b58b7f8.tar.bz2 gsoc2013-epiphany-689a84a20c5a62e90afd22630281c7633b58b7f8.tar.lz gsoc2013-epiphany-689a84a20c5a62e90afd22630281c7633b58b7f8.tar.xz gsoc2013-epiphany-689a84a20c5a62e90afd22630281c7633b58b7f8.tar.zst gsoc2013-epiphany-689a84a20c5a62e90afd22630281c7633b58b7f8.zip |
Don't include print-dialog.h in EphyUtils.h.
2004-11-21 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyUtils.cpp:
* embed/mozilla/EphyUtils.h:
* embed/print-dialog.h:
Don't include print-dialog.h in EphyUtils.h.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyUtils.cpp | 2 | ||||
-rw-r--r-- | embed/mozilla/EphyUtils.h | 7 | ||||
-rw-r--r-- | embed/print-dialog.h | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/embed/mozilla/EphyUtils.cpp b/embed/mozilla/EphyUtils.cpp index 89354b499..c8d296737 100644 --- a/embed/mozilla/EphyUtils.cpp +++ b/embed/mozilla/EphyUtils.cpp @@ -25,6 +25,7 @@ #include "EphyUtils.h" #include "ephy-embed-shell.h" #include "ephy-embed-single.h" +#include "print-dialog.h" #include <nsIServiceManager.h> #define MOZILLA_STRICT_API @@ -34,6 +35,7 @@ #include <nsIEmbeddingSiteWindow.h> #include <nsIWebBrowserChrome.h> #include <gtkmozembed.h> +#include <nsIPrintSettings.h> nsresult EphyUtils::GetIOService (nsIIOService **ioService) diff --git a/embed/mozilla/EphyUtils.h b/embed/mozilla/EphyUtils.h index 2f81e0b4d..d180664ae 100644 --- a/embed/mozilla/EphyUtils.h +++ b/embed/mozilla/EphyUtils.h @@ -23,9 +23,10 @@ #include <nsIIOService.h> #include <nsIURI.h> #include <nsIDOMWindow.h> -#include <nsIPrintSettings.h> +#include <gtk/gtkwidget.h> -#include "print-dialog.h" +class nsIPrintSettings; +struct _EmbedPrintInfo; namespace EphyUtils { @@ -39,7 +40,7 @@ namespace EphyUtils GtkWidget *FindGtkParent (nsIDOMWindow *aDOMWindow); - nsresult CollatePrintSettings (const EmbedPrintInfo *info, + nsresult CollatePrintSettings (const _EmbedPrintInfo *info, nsIPrintSettings *settings, gboolean preview); } diff --git a/embed/print-dialog.h b/embed/print-dialog.h index 81a5d5f24..1ca09db8b 100644 --- a/embed/print-dialog.h +++ b/embed/print-dialog.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS -typedef struct +typedef struct _EmbedPrintInfo { gboolean print_to_file; char *printer; |