mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
GDBusConnection: Pass the GObject to g_simple_async_result_new()
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
a6f1bb4e17
commit
133e87ca87
@ -965,7 +965,7 @@ g_dbus_connection_flush (GDBusConnection *connection,
|
||||
|
||||
g_return_if_fail (G_IS_DBUS_CONNECTION (connection));
|
||||
|
||||
simple = g_simple_async_result_new (NULL,
|
||||
simple = g_simple_async_result_new (G_OBJECT (connection),
|
||||
callback,
|
||||
user_data,
|
||||
g_dbus_connection_flush);
|
||||
@ -1185,7 +1185,7 @@ g_dbus_connection_close (GDBusConnection *connection,
|
||||
|
||||
g_return_if_fail (G_IS_DBUS_CONNECTION (connection));
|
||||
|
||||
simple = g_simple_async_result_new (NULL,
|
||||
simple = g_simple_async_result_new (G_OBJECT (connection),
|
||||
callback,
|
||||
user_data,
|
||||
g_dbus_connection_close);
|
||||
|
Loading…
Reference in New Issue
Block a user