[evince] [windows] Fix printing on Windows



commit b85564ae90e10935efae109e8fc584c435f17277
Author: Hib Eris <hib hiberis nl>
Date:   Tue Dec 29 16:12:02 2009 +0100

    [windows] Fix printing on Windows
    
    Fixes bgo#604705

 libview/ev-print-operation.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c
index 555d4bf..0f6e607 100644
--- a/libview/ev-print-operation.c
+++ b/libview/ev-print-operation.c
@@ -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;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]