summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch
blob: dca19ce5ed7854b8b665ed069bd32f67a25db000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
46-06:00 ti.com!kergoth Merge oe-devel@oe-devel.bkbits.net:openembedded into odin.sc.ti.com:/home/kergoth/code/user/oe/openembedded 2005/02/21 17:09:03-06:00 ti.com!kergoth Run a sed script against our packages to fix some hardcoded target path references. As always when I do things like this, if packages you maintain were touched by this, please do a sanity check to ensure the sed script didn't run wild. 2005/02/21 15:49:47-06:00 ti.com!kergoth Use a HOTPLUG variable to manage which hotplug you prefer, to ensure that hotplug is still included in task-bootstrap even if you dont set DISTRO. BKrev: 421b2b63X5eoMcSrC7pVcptXK-iFKg 2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson2 into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA