DBus VTable delegates require _target
Submitted by Reiner Merk
Link to original bug (#690684)
Description
Created attachment 232161 'has_target = false' and add a user_data void pointer to VTable delegates
Using DBus VTable delegates will cause cause compile errors like
error: ‘GDBusSubtreeVTable’ has no member named ‘dispatch_target’
for DBusSubtreeDispatchFunc.
The attached patch will add CCode 'has_target = false' and add a user_data void pointer for user data transfer to the following delegates:
DBusSubtreeEnumerateFunc DBusSubtreeIntrospectFunc DBusSubtreeDispatchFunc
DBusInterfaceMethodCallFunc DBusInterfaceGetPropertyFunc DBusInterfaceSetPropertyFunc
nemequ assured me that no other part of vala depends on the current signatures of those delegates.
Patch 232161, "'has_target = false' and add a user_data void pointer to VTable delegates":
userdata_vtable_delegates.patch
Version: 0.18.x