]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Drop support for bootstrapping with vala < 0.7.6
authorJürg Billeter <j@bitron.ch>
Sat, 13 Mar 2010 19:32:22 +0000 (20:32 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 13 Mar 2010 19:32:22 +0000 (20:32 +0100)
compiler/valacompiler.vala
vapi/gobject-2.0.vapi

index 7d85a213fb7d7af4a9d33812936148fd4f01dc05..628c6cde78733144bd6fa5329a90cc2e0a0f9f36 100644 (file)
@@ -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");
index 820357347d009f3440fbdc002fd51ddcb8fcd0f0..69b08d88001a04bc5133cddb7251ad250efd458a 100644 (file)
@@ -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")]