[vala] glib-2.0: Add default arguments to g_option_context_new binding



commit 16575c8f5be2315958e7cbaba22337c0934abece
Author: Jürg Billeter <j bitron ch>
Date:   Fri Sep 25 14:03:19 2009 +0200

    glib-2.0: Add default arguments to g_option_context_new binding

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 5faa8ad..591b842 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2651,7 +2651,7 @@ namespace GLib {
 	[Compact]
 	[CCode (free_function = "g_option_group_free")]
 	public class OptionGroup {
-		public OptionGroup (string name, string description, string help_description, void* user_data, DestroyNotify? destroy);
+		public OptionGroup (string name, string description, string help_description, void* user_data = null, DestroyNotify? destroy = null);
 		public void add_entries ([CCode (array_length = false)] OptionEntry[] entries);
 		public void set_parse_hooks (OptionParseFunc pre_parse_func, OptionParseFunc post_parse_hook);
 		public void set_error_hook (OptionErrorFunc error_func);



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