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 669242 - glib-2.0: An AsyncQueue may return null on try_pop() and timed_pop() and their unlocked counterparts.
glib-2.0: An AsyncQueue may return null on try_pop() and timed_pop() and the...
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
0.15.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-02 13:31 UTC by Alexander Kurtz
Modified: 2012-02-02 14:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1.35 KB, patch)
2012-02-02 13:31 UTC, Alexander Kurtz
none Details | Review

Description Alexander Kurtz 2012-02-02 13:31:32 UTC
Created attachment 206633 [details] [review]
Patch

An AsyncQueue may return null on try_pop() and  timed_pop() and their unlocked counterparts[0], but the current bindings don't reflect that. The attached patch should fix this.

[0] http://developer.gnome.org/glib/2.30/glib-Asynchronous-Queues.html#g-async-queue-try-pop
Comment 1 Luca Bruno 2012-02-02 14:49:00 UTC
commit 206ab85db95d4ef22c861dca3be2e0a325ef4bb1
Author: Alexander Kurtz <kurtz.alex@googlemail.com>
Date:   Thu Feb 2 14:26:04 2012 +0100

    glib-2.0: AsyncQueue.try_pop() and timed_pop() may return null
    
    Fixes bug 669242.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.