mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-11-04 15:51:13 +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