GObject: fixup reversed logic in last commit
authorRyan Lortie <desrt@desrt.ca>
Tue, 20 Dec 2011 20:29:16 +0000 (15:29 -0500)
committerRyan Lortie <desrt@desrt.ca>
Tue, 20 Dec 2011 20:29:16 +0000 (15:29 -0500)
Accidentally dropped a !.

gobject/gobject.c

index c581839cdf1535aa127d6a48e59bd046bc5b4562..eabd2fe4d9722f639eece0b3a7524bf820d00d5d 100644 (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",