[gedit] Bind gedit_document_get_location on python
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gedit] Bind gedit_document_get_location on python
- Date: Fri, 1 Jan 2010 19:47:55 +0000 (UTC)
commit 878df0798b3ed5a2ae400dd675e62e445a34c166
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Fri Jan 1 20:47:23 2010 +0100
Bind gedit_document_get_location on python
plugin-loaders/python/bindings/gedit.defs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugin-loaders/python/bindings/gedit.defs b/plugin-loaders/python/bindings/gedit.defs
index 17a8450..1b11639 100644
--- a/plugin-loaders/python/bindings/gedit.defs
+++ b/plugin-loaders/python/bindings/gedit.defs
@@ -248,6 +248,12 @@
(return-type "GeditDocument*")
)
+(define-method get_location
+ (of-object "GeditDocument")
+ (c-name "gedit_document_get_location")
+ (return-type "GFile*")
+)
+
(define-method get_uri
(of-object "GeditDocument")
(c-name "gedit_document_get_uri")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]