glib/gobject
Ryan Lortie 5fb7a8e127 GObject: fix property override type checks
The property override typecheck was meant to enforce the type on the
overriding property being exactly equal to the type on the interface
property.  Instead, g_type_is_a() was incorrectly used.

We could try to enforce equality, but if a property is read-only then it
should be possible for the implementation to type the property with any
subtype of the type specified on the interface (because returning a more
specific type will still satisfy the interface).  Likewise, if the
property is write-only then it should be possible for the implementation
to type the property with any supertype.

We implement the check this way.

https://bugzilla.gnome.org/show_bug.cgi?id=666616
2011-12-20 19:18:25 -05:00
..
2011-12-14 09:33:30 -05:00
2011-05-23 00:21:06 -04:00
2009-03-31 19:39:16 -04:00
2011-06-14 18:51:57 -04:00
2011-10-18 17:12:33 +01:00
2011-06-09 11:15:40 -04:00
2011-08-19 11:44:44 +02:00
2011-12-13 23:01:51 -05:00
2010-07-12 17:46:17 -04:00
2011-11-07 23:12:45 +01:00
2011-11-18 10:46:35 +01:00
2011-10-18 17:12:33 +01:00
2011-11-12 19:13:44 -05:00
2008-06-21 18:20:43 +00:00
2011-09-05 18:46:59 -04:00
2011-08-29 14:49:32 -04:00
2008-06-22 09:45:13 +00:00