]> www.fi.muni.cz Git - evince.git/commitdiff
[windows] Fix printing on Windows
authorHib Eris <hib@hiberis.nl>
Tue, 29 Dec 2009 15:12:02 +0000 (16:12 +0100)
committerHib Eris <hib@hiberis.nl>
Tue, 29 Dec 2009 16:09:19 +0000 (17:09 +0100)
Fixes bgo#604705

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;
 }