]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-print-operation.c
[windows] Fix printing on Windows
[evince.git] / libview / ev-print-operation.c
index 555d4bf982bccf8cea38a144002e1d51b264b64f..0f6e60788441b10e8323eb0153124301b49b3e8e 100644 (file)
@@ -2062,6 +2062,8 @@ ev_print_operation_new (EvDocument *document)
 #if GTKUNIXPRINT_ENABLED
                op = EV_PRINT_OPERATION (g_object_new (EV_TYPE_PRINT_OPERATION_EXPORT,
                                                       "document", document, NULL));
+#else
+               op = NULL;
 #endif
        return op;
 }