[vala] gnome-keyring-1: Fix gnome_keyring_set_network_password_sync binding



commit b79e71655994aeededa7044a8642bc5e9608e2d4
Author: Mark Lee <marklee svn gnome org>
Date:   Sat Apr 4 01:18:29 2009 -0700

    gnome-keyring-1: Fix gnome_keyring_set_network_password_sync binding
    
    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                          |    2 +-
 .../gnome-keyring-1/gnome-keyring-1.metadata       |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/vapi/gnome-keyring-1.vapi b/vapi/gnome-keyring-1.vapi
index 3067d8b..4626441 100644
--- a/vapi/gnome-keyring-1.vapi
+++ b/vapi/gnome-keyring-1.vapi
@@ -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")]
diff --git a/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata b/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata
index 9fd9af7..5d62c72 100644
--- a/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata
+++ b/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata
@@ -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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]