19 lines
585 B
Diff
19 lines
585 B
Diff
|
Upstream-Status: Inappropriate [configuration]
|
||
|
|
||
|
Index: pygtk-2.10.0/gtk/gtkunixprint.override
|
||
|
===================================================================
|
||
|
--- pygtk-2.10.0.orig/gtk/gtkunixprint.override
|
||
|
+++ pygtk-2.10.0/gtk/gtkunixprint.override
|
||
|
@@ -105,11 +105,7 @@ _wrap_gtk_print_job_get_surface(PyGObjec
|
||
|
if (pyg_error_check(&error))
|
||
|
return NULL;
|
||
|
|
||
|
-#if PYCAIRO_VERSION_HEX >= 0x1010600
|
||
|
return PycairoSurface_FromSurface(surface, NULL);
|
||
|
-#else
|
||
|
- return PycairoSurface_FromSurface(surface, NULL, NULL);
|
||
|
-#endif
|
||
|
}
|
||
|
%%
|
||
|
override gtk_print_job_send kwargs
|