summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.org>2008-05-29 09:34:53 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-05-29 09:34:53 +0000
commitc8e67f3cc6cca3cd7b5bce1ea981c04f9d234227 (patch)
tree134635ffca1437f74ef51fb4e8cb1f4d6a8e4313 /modules
parent7c45a441d1a1c45e78f7a4a994fdda004870df7c (diff)
downloadgtk+-c8e67f3cc6cca3cd7b5bce1ea981c04f9d234227.tar.gz
gtk/Makefile.am add a single-include header for the unix print stuff.
2008-05-29 Michael Natterer <mitch@imendio.org> * gtk/Makefile.am * gtk/gtkunixprint.h: add a single-include header for the unix print stuff. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * modules/printbackends/cups/gtkprintbackendcups.c * modules/printbackends/cups/gtkprintercups.h * modules/printbackends/lpr/gtkprintbackendlpr.c * tests/buildertest.c * tests/defaultvaluetest.c * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of individual files. svn path=/trunk/; revision=20230
Diffstat (limited to 'modules')
-rw-r--r--modules/printbackends/cups/gtkprintbackendcups.c2
-rw-r--r--modules/printbackends/cups/gtkprintercups.h2
-rw-r--r--modules/printbackends/lpr/gtkprintbackendlpr.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c
index d061bc7cee..ff623cf992 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -41,7 +41,7 @@
#include <gtk/gtk.h>
#include <gtk/gtkprintbackend.h>
-#include <gtk/gtkprinter.h>
+#include <gtk/gtkunixprint.h>
#include <gtk/gtkprinter-private.h>
#include "gtkprintbackendcups.h"
diff --git a/modules/printbackends/cups/gtkprintercups.h b/modules/printbackends/cups/gtkprintercups.h
index 7e2734703f..6f1c00d452 100644
--- a/modules/printbackends/cups/gtkprintercups.h
+++ b/modules/printbackends/cups/gtkprintercups.h
@@ -24,7 +24,7 @@
#include <cups/cups.h>
#include <cups/ppd.h>
-#include "gtkprinter.h"
+#include <gtk/gtkunixprint.h>
G_BEGIN_DECLS
diff --git a/modules/printbackends/lpr/gtkprintbackendlpr.c b/modules/printbackends/lpr/gtkprintbackendlpr.c
index a737ba4a16..78f189a100 100644
--- a/modules/printbackends/lpr/gtkprintbackendlpr.c
+++ b/modules/printbackends/lpr/gtkprintbackendlpr.c
@@ -34,7 +34,6 @@
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
-#include "gtkprinter.h"
#include "gtkprinter-private.h"
#include "gtkprintbackendlpr.h"