summaryrefslogtreecommitdiff
path: root/packages/python/python-pygtk/fix-gtkunixprint.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-16 07:32:16 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-16 07:32:16 +0000
commita06882ea02d3045d5dd3c01d4eea2e071a28b0ac (patch)
tree728e940f6cc3b35175ad057bf6609a4fe033adf7 /packages/python/python-pygtk/fix-gtkunixprint.patch
parent23bdf522191bb75ebd1346af2c024e8c013db170 (diff)
python-pygtk[2]: change naming, python-pygtk is now 2.x, update to 2.10.4
Diffstat (limited to 'packages/python/python-pygtk/fix-gtkunixprint.patch')
-rw-r--r--packages/python/python-pygtk/fix-gtkunixprint.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/python/python-pygtk/fix-gtkunixprint.patch b/packages/python/python-pygtk/fix-gtkunixprint.patch
new file mode 100644
index 0000000000..dca19ce5ed
--- /dev/null
+++ b/packages/python/python-pygtk/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