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 641512 - local_command_line "arguments" argument is a string instead of an array of strings.
local_command_line "arguments" argument is a string instead of an array of st...
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GTK+ GStreamer WebKitGTK+
0.11.x
Other Linux
: Normal major
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks: 641100
 
 
Reported: 2011-02-04 16:01 UTC by Patricia Santana Cruz
Modified: 2011-02-10 09:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Patricia Santana Cruz 2011-02-04 16:01:28 UTC
The argument "arguments" in the virtual "local_command_line" function (Gio) is an string, meanwhile in C is an array of strings. Vala's argument should be an array of strings too.

See sources for C:

http://git.gnome.org/browse/glib/tree/gio/gapplication.c#n245

and for Vala:

http://git.gnome.org/browse/vala/tree/vapi/gio-2.0.vapi#n77
Comment 1 Jürg Billeter 2011-02-07 09:36:52 UTC
commit ac47799a0c9162cacecb913be6d56b12b2310639
Author: Jürg Billeter <j@bitron.ch>
Date:   Mon Feb 7 10:32:37 2011 +0100

    gio-2.0: Fix g_application_local_command_line binding
    
    Fixes bug 641512.