From: Jürg Billeter Date: Sat, 13 Mar 2010 19:32:22 +0000 (+0100) Subject: Drop support for bootstrapping with vala < 0.7.6 X-Git-Tag: 0.8.0~196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6579eb2ee25f2d8857107bccd43595e7636aca1f;p=thirdparty%2Fvala.git Drop support for bootstrapping with vala < 0.7.6 --- diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala index 7d85a213f..628c6cde7 100644 --- a/compiler/valacompiler.vala +++ b/compiler/valacompiler.vala @@ -242,7 +242,6 @@ class Vala.Compiler { // default profile context.profile = Profile.GOBJECT; context.add_define ("GOBJECT"); - context.add_define ("VALA_0_7_6_NEW_METHODS"); } else if (profile == "dova") { context.profile = Profile.DOVA; context.add_define ("DOVA"); diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index 820357347..69b08d880 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -1,6 +1,6 @@ /* gobject-2.0.vala * - * Copyright (C) 2006-2009 Jürg Billeter + * Copyright (C) 2006-2010 Jürg Billeter * Copyright (C) 2006-2008 Raffaele Sandrini * Copyright (C) 2007 Mathias Hasselmann * @@ -295,9 +295,7 @@ namespace GLib { [CCode (has_new_function = false, construct_function = "g_object_new")] public Object (...); -#if VALA_0_7_6_NEW_METHODS public static Object @new (Type type, ...); -#endif public static Object newv (Type type, [CCode (array_length_pos = 1.9)] Parameter[] parameters); [CCode (cname = "G_TYPE_FROM_INSTANCE")]