From 6579eb2ee25f2d8857107bccd43595e7636aca1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Sat, 13 Mar 2010 20:32:22 +0100 Subject: [PATCH] Drop support for bootstrapping with vala < 0.7.6 --- compiler/valacompiler.vala | 1 - vapi/gobject-2.0.vapi | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) 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")] -- 2.47.3