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 730088 - xcb: No binding for xcb_connection_has_error
xcb: No binding for xcb_connection_has_error
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
0.24.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-13 21:40 UTC by Robert Ancell
Modified: 2014-05-14 04:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add binding for xcb_connection_has_error (1.33 KB, patch)
2014-05-13 21:40 UTC, Robert Ancell
needs-work Details | Review
Add binding for xcb_connection_has_error (1.36 KB, patch)
2014-05-14 01:17 UTC, Robert Ancell
accepted-commit_now Details | Review

Description Robert Ancell 2014-05-13 21:40:08 UTC
No binding for xcb_connection_has_error
Comment 1 Robert Ancell 2014-05-13 21:40:45 UTC
Created attachment 276479 [details] [review]
Add binding for xcb_connection_has_error
Comment 2 Evan Nemerson 2014-05-14 00:01:16 UTC
Comment on attachment 276479 [details] [review]
Add binding for xcb_connection_has_error

Based on http://xcb.freedesktop.org/manual/group__XCB__Core__API.html#ga70a6bade94bd2824db552abcf5fbdbe3 it seems like the function returns an int.  I like the idea of using an enum, but I think the CCode annotation on the enum type should be something like [CCode (cprefix = "XCB_CONN_", cname = "int", has_type_id = false)].
Comment 3 Robert Ancell 2014-05-14 01:17:03 UTC
Created attachment 276497 [details] [review]
Add binding for xcb_connection_has_error

Updated to use int type. I wasn't aware the correct way of doing that, thanks!