From: Rico Tzschichholz Date: Tue, 16 Jun 2015 05:33:46 +0000 (+0200) Subject: Revert "glib-2.0: Conditionally use boxed OptionContext since 2.44" X-Git-Tag: 0.28.1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08b184b2774b65b40ed50e7cdf8b2e4189081f09;p=thirdparty%2Fvala.git Revert "glib-2.0: Conditionally use boxed OptionContext since 2.44" This reverts commit 559a92b2256835dc6f933733a30cd98d462b33b0. (cherry picked from commit e6b24a2e5f00ba73dd06b8e57cc1ab8ccddf38ee) --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index b74b13934..79457f181 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3315,11 +3315,7 @@ namespace GLib { } [Compact] -#if GLIB_2_44 - [CCode (ref_function = "g_option_context_ref", unref_function = "g_option_context_unref", type_id = "G_TYPE_OPTION_GROUP")] -#else [CCode (free_function = "g_option_context_free")] -#endif public class OptionContext { public OptionContext (string? parameter_string = null); public void set_summary (string summary);