From: Rico Tzschichholz Date: Wed, 21 Mar 2018 14:27:53 +0000 (+0100) Subject: gobject-2.0: Fix bootstrap with valac < 0.26 X-Git-Tag: 0.41.90~225 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11bab5ae01d6114af3062faad4735b629fd722a3;p=thirdparty%2Fvala.git gobject-2.0: Fix bootstrap with valac < 0.26 --- diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index 520cc5266..b9a09adbf 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -152,7 +152,11 @@ namespace GLib { public static unowned GLib.ParamSpec? interface_find_property (GLib.TypeInterface g_iface, string property_name); public static void interface_install_property (GLib.TypeInterface g_iface, GLib.ParamSpec pspec); [CCode (array_length_pos = 1.1, array_length_type = "guint")] +#if VALA_0_26 public static (unowned GLib.ParamSpec)[] interface_list_properties (GLib.TypeInterface g_iface); +#else + public static unowned GLib.ParamSpec[] interface_list_properties (GLib.TypeInterface g_iface); +#endif public bool is_floating (); public static GLib.Object @new (GLib.Type type, ...); public static GLib.Object new_valist (GLib.Type type, string? firstprop, va_list var_args);