From: Jee-Yong Um Date: Fri, 9 Sep 2016 07:14:42 +0000 (+0900) Subject: glib-2.0: Fix wrong return type of OptionContext.get_description() X-Git-Tag: 0.33.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a7b1963af282220535c7701805ea72fd6f1462c;p=thirdparty%2Fvala.git glib-2.0: Fix wrong return type of OptionContext.get_description() OptionContext.get_description() should return 'unowned string', but it does not return any value currently. (void) https://bugzilla.gnome.org/show_bug.cgi?id=771123 --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 8e6b91dc0..9227cbb1f 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3621,7 +3621,7 @@ namespace GLib { [Version (since = "2.12")] public void set_description (string description); [Version (since = "2.12")] - public void get_description (); + public unowned string get_description (); [Version (since = "2.12")] public void set_translate_func (TranslateFunc func, DestroyNotify? destroy_notify); [Version (since = "2.12")]