GNOME Bugzilla – Bug 760056
Add tests for hidden fundamental classes
Last modified: 2018-02-08 12:40:58 UTC
This is to provide a test case for a gjs crash.
Created attachment 318141 [details] [review] tests: Add a hidden fundamental class We could have a fundamental type A derived by a subclass B. Class A happens to be introspected, but B isn't. This can cause some issues in Gjs.
Review of attachment 318141 [details] [review]: I forgot to comment on this one! In any case, I've had it in my tree for a while, and we landed the GJS patch, so let's land this one.
Review of attachment 318141 [details] [review]: Pushed to master.
This broke pygobject and anything that uses regress.c with compiler warnings enabled, because the get_type() function does not have a prototype — see bug 777484 What's the purpose of this test? Is the fundamental sub-type public? Should the get_type() function be visible?
The fundamental sub-type is not meant to be public, it's an analogy of ClutterRootNode or ClutterDummyNode according to Lionel's description in bug 760057.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/154.