vala r1859 - in trunk: . vala



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]