[gedit] Update python bindings adding the new param to save_as.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Update python bindings adding the new param to save_as.
- Date: Tue, 27 Apr 2010 11:38:47 +0000 (UTC)
commit 20d30bcf499e1d11d3fa95195bdc90b039d687df
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Apr 19 13:02:32 2010 +0200
Update python bindings adding the new param to save_as.
plugin-loaders/python/bindings/gedit.defs | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/plugin-loaders/python/bindings/gedit.defs b/plugin-loaders/python/bindings/gedit.defs
index 83cde29..916a61f 100644
--- a/plugin-loaders/python/bindings/gedit.defs
+++ b/plugin-loaders/python/bindings/gedit.defs
@@ -103,6 +103,17 @@
)
)
+(define-enum NewlineType
+ (in-module "Gedit")
+ (c-name "GeditDocumentNewlineType")
+ (gtype-id "GEDIT_TYPE_DOCUMENT_NEWLINE_TYPE")
+ (values
+ '("lf" "GEDIT_DOCUMENT_NEWLINE_TYPE_LF")
+ '("cr" "GEDIT_DOCUMENT_NEWLINE_TYPE_CR")
+ '("cr-lf" "GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF")
+ )
+)
+
(define-flags DocumentSaveFlags
(in-module "Gedit")
(c-name "GeditDocumentSaveFlags")
@@ -327,6 +338,7 @@
(parameters
'("GFile*" "location")
'("const-GeditEncoding*" "encoding")
+ '("GeditDocumentNewlineType" "newline_type")
'("GeditDocumentSaveFlags" "flags")
)
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]