updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / vte-svn / vte-0.16.0-reaper-python-bindings.patch
blob47d6ce6a79193c21d17eb2bb2370ab847cef4759
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
4 @@ -7,6 +7,14 @@
5 (gtype-id "VTE_TYPE_TERMINAL")
8 +(define-object Reaper
9 + (in-module "Vte")
10 + (parent "GObject")
11 + (c-name "VteReaper")
12 + (gtype-id "VTE_TYPE_REAPER")
16 ;; Enumerations and flags ...
18 (define-enum TerminalEraseBinding
19 @@ -701,4 +709,14 @@
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
37 @@ -7,12 +7,14 @@
38 #include <pygobject.h>
39 #include <gtk/gtk.h>
40 #include "../src/vte.h"
41 +#include "../src/reaper.h"
43 modulename vte
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
51 static PyObject *
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
55 @@ -25,6 +25,7 @@
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[];