GNOME Bugzilla – Bug 698382
GSignal: fix annotation on the instance parameter
Last modified: 2015-02-07 16:44:14 UTC
If this is approved, I'll also do a round of annotation updates in gobject-introspection.
Created attachment 241930 [details] [review] GSignal: fix annotation on the instance parameter The instance parameter to the various g_signal functions is a gpointer because technically it is valid to install signals on any GTypeInstance. Practically speaking, in all language bindings, only GObjects have signals anyway, so it makes sense to export them as objects.
Just FYI, there was another version of this ticket with a similar patch that I closed out because it didn't get much traction (bug 633999). For PyGObject we hacked around it and changing these annotations would break PyGObject at this point. I would be happy to get rid of the hackery though, so if this ever goes in, please communicate with the PyGObject maintainers or better yet submit a patch removing the usage of "__gpointer__" in: https://git.gnome.org/browse/pygobject/tree/gi/overrides/GObject.py
*** This bug has been marked as a duplicate of bug 685387 ***
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]