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 668522 - Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
Trying to register gtype 'GMountMountFlags' as enum when in fact it is of typ...
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: gio
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
: 676287 (view as bug list)
Depends on: 671942
Blocks:
 
 
Reported: 2012-01-23 17:35 UTC by dirk.seynol
Modified: 2012-05-19 20:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gio-types.defs: change some enums to flags (1.20 KB, patch)
2012-03-12 20:45 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description dirk.seynol 2012-01-23 17:35:52 UTC
System: ubuntu precise i386

For the first time i'm seeing this error logged at the beginning of xsession-errors.

** WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

Reported on Launchpad:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/918607
Comment 1 Matthias Clasen 2012-01-25 02:24:35 UTC

*** This bug has been marked as a duplicate of bug 667938 ***
Comment 2 Sebastien Bacher 2012-01-25 19:40:14 UTC
Hum, Matthias, are you sure it's the same issue? 
those warning are still there using the current glib even after a gvfs (1.10.1) rebuild
Comment 3 Sebastien Bacher 2012-02-08 17:06:35 UTC
reopening, the issue is still there with glib 2.31.16 and gvfs 1.11.3
Comment 4 Allison Karlitskaya (desrt) 2012-03-12 20:45:43 UTC
Created attachment 209543 [details] [review]
gio-types.defs: change some enums to flags

These flags types were originally incorrectly handled in glib as being
enums.  That bug was fixed, but they're still enums here, leading to
warnings about the mismatch.

Change them to flags.
Comment 5 Allison Karlitskaya (desrt) 2012-03-12 23:27:18 UTC
Attachment 209543 [details] pushed as 42d01f0 - gio-types.defs: change some enums to flags
Comment 6 Kai Willadsen 2012-05-19 20:28:19 UTC
*** Bug 676287 has been marked as a duplicate of this bug. ***