summaryrefslogtreecommitdiff
path: root/src/cairo/cdcairoctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo/cdcairoctx.h')
-rw-r--r--src/cairo/cdcairoctx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo/cdcairoctx.h b/src/cairo/cdcairoctx.h
index 03a719c..776e8a8 100644
--- a/src/cairo/cdcairoctx.h
+++ b/src/cairo/cdcairoctx.h
@@ -13,6 +13,9 @@
#include "cd.h"
#include "cd_private.h"
+#ifndef __GTK_PRINT_UNIX_DIALOG_H__
+typedef struct _GtkPrintJob GtkPrintJob;
+#endif
struct _cdCtxImage {
unsigned int w, h;
@@ -68,6 +71,8 @@ struct _cdCtxCanvas
cdImage* image_dbuffer; /* Used by double buffer driver */
cdCanvas* canvas_dbuffer;
+
+ GtkPrintJob* job; /* used in Printer */
};
#define cdCairoGetRed(_) (((double)cdRed(_))/255.)