vala r2238 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2238 - in trunk: . vala
- Date: Mon, 22 Dec 2008 21:28:27 +0000 (UTC)
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]