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 710072 - Add alternate spellings for GDK_2/3BUTTON_PRESS enums
Add alternate spellings for GDK_2/3BUTTON_PRESS enums
Status: RESOLVED DUPLICATE of bug 671025
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-10-13 22:47 UTC by Simon Feltman
Modified: 2013-10-13 22:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon Feltman 2013-10-13 22:47:00 UTC
The issue is these enums show up as Gdk.EventType.2BUTTON_PRESS in introspection based languages which is not a valid identifier. We currently cope with this by prefixing numerically named items with an underscore. The issue with this is underscore prefixing usually means the attribute is internal. The proposal is to add alternate versions of these enums with the numbers spelled out:
GDK_TWO_BUTTON_PRESS and GDK_THREE_BUTTON_PRESS.
Comment 1 Simon Feltman 2013-10-13 22:50:02 UTC
Oops, sorry for the noise.

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