Re: [Vala] Wrong glib-2.0 vapi



thanks guys

2015-06-16 10:33 GMT+02:00 Luca Bruno <lethalman88 gmail com>:

On 16/06/2015 05:21, yannick inizan wrote:
Hi.

I've a problem with glib-2.0 vapi and OptionContext :

[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 {

g_option_context_unref doesn't exist, but free_function exists.
I've to copy vapi and remove this condition

It's been reverted in e6b24a2e5f00ba73dd06b8e57cc1ab8ccddf38ee
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list



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