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 597319 - wnck.defs tries to define enums as flags
wnck.defs tries to define enums as flags
Status: RESOLVED DUPLICATE of bug 590534
Product: gnome-python-desktop
Classification: Deprecated
Component: wnck
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
: 594904 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-04 16:16 UTC by Tony Houghton
Modified: 2009-11-22 00:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix python-wnck enum definitions (735 bytes, patch)
2009-10-04 16:16 UTC, Tony Houghton
none Details | Review

Description Tony Houghton 2009-10-04 16:16:25 UTC
Created attachment 144717 [details] [review]
Patch to fix python-wnck enum definitions

import wnck was generating the following errors and the symbols defined in
those enums were not being added to the module:

** (.:8728): WARNING **: Trying to register gtype 'WnckWindowState' as flags
when in fact it is of type 'GEnum'

** (.:8728): WARNING **: Trying to register gtype 'WnckWindowActions' as flags
when in fact it is of type 'GEnum'

** (.:8728): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as
flags when in fact it is of type 'GEnum'

I changed wnck.defs and that seems to have fixed it. Patch attached.
Comment 1 Tony Houghton 2009-11-21 20:03:07 UTC

*** This bug has been marked as a duplicate of bug 590534 ***
Comment 2 Paul Pogonyshev 2009-11-22 00:57:45 UTC
*** Bug 594904 has been marked as a duplicate of this bug. ***