summaryrefslogtreecommitdiff
path: root/src/cairo/cdcairoplus.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-18 18:19:28 +0000
committerscuri <scuri>2010-06-18 18:19:28 +0000
commit553cd80ed974c1dd151f902040bd942f043ac193 (patch)
treeb38c404c0106e81e7498614afd73557675e8ec1c /src/cairo/cdcairoplus.c
parentb6c28915b03725a831417cfe720a1405832102d8 (diff)
*** empty log message ***
Diffstat (limited to 'src/cairo/cdcairoplus.c')
-rw-r--r--src/cairo/cdcairoplus.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cairo/cdcairoplus.c b/src/cairo/cdcairoplus.c
index 5da7546..a46d9f3 100644
--- a/src/cairo/cdcairoplus.c
+++ b/src/cairo/cdcairoplus.c
@@ -10,6 +10,7 @@
#include <stdlib.h>
#include <memory.h>
+
void cdInitContextPlus(void)
{
cdContext* ctx_list[NUM_CONTEXTPLUS];
@@ -18,9 +19,12 @@ void cdInitContextPlus(void)
ctx_list[CD_CTX_NATIVEWINDOW] = cdContextCairoNativeWindow();
ctx_list[CD_CTX_IMAGE] = cdContextCairoImage();
ctx_list[CD_CTX_DBUFFER] = cdContextCairoDBuffer();
-#ifndef WIN32
+#ifndef CAIRO_X11
ctx_list[CD_CTX_PRINTER] = cdContextCairoPrinter();
#endif
+#ifdef WIN32
+ ctx_list[CD_CTX_EMF] = cdContextCairoEMF();
+#endif
cdInitContextPlusList(ctx_list);
}