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 778173 - GDK keysyms in gdk-2.0.vapi doesn't include header gdk/gdkkeysyms.h
GDK keysyms in gdk-2.0.vapi doesn't include header gdk/gdkkeysyms.h
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
0.34.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-04 11:34 UTC by opensource.danielmeek32
Modified: 2017-02-04 12:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
corrected gdk-2.0.vapi (253.38 KB, text/x-vala)
2017-02-04 11:34 UTC, opensource.danielmeek32
Details

Description opensource.danielmeek32 2017-02-04 11:34:11 UTC
Created attachment 344922 [details]
corrected gdk-2.0.vapi

gdk-2.0.vapi doesn't include the header gdk/gdkkeysyms.h. There are many lines reading, for example:

    [CCode (cheader_filename = "gdk/gdk.h")]
    public const int @3270_Enter;

which include the header gdk/gdk.h rather than gdk/gdkkeysyms.h.

Attached is the correct gdk-2.0.vapi.
Comment 1 Rico Tzschichholz 2017-02-04 12:22:43 UTC
commit 6b275cf3adcdae1b91054586435d10c99d13c0ef
Author: Rico Tzschichholz <ricotz@ubuntu.com>
Date:   Sat Feb 4 13:12:18 2017 +0100

    gdk-2.0: Include gdk/gdkkeysyms.h for Gdk.Key
    
    Required since gdk.h doesn't include gdk/gdkkeysyms.h as gdk-3.0 does.