Fix gnome_keyring_find_password_sync binding, patch by Michael Terry,
authorJürg Billeter <j@bitron.ch>
Fri, 17 Oct 2008 11:07:34 +0000 (11:07 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 17 Oct 2008 11:07:34 +0000 (11:07 +0000)
2008-10-17  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gnome-keyring-1/:

Fix gnome_keyring_find_password_sync binding,
patch by Michael Terry, fixes bug 556636

* vapi/gnome-keyring-1.vapi: regenerated

svn path=/trunk/; revision=1844

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

index cc00422..5b167ca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2008-10-17  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/packages/gnome-keyring-1/:
+
+       Fix gnome_keyring_find_password_sync binding,
+       patch by Michael Terry, fixes bug 556636
+
+       * vapi/gnome-keyring-1.vapi: regenerated
+
+2008-10-17  Jürg Billeter  <j@bitron.ch>
+
        * vapi/packages/gtk+-2.0/:
 
        Fix gtk_message_dialog_format_secondary_text binding,
index 213767a..2fdf6a4 100644 (file)
@@ -61,12 +61,14 @@ namespace GnomeKeyring {
        [CCode (copy_function = "gnome_keyring_access_control_copy", cheader_filename = "gnome-keyring.h")]
        public class AccessControl {
                public weak GnomeKeyring.AccessControl copy ();
+               [CCode (has_construct_function = false)]
                public AccessControl (GnomeKeyring.ApplicationRef application, GnomeKeyring.AccessType types_allowed);
        }
        [Compact]
        [CCode (copy_function = "gnome_keyring_application_ref_copy", cheader_filename = "gnome-keyring.h")]
        public class ApplicationRef {
                public weak GnomeKeyring.ApplicationRef copy ();
+               [CCode (has_construct_function = false)]
                public ApplicationRef ();
        }
        [Compact]
@@ -98,6 +100,7 @@ namespace GnomeKeyring {
                public weak string get_display_name ();
                public ulong get_mtime ();
                public weak string get_secret ();
+               [CCode (has_construct_function = false)]
                public ItemInfo ();
                public void set_display_name (string value);
                public void set_secret (string value);
@@ -199,7 +202,7 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* find_password (GnomeKeyring.PasswordSchema schema, GnomeKeyring.OperationGetStringCallback callback, GLib.DestroyNotify destroy_data, ...);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result find_password_sync (GnomeKeyring.PasswordSchema schema, string password, ...);
+       public static GnomeKeyring.Result find_password_sync (GnomeKeyring.PasswordSchema schema, out weak string password, ...);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void free_password (string password);
        [CCode (cheader_filename = "gnome-keyring.h")]
@@ -247,7 +250,7 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static GnomeKeyring.Result item_get_info_full_sync (string? keyring, uint id, uint flags, out weak GnomeKeyring.ItemInfo info);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result item_get_info_sync (string keyring, uint id, out weak GnomeKeyring.ItemInfo info);
+       public static weak GnomeKeyring.Result? item_get_info_sync (string keyring, uint id, out weak GnomeKeyring.ItemInfo info);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* item_grant_access_rights (string? keyring, string display_name, string full_path, uint id, GnomeKeyring.AccessType rights, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify? destroy_data);
        [CCode (cheader_filename = "gnome-keyring.h")]
index 76132ec..bee77ec 100644 (file)
@@ -9,6 +9,7 @@ gnome_keyring_find_password ellipsis="1"
 gnome_keyring_find_password.keyring nullable="1"
 gnome_keyring_find_password.data hidden="1"
 gnome_keyring_find_password_sync ellipsis="1"
+gnome_keyring_find_password_sync.password is_out="1"
 gnome_keyring_delete_password ellipsis="1"
 gnome_keyring_delete_password.keyring nullable="1"
 gnome_keyring_delete_password.data hidden="1"