[vala] Use correct marshaller for fundamental classes
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Use correct marshaller for fundamental classes
- Date: Tue, 9 Mar 2010 16:29:20 +0000 (UTC)
commit cd884c539d4e2ab24805a2ab562c22c07f708189
Author: Jürg Billeter <j bitron ch>
Date: Tue Mar 9 17:27:50 2010 +0100
Use correct marshaller for fundamental classes
Fixes bug 611845.
vala/valaclass.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index 18564b3..04342d0 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -1,6 +1,6 @@
/* valaclass.vala
*
- * Copyright (C) 2006-2009 Jürg Billeter
+ * Copyright (C) 2006-2010 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
@@ -693,6 +693,8 @@ public class Vala.Class : ObjectTypeSymbol {
if (marshaller_type_name == null) {
if (base_class != null) {
marshaller_type_name = base_class.get_marshaller_type_name ();
+ } else if (!is_compact) {
+ marshaller_type_name = get_upper_case_cname ();
} else {
marshaller_type_name = "POINTER";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]