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 616306 - wnck GFlags gtypes registered as enums
wnck GFlags gtypes registered as enums
Status: RESOLVED WONTFIX
Product: gnome-python-desktop
Classification: Deprecated
Component: wnck
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2010-04-20 16:16 UTC by Tom 'spot' Callaway
Modified: 2014-08-02 13:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix three enum items that should be flags (847 bytes, patch)
2010-04-20 16:16 UTC, Tom 'spot' Callaway
none Details | Review

Description Tom 'spot' Callaway 2010-04-20 16:16:40 UTC
Created attachment 159176 [details] [review]
fix three enum items that should be flags

Note: This is not a dupe of https://bugzilla.gnome.org/show_bug.cgi?id=590534

Gwibber exposes this minor bug, although, it really happens with simply importing the wnck python component.

** (gwibber:10984): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (gwibber:10984): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (gwibber:10984): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'

This is against libwnck 2.30.0, which has the fix from 590534 applied. This time, I think the wnck.defs are just wrong. Attaching a patch to set them as flags, not enum.
Comment 1 Pacho Ramos 2010-07-21 15:46:08 UTC
Same problem on Gentoo
Comment 2 Felipe Morales 2011-02-28 22:07:08 UTC
Same problem in Arch, with python-wnck 2.32.0.
Comment 3 André Klapper 2014-08-02 13:02:37 UTC
The last gnome-python-desktop code changes took place in January 2011:
https://git.gnome.org/browse/archive/gnome-python-desktop/log/

This project is not under active development anymore.

This project got recently archived in GNOME Git.

It is currently unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again. If you are interested in maintainership, inform https://mail.gnome.org/mailman/listinfo/desktop-devel-list

gnome-python-desktop wrapped application API in GNOME 2. For Python in GNOME 3, see https://wiki.gnome.org/Projects/PyGObject and its gobject-introspection approach.