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 696055 - update glib bindings for g_option_context_new
update glib bindings for g_option_context_new
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GLib
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-18 13:25 UTC by Christian Persch
Modified: 2013-03-18 19:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2013-03-18 13:25:01 UTC
g_option_context_new allows NULL as parameter_string. glib was updated to use the allow-none annotation, but afaik the glib bindings aren't autogenerated from git so this may need to be changed manually. See https://git.gnome.org/browse/glib/commit/?id=9863cce079e8ece11cce61902d6ea08c6780467a .

If the gtk+ bindings are manual too, you may need the same thing for gtk_init_with_args from https://git.gnome.org/browse/gtk+/commit/?id=953253f685dc1d2d77f0ddd8637b0a0249364f4f too.
Comment 1 Evan Nemerson 2013-03-18 19:40:08 UTC
commit 120b7a5b63820d7961c0ffc806cdb0f28df4f6f5
Author: Evan Nemerson <evan@coeus-group.com>
Date:   Mon Mar 18 12:37:20 2013 -0700

    glib-2.0, gtk+-3.0: make parameter string for goption nullable
    
    Fixes bug 696055.