Commit b32780fa authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Don't complain about incompatible signal handlers when using signals in

2008-05-31  Jürg Billeter  <j@bitron.ch>

	* vala/valadatatype.vala:

	Don't complain about incompatible signal handlers when using
	signals in generic types

svn path=/trunk/; revision=1522
parent 363d7716
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valadatatype.vala:
Don't complain about incompatible signal handlers when using
signals in generic types
2008-05-31 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
......
......@@ -270,14 +270,17 @@ public abstract class Vala.DataType : CodeNode {
return false;
}
/* temporarily ignore type parameters */
if (type_parameter != null || type2.type_parameter != null) {
return true;
}
if (type2.data_type != data_type) {
// FIXME: allow this type reference to refer to a
// subtype of the type type2 is referring to
return false;
}
if (type2.type_parameter != type_parameter) {
return false;
}
if (type2.floating_reference != floating_reference) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment