[gedit/gnome-2-28] Bind gedit_document_set_uri in python



commit 461172aaa936e6085f06b49defd60958e52cda79
Author: Jesse van den Kieboom <jesse icecrew nl>
Date:   Sun Oct 11 02:13:16 2009 +0200

    Bind gedit_document_set_uri in python
    
    Signed-off-by: Jesse van den Kieboom <jesse icecrew nl>

 plugin-loaders/python/bindings/gedit.defs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/plugin-loaders/python/bindings/gedit.defs b/plugin-loaders/python/bindings/gedit.defs
index 6febc89..17a8450 100644
--- a/plugin-loaders/python/bindings/gedit.defs
+++ b/plugin-loaders/python/bindings/gedit.defs
@@ -254,6 +254,15 @@
   (return-type "gchar*")
 )
 
+(define-method set_uri
+  (of-object "GeditDocument")
+  (c-name "gedit_document_set_uri")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "uri")
+  )
+)
+
 (define-method get_uri_for_display
   (of-object "GeditDocument")
   (c-name "gedit_document_get_uri_for_display")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]