diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-08-25 20:33:55 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-08-25 20:33:55 +0000 |
| commit | 16e6877c4ce53fd3be88dd77263a03e7d88c3163 (patch) | |
| tree | 831004ca391e04c8deaace28b15cb602c0848c77 /meta/packages/python/python-pygtk/fix-gtkunixprint.patch | |
| parent | 07eeb6a8b6d671db7566f839ab22a26b6f118077 (diff) | |
| download | poky-16e6877c4ce53fd3be88dd77263a03e7d88c3163.tar.gz | |
python: Promote from meta-extras to meta
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5092 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/python/python-pygtk/fix-gtkunixprint.patch')
| -rw-r--r-- | meta/packages/python/python-pygtk/fix-gtkunixprint.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/python/python-pygtk/fix-gtkunixprint.patch b/meta/packages/python/python-pygtk/fix-gtkunixprint.patch new file mode 100644 index 0000000000..dca19ce5ed --- /dev/null +++ b/meta/packages/python/python-pygtk/fix-gtkunixprint.patch | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | Index: pygtk-2.10.0/gtk/gtkunixprint.override | ||
| 2 | =================================================================== | ||
| 3 | --- pygtk-2.10.0.orig/gtk/gtkunixprint.override | ||
| 4 | +++ pygtk-2.10.0/gtk/gtkunixprint.override | ||
| 5 | @@ -105,11 +105,7 @@ _wrap_gtk_print_job_get_surface(PyGObjec | ||
| 6 | if (pyg_error_check(&error)) | ||
| 7 | return NULL; | ||
| 8 | |||
| 9 | -#if PYCAIRO_VERSION_HEX >= 0x1010600 | ||
| 10 | return PycairoSurface_FromSurface(surface, NULL); | ||
| 11 | -#else | ||
| 12 | - return PycairoSurface_FromSurface(surface, NULL, NULL); | ||
| 13 | -#endif | ||
| 14 | } | ||
| 15 | %% | ||
| 16 | override gtk_print_job_send kwargs | ||
