[gnome-shell] config: Check for new required GnomeBluetooth API
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] config: Check for new required GnomeBluetooth API
- Date: Sat, 3 Sep 2022 15:11:05 +0000 (UTC)
commit 9bda370636941e58f7f4ff3ef866039718d63cf7
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Sep 1 17:30:33 2022 +0200
config: Check for new required GnomeBluetooth API
Client.default_adapter_state is a recent API addition, so update
the HAVE_BLUETOOTH check accordingly before depending on it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2444>
js/misc/config.js.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/js/misc/config.js.in b/js/misc/config.js.in
index deb5139d17..7fc0e637a1 100644
--- a/js/misc/config.js.in
+++ b/js/misc/config.js.in
@@ -19,7 +19,8 @@ var PKGDATADIR = '@datadir@/@PACKAGE_NAME@';
/* g-i package versions */
var LIBMUTTER_API_VERSION = '@LIBMUTTER_API_VERSION@'
-var HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0');
+var HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0',
+ 'Client.default_adapter_state')
var HAVE_RECORDER =
pkg.checkSymbol('Gst', '1.0') &&
imports.gi.Gst.init_check(null) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]