summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gtk2/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-gtk2/files')
-rw-r--r--x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs24
-rw-r--r--x11-toolkits/py-gtk2/files/patch-gtk_gtkunixprint.override34
2 files changed, 0 insertions, 58 deletions
diff --git a/x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs b/x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs
deleted file mode 100644
index 06730865e..000000000
--- a/x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs
+++ /dev/null
@@ -1,24 +0,0 @@
---- gtk/gtk-2.10.defs.orig Sun Jun 25 14:12:02 2006
-+++ gtk/gtk-2.10.defs Sun Jun 25 14:12:28 2006
-@@ -1925,21 +1925,6 @@
- )
- )
-
--(define-method get_print_to_file
-- (of-object "GtkPrintSettings")
-- (c-name "gtk_print_settings_get_print_to_file")
-- (return-type "gboolean")
--)
--
--(define-method set_print_to_file
-- (of-object "GtkPrintSettings")
-- (c-name "gtk_print_settings_set_print_to_file")
-- (return-type "none")
-- (parameters
-- '("gboolean" "print_to_file")
-- )
--)
--
- (define-method get_print_pages
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_print_pages")
diff --git a/x11-toolkits/py-gtk2/files/patch-gtk_gtkunixprint.override b/x11-toolkits/py-gtk2/files/patch-gtk_gtkunixprint.override
deleted file mode 100644
index c3ea399b1..000000000
--- a/x11-toolkits/py-gtk2/files/patch-gtk_gtkunixprint.override
+++ /dev/null
@@ -1,34 +0,0 @@
---- gtk/gtkunixprint.override 2006/06/15 12:19:06 1.4
-+++ gtk/gtkunixprint.override 2006/06/22 15:51:01 1.5
-@@ -151,8 +151,6 @@
- static char *kwlist[] = { "callback", "user_data", NULL };
- PyObject *pyfunc, *pyarg = NULL;
- PyGtkCustomNotify *cunote;
-- GError *error = NULL;
-- gboolean ret;
-
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|O:gtk.unixprint.PrintJob.send",
-@@ -169,18 +167,10 @@
- Py_INCREF(cunote->func);
- Py_XINCREF(cunote->data);
-
-- ret = gtk_print_job_send(GTK_PRINT_JOB(self->obj),
-+ gtk_print_job_send(GTK_PRINT_JOB(self->obj),
- pygtk_print_job_complete_func_cb,
-- cunote, pygtk_custom_destroy_notify, &error);
-+ cunote, pygtk_custom_destroy_notify);
-
-- if (!ret) {
-- Py_XDECREF(cunote->func);
-- Py_XDECREF(cunote->data);
-- g_free(cunote);
-- }
--
-- if (pyg_error_check(&error))
-- return NULL;
--
-- return PyBool_FromLong(ret);
-+ Py_INCREF(Py_None);
-+ return Py_None;
- }