diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-10-16 13:32:05 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2006-10-16 13:32:05 +0000 |
commit | 498da442cc5f9503c7a37376b9da364213c35f77 (patch) | |
tree | 6f66dc4afdc8199381d760302e451686047c1265 /packages/python/python-pygtk2/fix-gtkunixprint.patch | |
parent | 46076a93f6f49884ab7efd3012702c5f8ddf8d50 (diff) |
python-pygtk2 2.10.0 add patch to make it cross-build
Diffstat (limited to 'packages/python/python-pygtk2/fix-gtkunixprint.patch')
-rw-r--r-- | packages/python/python-pygtk2/fix-gtkunixprint.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/python/python-pygtk2/fix-gtkunixprint.patch b/packages/python/python-pygtk2/fix-gtkunixprint.patch new file mode 100644 index 0000000000..dca19ce5ed --- /dev/null +++ b/packages/python/python-pygtk2/fix-gtkunixprint.patch @@ -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 |