mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
python: Promote from meta-extras to meta
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5092 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
16
meta/packages/python/python-pygtk/fix-gtkunixprint.patch
Normal file
16
meta/packages/python/python-pygtk/fix-gtkunixprint.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user