[vala] Drop support for bootstrapping with vala < 0.7.6
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Drop support for bootstrapping with vala < 0.7.6
- Date: Sat, 13 Mar 2010 19:33:17 +0000 (UTC)
commit 6579eb2ee25f2d8857107bccd43595e7636aca1f
Author: Jürg Billeter <j bitron ch>
Date: Sat Mar 13 20:32:22 2010 +0100
Drop support for bootstrapping with vala < 0.7.6
compiler/valacompiler.vala | 1 -
vapi/gobject-2.0.vapi | 4 +---
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index 7d85a21..628c6cd 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 8203573..69b08d8 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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]