]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gconf-2.0: add several missing type arguments, some ownership fixes
authorEvan Nemerson <evan@coeus-group.com>
Sun, 16 May 2010 04:50:18 +0000 (21:50 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sun, 16 May 2010 04:55:39 +0000 (21:55 -0700)
vapi/gconf-2.0.vapi
vapi/packages/gconf-2.0/gconf-2.0.metadata

index 88f50732f5edd1b35a18c85fa4d68533c16f71f4..77f919bc3780513eeb0d28b38ddf91e2cc169e6c 100644 (file)
@@ -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);
index d1dcc29a824588159018594a5f02d24572be9528..b29e219bbfe4b34f9016e3d4cd962a1ae5d25405 100644 (file)
@@ -16,9 +16,16 @@ gconf_client_get_string transfer_ownership="1" nullable="1"
 gconf_client_notify_add.func transfer_ownership="1"
 gconf_client_notify_add.destroy_notify hidden="1"
 gconf_client_get_without_default transfer_ownership="1" nullable="1"
+gconf_engine_all_dirs transfer_ownership="1" type_arguments="string"
+gconf_engine_all_entries transfer_ownership="1" type_arguments="Entry"
+gconf_engine_get_for_addresses.addresses type_arguments="string"
+gconf_engine_get_list transfer_ownership="1"
 gconf_entry_copy transfer_ownership="1"
 gconf_schema_copy transfer_ownership="1"
 gconf_value_copy transfer_ownership="1"
+gconf_value_get_list type_arguments="Value"
+gconf_value_set_list.list type_arguments="Value"
+gconf_value_set_list_nocopy.list transfer_ownership="1" type_arguments="Value"
 # deprecated and useless
 gconf_init hidden="1"
 gconf_meta_info_mod_time name="get_mod_time"