summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-05-04 15:43:43 +0100
committerVincent Sanders <vince@kyllikki.org>2016-05-04 15:43:43 +0100
commite41ad032fa35e33bd5fd960fe99f7c66686513db (patch)
treeffb1e938caa758b86972b14017277cd110042f0b
parent4a4a442e6cd0a4f9eecd1608bc4fff7cf3cec7a0 (diff)
downloadnetsurf-e41ad032fa35e33bd5fd960fe99f7c66686513db.tar.gz
netsurf-e41ad032fa35e33bd5fd960fe99f7c66686513db.tar.bz2
cleanup printer API usage of plotter headers
-rw-r--r--amiga/print.c1
-rw-r--r--desktop/print.c1
-rw-r--r--desktop/printer.h11
-rw-r--r--gtk/print.c1
4 files changed, 9 insertions, 5 deletions
diff --git a/amiga/print.c b/amiga/print.c
index f3fd2115f..cb6a4b570 100644
--- a/amiga/print.c
+++ b/amiga/print.c
@@ -49,6 +49,7 @@
#include "utils/nsoption.h"
#include "utils/messages.h"
#include "utils/utils.h"
+#include "desktop/plotters.h"
#include "desktop/printer.h"
#include "desktop/gui_layout.h"
#include "desktop/mouse.h"
diff --git a/desktop/print.c b/desktop/print.c
index 55caf5105..711e907e2 100644
--- a/desktop/print.c
+++ b/desktop/print.c
@@ -35,6 +35,7 @@
#include "css/utils.h"
#include "render/box.h"
+#include "desktop/plotters.h"
#include "desktop/print.h"
#include "desktop/printer.h"
diff --git a/desktop/printer.h b/desktop/printer.h
index 7fda8bdb0..a683b3f86 100644
--- a/desktop/printer.h
+++ b/desktop/printer.h
@@ -16,18 +16,19 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/** \file
+/**
+ * \file
* Printer interface.
*
- * Interface to generic plotters, initialization, handling pages and
- * cleaning up.
+ * Printer interface to generic plotters, initialization, handling
+ * pages and cleaning up.
*/
#ifndef NETSURF_DESKTOP_PRINTER_H
#define NETSURF_DESKTOP_PRINTER_H
-#include "desktop/plotters.h"
-#include "desktop/print.h"
+struct plotter_table;
+struct print_settings;
/** Printer interface */
struct printer{
diff --git a/gtk/print.c b/gtk/print.c
index 44ef1757f..a6e639996 100644
--- a/gtk/print.c
+++ b/gtk/print.c
@@ -36,6 +36,7 @@
#include "content/content.h"
#include "content/hlcache.h"
#include "utils/nsoption.h"
+#include "desktop/plotters.h"
#include "desktop/print.h"
#include "desktop/printer.h"