Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Inappropriate [configuration] |
| 2 | |
| 3 | Signed-off-by: Saul Wold <sgw@linux.intel.com> |
| 4 | |
| 5 | Index: pygtk-2.24.0/gtk/gtkunixprint.override |
| 6 | =================================================================== |
| 7 | --- pygtk-2.24.0.orig/gtk/gtkunixprint.override |
| 8 | +++ pygtk-2.24.0/gtk/gtkunixprint.override |
| 9 | @@ -102,11 +102,6 @@ _wrap_gtk_print_job_get_surface(PyGObjec |
| 10 | if (pyg_error_check(&error)) |
| 11 | return NULL; |
| 12 | |
| 13 | -#if PYCAIRO_VERSION_HEX >= 0x1010600 |
| 14 | - return PycairoSurface_FromSurface(cairo_surface_reference(surface), NULL); |
| 15 | -#else |
| 16 | - return PycairoSurface_FromSurface(cairo_surface_reference(surface), NULL, NULL); |
| 17 | -#endif |
| 18 | } |
| 19 | %% |
| 20 | override gtk_print_job_send kwargs |