[Vala] Bug in vala



Is this a bug ???

I'm using Glib.Settings API, and specifically this:
public bool set_strv (string key, [CCode (array_length = false)] string[] value) from that class and when using as it says passing an string array as second parameters I'm getting a warning from the compiler:
spider_window.c: In function ‘spider_window_edit_preferences_callback’:
spider_window.c:811:3: warning: passing argument 3 of ‘g_settings_set_strv’ from incompatible pointer type /usr/include/glib-2.0/gio/gsettings.h:124:25: note: expected ‘const gchar * const*’ but argument is of type ‘char **’

And that shouldn't happen.

Erick

please someone make a bug of this I can't access right now to bugzilla.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]