]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gnome-keyring-1: Fix gnome_keyring_find_network_password_sync binding
authorMark Lee <marklee@svn.gnome.org>
Fri, 3 Apr 2009 06:58:46 +0000 (23:58 -0700)
committerJürg Billeter <j@bitron.ch>
Sun, 12 Apr 2009 15:58:37 +0000 (17:58 +0200)
The results parameter for GnomeKeyring.find_network_password_sync needs to be
annotated as an "out" parameter. Fixes bug 577810.

vapi/gnome-keyring-1.vapi
vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata

index a5d5654522b0f7eb327aaceb27a738ae8f8032aa..4f85ed6a568aeef328f86278f4e1eec3cc329a5e 100644 (file)
@@ -196,7 +196,7 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* find_network_password (string? user, string? domain, string? server, string? object, string? protocol, string? authtype, uint32 port, owned GnomeKeyring.OperationGetListCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result find_network_password_sync (string? user, string? domain, string? server, string? object, string? protocol, string? authtype, uint32 port, GLib.List results);
+       public static GnomeKeyring.Result find_network_password_sync (string? user, string? domain, string? server, string? object, string? protocol, string? authtype, uint32 port, out unowned GLib.List results);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* find_password (GnomeKeyring.PasswordSchema schema, owned GnomeKeyring.OperationGetStringCallback callback, ...);
        [CCode (cheader_filename = "gnome-keyring.h")]
index d72510561d6d898c3769cae6a5bd278cc27148bb..9fd9af7d79504f647d77b6dc39258b284be97592 100644 (file)
@@ -123,6 +123,7 @@ gnome_keyring_find_network_password_sync.server nullable="1"
 gnome_keyring_find_network_password_sync.object nullable="1"
 gnome_keyring_find_network_password_sync.protocol nullable="1"
 gnome_keyring_find_network_password_sync.authtype nullable="1"
+gnome_keyring_find_network_password_sync.results is_out="1"
 
 #item api
 GnomeKeyringAttribute is_value_type="1"