core: avoid using DBusGMethodInvocation in auth API
While porting to GDBus, use opaque pointers. This allows us to include either a DBusGMethodInvocation or a GDBusMethodInvocation in the 'context' pointer. Once fully ported to GDBus, we can safely change it back to make the context be a GDBusMethodInvocation.
This commit is contained in:

committed by
Aleksander Morgado

parent
1e79a2d292
commit
d47176a32c
@@ -1023,7 +1023,7 @@ impl_manager_scan_devices (MMManager *manager,
|
||||
MM_AUTHORIZATION_MANAGER_CONTROL,
|
||||
G_OBJECT (manager),
|
||||
context,
|
||||
scan_devices_auth_cb,
|
||||
(MMAuthRequestCb)scan_devices_auth_cb,
|
||||
NULL,
|
||||
NULL,
|
||||
&error)) {
|
||||
|
Reference in New Issue
Block a user