[vala/0.28] Revert "glib-2.0: Conditionally use boxed OptionContext since 2.44"



commit 08b184b2774b65b40ed50e7cdf8b2e4189081f09
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Jun 16 07:33:46 2015 +0200

    Revert "glib-2.0: Conditionally use boxed OptionContext since 2.44"
    
    This reverts commit 559a92b2256835dc6f933733a30cd98d462b33b0.
    
    (cherry picked from commit e6b24a2e5f00ba73dd06b8e57cc1ab8ccddf38ee)

 vapi/glib-2.0.vapi |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index b74b139..79457f1 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);


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