[gedit] Set some default values in the bindings of save/save as



commit ec606c31ae75e48c67fd2d10f6a0816a50601df8
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sat May 15 18:43:03 2010 +0200

    Set some default values in the bindings of save/save as

 plugin-loaders/python/bindings/gedit.defs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugin-loaders/python/bindings/gedit.defs b/plugin-loaders/python/bindings/gedit.defs
index b010b7c..e19eb2c 100644
--- a/plugin-loaders/python/bindings/gedit.defs
+++ b/plugin-loaders/python/bindings/gedit.defs
@@ -343,7 +343,7 @@
   (of-object "GeditDocument")
   (c-name "gedit_document_save")
   (parameters
-    '("GeditDocumentSaveFlags" "flags")
+    '("GeditDocumentSaveFlags" "flags" (default "0"))
   )
   (return-type "none")
 )
@@ -354,9 +354,9 @@
   (return-type "none")
   (parameters
     '("GFile*" "location")
-    '("const-GeditEncoding*" "encoding")
-    '("GeditDocumentNewlineType" "newline_type")
-    '("GeditDocumentSaveFlags" "flags")
+    '("const-GeditEncoding*" "encoding" (default "NULL") (null-ok))
+    '("GeditDocumentNewlineType" "newline_type" (default "0"))
+    '("GeditDocumentSaveFlags" "flags" (default "0"))
   )
 )
 



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