After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619286 - Warning when inheriting from a GInterface
Warning when inheriting from a GInterface
Status: RESOLVED DUPLICATE of bug 617159
Product: pygi
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: 0.6
Assigned To: pygi-maint
pygi-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-21 12:58 UTC by Steve Frécinaux
Modified: 2010-05-21 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample case showing the above warning. (516 bytes, text/x-python)
2010-05-21 12:58 UTC, Steve Frécinaux
  Details
Fix warning appearing when inheriting from a GInterface. (780 bytes, patch)
2010-05-21 13:03 UTC, Steve Frécinaux
none Details | Review

Description Steve Frécinaux 2010-05-21 12:58:58 UTC
Created attachment 161639 [details]
Sample case showing the above warning.

When defining a type inheriting from a GInterface, we get the following warning:
> pygi/gi/types.py:110: Warning: cannot unreference class of invalid (unclassed)
> type `GtkEditable'
>   vfunc)

The related python code in types.py is:
> hook_up_vfunc_implementation(vfunc_info, cls.__gtype__, vfunc)
Comment 1 Steve Frécinaux 2010-05-21 13:03:32 UTC
Created attachment 161640 [details] [review]
Fix warning appearing when inheriting from a GInterface.
Comment 2 Tomeu Vizoso 2010-05-21 13:16:21 UTC
Dupe, would be better to go through the patch queue and checkin as much as we want:

https://bugzilla.gnome.org/page.cgi?id=patchreport.html&product=pygi&patch-status=none

*** This bug has been marked as a duplicate of bug 617159 ***