]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
hal: Fix libhal_find_device_by_capability binding
authorJürg Billeter <j@bitron.ch>
Sat, 8 Oct 2011 14:18:05 +0000 (16:18 +0200)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 13:20:30 +0000 (14:20 +0100)
vapi/hal.vapi

index 53753a668b8f5b2532907333b6298ba58434c571..c6f2aaf4bc3aeb4a325840978fb05894902628de 100644 (file)
@@ -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")]