1 diff -NarU 3 vte-0.16.0.orig/python/vte.defs vte-0.16.0/python/vte.defs
2 --- vte-0.16.0.orig/python/vte.defs 2007-02-26 22:05:02.000000000 +0100
3 +++ vte-0.16.0/python/vte.defs 2007-03-14 20:44:55.000000000 +0100
5 (gtype-id "VTE_TYPE_TERMINAL")
11 + (c-name "VteReaper")
12 + (gtype-id "VTE_TYPE_REAPER")
16 ;; Enumerations and flags ...
18 (define-enum TerminalEraseBinding
20 (return-type "const-char*")
23 +;; From ../src/reaper.h
24 +(define-function vte_reaper_get_type
25 + (c-name "vte_reaper_get_type")
26 + (return-type "GtkType")
29 +(define-function reaper_get
30 + (c-name "vte_reaper_get")
31 + (return-type "VteReaper*")
34 diff -NarU 3 vte-0.16.0.orig/python/vte.override vte-0.16.0/python/vte.override
35 --- vte-0.16.0.orig/python/vte.override 2007-02-26 22:05:02.000000000 +0100
36 +++ vte-0.16.0/python/vte.override 2007-03-14 20:46:12.000000000 +0100
38 #include <pygobject.h>
40 #include "../src/vte.h"
41 +#include "../src/reaper.h"
45 import gtk.gdk.Pixbuf as PyGdkPixbuf_Type
46 import gtk.MenuShell as PyGtkMenuShell_Type
47 import gtk.Widget as PyGtkWidget_Type
48 +import gobject.GObject as PyGObject_Type
50 override vte_terminal_feed kwargs
52 diff -NarU 3 vte-0.16.0.orig/python/vtemodule.c vte-0.16.0/python/vtemodule.c
53 --- vte-0.16.0.orig/python/vtemodule.c 2007-02-26 22:05:02.000000000 +0100
54 +++ vte-0.16.0/python/vtemodule.c 2007-03-14 20:47:12.000000000 +0100
56 #include <pygobject.h>
57 #include <pygtk/pygtk.h>
58 #include "../src/vte.h"
59 +#include "../src/reaper.h"
61 extern void pyvte_register_classes(PyObject * d);
62 extern PyMethodDef pyvte_functions[];