GObject: do checks on interface property install

Add some checks to g_object_interface_install_property() similar to
those in g_object_class_install_property().

https://bugzilla.gnome.org/show_bug.cgi?id=666616
This commit is contained in:
Ryan Lortie
2011-12-20 19:45:57 -05:00
parent b237187109
commit 557da16507
2 changed files with 8 additions and 2 deletions

View File

@@ -487,7 +487,7 @@ test_interface_default_init (TestInterfaceInterface *iface)
g_object_interface_install_property (iface, pspec);
exit (0);
}
//g_test_trap_assert_failed (); XXX g_object_interface_install_property has no checks
g_test_trap_assert_failed ();
continue;
}