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



commit e4f1d5884be8a93e94f1d6285238cbab50a79342
Author: Mark Lee <marklee svn gnome org>
Date:   Thu Apr 2 23:58:46 2009 -0700

    gnome-keyring-1: Fix gnome_keyring_find_network_password_sync binding
    
    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                          |    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 a5d5654..4f85ed6 100644
--- a/vapi/gnome-keyring-1.vapi
+++ b/vapi/gnome-keyring-1.vapi
@@ -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")]
diff --git a/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata b/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata
index d725105..9fd9af7 100644
--- a/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata
+++ b/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata
@@ -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"



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