[vala] hal: Fix libhal_find_device_by_capability binding



commit adadeeed6221d91f83cb5893ee0d3a530259cabf
Author: JÃrg Billeter <j bitron ch>
Date:   Sat Oct 8 16:18:05 2011 +0200

    hal: Fix libhal_find_device_by_capability binding

 vapi/hal.vapi |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/vapi/hal.vapi b/vapi/hal.vapi
index 53753a6..c6f2aaf 100644
--- a/vapi/hal.vapi
+++ b/vapi/hal.vapi
@@ -37,8 +37,7 @@ namespace Hal {
 		public void* get_user_data ();
 		public bool set_device_added (DeviceAdded _callback);
 		public bool set_device_removed (DeviceRemoved _callback);
-		[CCode (cname = "libhal_find_device_by_capability")]
-		[CCode (array_length_pos = 1.9)]
+		[CCode (cname = "libhal_find_device_by_capability", array_length_pos = 1.9)]
 		public string[] find_device_by_capability (string capability, ref DBus.RawError error);
 
 		[CCode (cname = "libhal_device_get_property_string")]



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