]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Revert "glib-2.0: Conditionally use boxed OptionContext since 2.44"
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 16 Jun 2015 05:33:46 +0000 (07:33 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 16 Jun 2015 05:40:33 +0000 (07:40 +0200)
This reverts commit 559a92b2256835dc6f933733a30cd98d462b33b0.

(cherry picked from commit e6b24a2e5f00ba73dd06b8e57cc1ab8ccddf38ee)

vapi/glib-2.0.vapi

index b74b139346f346ff893a20accd764d8ffafe95a2..79457f1814f4c31a473f5cfc0c730dca7925bc12 100644 (file)
@@ -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);