]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gnome-keyring-1: Fix gnome_keyring_set_network_password_sync binding
authorMark Lee <marklee@svn.gnome.org>
Sat, 4 Apr 2009 08:18:29 +0000 (01:18 -0700)
committerJürg Billeter <j@bitron.ch>
Thu, 7 May 2009 19:58:00 +0000 (21:58 +0200)
The item_id parameter for GnomeKeyring.set_network_password_sync needs
to be annotated as an "out" parameter.

Fixes part of bug 578204.

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

index 3067d8b9423b9b017f595ebf53db0e6311a9595b..4626441b3d5349482e28058f889a690402a32fe1 100644 (file)
@@ -313,7 +313,7 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* set_network_password (string? keyring, string? user, string? domain, string? server, string? object, string? protocol, string? authtype, uint32 port, string? password, owned GnomeKeyring.OperationGetIntCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result set_network_password_sync (string? keyring, string? user, string? domain, string? server, string? object, string? protocol, string? authtype, uint32 port, string? password, uint32 item_id);
+       public static GnomeKeyring.Result set_network_password_sync (string? keyring, string? user, string? domain, string? server, string? object, string? protocol, string? authtype, uint32 port, string? password, out uint32 item_id);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* store_password (GnomeKeyring.PasswordSchema schema, string? keyring, string display_name, string password, owned GnomeKeyring.OperationDoneCallback callback, ...);
        [CCode (cheader_filename = "gnome-keyring.h")]
index 9fd9af7d79504f647d77b6dc39258b284be97592..5d62c7294d1ed57b42433db54b0ba4641332fe62 100644 (file)
@@ -108,6 +108,7 @@ gnome_keyring_set_network_password_sync.object nullable="1"
 gnome_keyring_set_network_password_sync.protocol nullable="1"
 gnome_keyring_set_network_password_sync.authtype nullable="1"
 gnome_keyring_set_network_password_sync.password nullable="1"
+gnome_keyring_set_network_password_sync.item_id is_out="1"
 gnome_keyring_find_network_password.callback transfer_ownership="1"
 gnome_keyring_find_network_password.data hidden="1"
 gnome_keyring_find_network_password.user nullable="1"