mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
Merge branch 'dbus-connection-setup-flags' into 'main'
tools: Set g_dbus_connection_new_for_address initialization flags See merge request chergert/libmks!12
This commit is contained in:
commit
5c12eac44f
@ -33,7 +33,7 @@ create_connection (int argc,
|
||||
if (argc < 2)
|
||||
return g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, error);
|
||||
else
|
||||
return g_dbus_connection_new_for_address_sync (argv[1], 0, NULL, NULL, error);
|
||||
return g_dbus_connection_new_for_address_sync (argv[1], G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT | G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION, NULL, NULL, error);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user