[vala] glib-2.0: Allow null hooks for OptionGroup
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Allow null hooks for OptionGroup
- Date: Sun, 11 May 2014 14:56:49 +0000 (UTC)
commit 0a8fbe1275c854f3d11f8816c8c96128988d1c81
Author: Christian Persch <chpe gnome org>
Date: Sun May 11 14:36:26 2014 +0200
glib-2.0: Allow null hooks for OptionGroup
Allow null pre-parse, post-parse, error and translation hooks.
Fixed bug #729954.
vapi/glib-2.0.vapi | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 6c493d2..92eba18 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3372,9 +3372,9 @@ namespace GLib {
public class OptionGroup {
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);
- public void set_translate_func (TranslateFunc func, DestroyNotify? destroy_notify);
+ public void set_parse_hooks (OptionParseFunc? pre_parse_func, OptionParseFunc?
post_parse_hook);
+ public void set_error_hook (OptionErrorFunc? error_func);
+ public void set_translate_func (owned TranslateFunc? func);
public void set_translation_domain (string domain);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]