vala r1859 - in trunk: . vala
- From: asabil svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1859 - in trunk: . vala
- Date: Sun, 19 Oct 2008 21:58:08 +0000 (UTC)
Author: asabil
Date: Sun Oct 19 21:58:07 2008
New Revision: 1859
URL: http://svn.gnome.org/viewvc/vala?rev=1859&view=rev
Log:
2008-10-19 Ali Sabil <ali sabil gmail com>
* vala/valainterface.vala:
Fix interface properties in GObject classes
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/vala/valainterface.vala
Modified: trunk/vala/valainterface.vala
==============================================================================
--- trunk/vala/valainterface.vala (original)
+++ trunk/vala/valainterface.vala Sun Oct 19 21:58:07 2008
@@ -541,6 +541,13 @@
if (cl != null) {
return cl.get_param_spec_function ();
}
+ var interf = prereq.type_symbol as Interface;
+ if (interf != null) {
+ var param_spec_function = interf.get_param_spec_function ();
+ if (param_spec_function != null) {
+ return param_spec_function;
+ }
+ }
}
return null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]