vala r2415 - in trunk: . vala



Author: juergbi
Date: Sun Feb  1 16:52:51 2009
New Revision: 2415
URL: http://svn.gnome.org/viewvc/vala?rev=2415&view=rev

Log:
2009-02-01  JÃrg Billeter  <j bitron ch>

	* vala/valaproperty.vala:

	Support overriding members in .vapi files


Modified:
   trunk/ChangeLog
   trunk/vala/valaproperty.vala

Modified: trunk/vala/valaproperty.vala
==============================================================================
--- trunk/vala/valaproperty.vala	(original)
+++ trunk/vala/valaproperty.vala	Sun Feb  1 16:52:51 2009
@@ -1,6 +1,6 @@
 /* valaproperty.vala
  *
- * Copyright (C) 2006-2008  JÃrg Billeter
+ * Copyright (C) 2006-2009  JÃrg Billeter
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -343,14 +343,9 @@
 		}
 
 		if (parent_symbol is Class) {
-			/* VAPI classes don't specify overridden properties */
-			if (!parent_symbol.external_package) {
-				find_base_interface_property ((Class) parent_symbol);
-				if (is_virtual || overrides) {
-					find_base_class_property ((Class) parent_symbol);
-				}
-			} else if (is_virtual || is_abstract) {
-				_base_property = this;
+			find_base_interface_property ((Class) parent_symbol);
+			if (is_virtual || overrides) {
+				find_base_class_property ((Class) parent_symbol);
 			}
 		} else if (parent_symbol is Interface) {
 			if (is_virtual || is_abstract) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]