Commit b79e7165 authored by Mark Lee's avatar Mark Lee Committed by Jürg Billeter

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.
parent a97b493e
......@@ -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")]
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment