mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 11:50:18 +01:00
vapi: annotate finish function for DeviceWifi.request_scan_options_async
G-IR currently lacks an annotation for associating async calls to their
_finish counterparts. As a result, vala's binding generator assumes that
corresponding function is just function name - _async + _finish. This
holds true for 99% of the time, but not here, because
nm_device_wifi_request_scan_options_async uses
nm_device_wifi_request_scan_finish instead of expected
nm_device_wifi_request_scan_options_finish (sharing it with
nm_device_wifi_request_scan_async). As such, a metadata entry is
required to point vala to correct finishing function.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1114
(cherry picked from commit c0e31c7a70)
This commit is contained in:
parent
883f2c74aa
commit
64c8bc24d6
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
* cheader_filename="NetworkManager.h"
|
||||
|
||||
DeviceWifi.request_scan_options_async finish_name="nm_device_wifi_request_scan_finish"
|
||||
Setting.get_secret_flags#virtual_method skip
|
||||
Setting.set_secret_flags#virtual_method skip
|
||||
Setting.verify#virtual_method skip
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue