summaryrefslogtreecommitdiff
path: root/vapi/gio-2.0.vapi
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2010-07-30 16:03:00 -0700
committerEvan Nemerson <evan@coeus-group.com>2010-07-30 16:03:00 -0700
commit96dd84d13476fdcbcc3569dea16b6fc55dba4e1b (patch)
tree7b8bbf9baa7dac2bd4e04d77b333f8919eac9f11 /vapi/gio-2.0.vapi
parentdc96fbc040dc37789a179c0c94484934ed1e3179 (diff)
downloadvala-96dd84d13476fdcbcc3569dea16b6fc55dba4e1b.tar.gz
gio-2.0: Make g_settings_{get,set}_strv use arrays.
Fixes bug 625689.
Diffstat (limited to 'vapi/gio-2.0.vapi')
-rw-r--r--vapi/gio-2.0.vapi5
1 files changed, 3 insertions, 2 deletions
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 114a84c0a..2ed05c8da 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -980,7 +980,8 @@ namespace GLib {
public int get_int (string key);
public void* get_mapped (string key, GLib.SettingsGetMapping mapping);
public unowned string get_string (string key);
- public unowned string get_strv (string key);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] get_strv (string key);
public GLib.Variant get_value (string key);
public bool is_writable (string name);
public unowned string list_items ();
@@ -994,7 +995,7 @@ namespace GLib {
public bool set_flags (string key, uint value);
public bool set_int (string key, int value);
public bool set_string (string key, string value);
- public bool set_strv (string key, string value);
+ public bool set_strv (string key, [CCode (array_length = false)] string[] value);
public bool set_value (string key, GLib.Variant value);
public static void sync ();
public static void unbind (void* object, string property);