summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-pygtk
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-pygtk')
-rw-r--r--meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch b/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch
index 6d2f64b414..16c0e8e770 100644
--- a/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch
+++ b/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch
@@ -1,17 +1,19 @@
1Upstream-Status: Inappropriate [configuration] 1Upstream-Status: Inappropriate [configuration]
2 2
3Index: pygtk-2.10.0/gtk/gtkunixprint.override 3Signed-off-by: Saul Wold <sgw@linux.intel.com>
4
5Index: pygtk-2.24.0/gtk/gtkunixprint.override
4=================================================================== 6===================================================================
5--- pygtk-2.10.0.orig/gtk/gtkunixprint.override 7--- pygtk-2.24.0.orig/gtk/gtkunixprint.override
6+++ pygtk-2.10.0/gtk/gtkunixprint.override 8+++ pygtk-2.24.0/gtk/gtkunixprint.override
7@@ -105,11 +105,7 @@ _wrap_gtk_print_job_get_surface(PyGObjec 9@@ -102,11 +102,6 @@ _wrap_gtk_print_job_get_surface(PyGObjec
8 if (pyg_error_check(&error)) 10 if (pyg_error_check(&error))
9 return NULL; 11 return NULL;
10 12
11-#if PYCAIRO_VERSION_HEX >= 0x1010600 13-#if PYCAIRO_VERSION_HEX >= 0x1010600
12 return PycairoSurface_FromSurface(surface, NULL); 14- return PycairoSurface_FromSurface(cairo_surface_reference(surface), NULL);
13-#else 15-#else
14- return PycairoSurface_FromSurface(surface, NULL, NULL); 16- return PycairoSurface_FromSurface(cairo_surface_reference(surface), NULL, NULL);
15-#endif 17-#endif
16 } 18 }
17 %% 19 %%