GObject: fixup reversed logic in last commit

Accidentally dropped a !.
This commit is contained in:
Ryan Lortie 2011-12-20 15:29:16 -05:00
parent 3af050f6fc
commit 958f2bac7a

View File

@ -1380,7 +1380,7 @@ object_interface_check_properties (gpointer func_data,
* the READABLE and WRITABLE flags. We also simplify here
* by only checking the value type, not the G_PARAM_SPEC_TYPE.
*/
if (g_type_is_a (pspecs[n]->value_type, class_pspec->value_type))
if (!g_type_is_a (pspecs[n]->value_type, class_pspec->value_type))
g_critical ("Property '%s' on class '%s' has type '%s' "
"which is different from the type '%s', "
"of the property on interface '%s'\n",