diff options
author | Evan Nemerson <evan@coeus-group.com> | 2010-05-15 21:50:18 -0700 |
---|---|---|
committer | Evan Nemerson <evan@coeus-group.com> | 2010-05-15 21:55:39 -0700 |
commit | 9128e0560ea140c7f9375f047d53040117a77e91 (patch) | |
tree | ee8ded2380d00c74ac9ffb193f425ac608021186 /vapi/gconf-2.0.vapi | |
parent | 0cf58abd10726ce7a2d550c7a2779a9e1df61237 (diff) | |
download | vala-9128e0560ea140c7f9375f047d53040117a77e91.tar.gz |
gconf-2.0: add several missing type arguments, some ownership fixes
Diffstat (limited to 'vapi/gconf-2.0.vapi')
-rw-r--r-- | vapi/gconf-2.0.vapi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vapi/gconf-2.0.vapi b/vapi/gconf-2.0.vapi index 88f50732f..77f919bc3 100644 --- a/vapi/gconf-2.0.vapi +++ b/vapi/gconf-2.0.vapi @@ -88,8 +88,8 @@ namespace GConf { [Compact] [CCode (ref_function = "gconf_engine_ref", ref_function_void = true, unref_function = "gconf_engine_unref", cheader_filename = "gconf/gconf.h")] public class Engine { - public unowned GLib.SList all_dirs (string dir) throws GLib.Error; - public unowned GLib.SList all_entries (string dir) throws GLib.Error; + public GLib.SList<string> all_dirs (string dir) throws GLib.Error; + public GLib.SList<GConf.Entry> all_entries (string dir) throws GLib.Error; public bool associate_schema (string key, string schema_key) throws GLib.Error; public unowned GConf.ChangeSet change_set_from_current (...) throws GLib.Error; public unowned GConf.ChangeSet change_set_from_currentv (string keys) throws GLib.Error; @@ -102,9 +102,9 @@ namespace GConf { public unowned GConf.Entry get_entry (string key, string locale, bool use_schema_default) throws GLib.Error; public double get_float (string key) throws GLib.Error; public static unowned GConf.Engine get_for_address (string address) throws GLib.Error; - public static unowned GConf.Engine get_for_addresses (GLib.SList addresses) throws GLib.Error; + public static unowned GConf.Engine get_for_addresses (GLib.SList<string> addresses) throws GLib.Error; public int get_int (string key) throws GLib.Error; - public unowned GLib.SList get_list (string key, GConf.ValueType list_type) throws GLib.Error; + public GLib.SList get_list (string key, GConf.ValueType list_type) throws GLib.Error; public bool get_pair (string key, GConf.ValueType car_type, GConf.ValueType cdr_type, void* car_retloc, void* cdr_retloc) throws GLib.Error; public unowned GConf.Schema get_schema (string key) throws GLib.Error; public unowned string get_string (string key) throws GLib.Error; @@ -226,7 +226,7 @@ namespace GConf { public unowned GConf.Value get_cdr (); public double get_float (); public int get_int (); - public unowned GLib.SList get_list (); + public unowned GLib.SList<GConf.Value> get_list (); public GConf.ValueType get_list_type (); public unowned GConf.Schema get_schema (); public unowned string get_string (); @@ -237,8 +237,8 @@ namespace GConf { public void set_cdr_nocopy (GConf.Value cdr); public void set_float (double the_float); public void set_int (int the_int); - public void set_list (GLib.SList list); - public void set_list_nocopy (GLib.SList list); + public void set_list (GLib.SList<GConf.Value> list); + public void set_list_nocopy (owned GLib.SList<GConf.Value> list); public void set_list_type (GConf.ValueType type); public void set_schema (GConf.Schema sc); public void set_schema_nocopy (GConf.Schema sc); |