vala r1844 - in trunk: . vapi vapi/packages/gnome-keyring-1



Author: juergbi
Date: Fri Oct 17 11:07:34 2008
New Revision: 1844
URL: http://svn.gnome.org/viewvc/vala?rev=1844&view=rev

Log:
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


Modified:
   trunk/ChangeLog
   trunk/vapi/gnome-keyring-1.vapi
   trunk/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata

Modified: trunk/vapi/gnome-keyring-1.vapi
==============================================================================
--- trunk/vapi/gnome-keyring-1.vapi	(original)
+++ trunk/vapi/gnome-keyring-1.vapi	Fri Oct 17 11:07:34 2008
@@ -61,12 +61,14 @@
 	[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 @@
 		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 @@
 	[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 @@
 	[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")]

Modified: trunk/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata
==============================================================================
--- trunk/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata	(original)
+++ trunk/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata	Fri Oct 17 11:07:34 2008
@@ -9,6 +9,7 @@
 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"



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