summaryrefslogtreecommitdiff
path: root/gtk/gtkpagesetupunixdialog.h
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 /gtk/gtkpagesetupunixdialog.h
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 'gtk/gtkpagesetupunixdialog.h')
-rw-r--r--gtk/gtkpagesetupunixdialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkpagesetupunixdialog.h b/gtk/gtkpagesetupunixdialog.h
index 6590899a2d..81dc3f43c2 100644
--- a/gtk/gtkpagesetupunixdialog.h
+++ b/gtk/gtkpagesetupunixdialog.h
@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_UNIX_PRINT_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtkunixprint.h> can be included directly."
+#endif
+
#ifndef __GTK_PAGE_SETUP_UNIX_DIALOG_H__
#define __GTK_PAGE_SETUP_UNIX_DIALOG_H__