diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-02-18 17:53:36 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-02-18 18:23:17 +0100 |
commit | f72c1f860ddfc59af32472b5777d4afdc1d8f280 (patch) | |
tree | 073c4084d4e95e34c08d5fee0f8751c6d76eb08f | |
parent | a7db6e09901c4969772d54f95d34fab3c765ff52 (diff) | |
download | gnome-bluetooth-f72c1f860ddfc59af32472b5777d4afdc1d8f280.tar.gz |
settings-widget: Make device connection cancellablewip/hadess/fix-keyboard-cancel
In case we exit quickly.
-rw-r--r-- | lib/bluetooth-settings-widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c index 54efa486..21080fc4 100644 --- a/lib/bluetooth-settings-widget.c +++ b/lib/bluetooth-settings-widget.c @@ -851,7 +851,7 @@ connect_timeout_cb (gpointer user_data) SetupConnectData *data = (SetupConnectData *) user_data; BluetoothSettingsWidgetPrivate *priv = BLUETOOTH_SETTINGS_WIDGET_GET_PRIVATE (data->self); - bluetooth_client_connect_service (priv->client, data->device, TRUE, NULL, connect_callback, data); + bluetooth_client_connect_service (priv->client, data->device, TRUE, priv->cancellable, connect_callback, data); data->timeout_id = 0; return G_SOURCE_REMOVE; |