vala r2238 - in trunk: . vala



Author: juergbi
Date: Mon Dec 22 21:28:26 2008
New Revision: 2238
URL: http://svn.gnome.org/viewvc/vala?rev=2238&view=rev

Log:
2008-12-22  JÃrg Billeter  <j bitron ch>

	* vala/valastruct.vala:

	Fix type id for library structs registered as boxed types


Modified:
   trunk/ChangeLog
   trunk/vala/valastruct.vala

Modified: trunk/vala/valastruct.vala
==============================================================================
--- trunk/vala/valastruct.vala	(original)
+++ trunk/vala/valastruct.vala	Mon Dec 22 21:28:26 2008
@@ -381,8 +381,7 @@
 
 	public override string? get_type_id () {
 		if (type_id == null) {
-			// TODO use attribute check instead
-			if (external_package) {
+			if (!has_type_id) {
 				foreach (DataType type in base_types) {
 					var st = type.data_type as Struct;
 					if (st != null) {



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