summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-02-17 16:19:30 +0100
committerBastien Nocera <hadess@hadess.net>2021-02-17 17:31:30 +0100
commitb43482374153147dd0752e5cdecb7b254b61e099 (patch)
treeb4ae8283a7e4e0a782d18bf97a9bb7e2d0c613eb
parent4378bdb7077eae511fe22a32c72a03b330ea316b (diff)
downloadgnome-bluetooth-b43482374153147dd0752e5cdecb7b254b61e099.tar.gz
lib: Export BluetoothAgent to our private introspection
-rw-r--r--lib/gnome-bluetooth.map2
-rw-r--r--lib/meson.build5
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/gnome-bluetooth.map b/lib/gnome-bluetooth.map
index b1c7d75f..16051236 100644
--- a/lib/gnome-bluetooth.map
+++ b/lib/gnome-bluetooth.map
@@ -47,6 +47,8 @@ global:
bluetooth_filter_widget_bind_filter;
bluetooth_chooser_combo_get_type;
bluetooth_chooser_combo_new;
+ bluetooth_agent_get_type;
+ bluetooth_agent_error_get_type;
bluetooth_agent_new;
bluetooth_agent_set_pincode_func;
bluetooth_agent_register;
diff --git a/lib/meson.build b/lib/meson.build
index 90fa0343..5080a952 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -139,7 +139,10 @@ if enable_gir
gnomebt_priv_gir = gnome.generate_gir(
libgnome_bluetooth,
- sources: gir_sources + ['bluetooth-client-private.h'],
+ sources: gir_sources + [
+ 'bluetooth-client-private.h',
+ 'bluetooth-agent.h',
+ ],
nsversion: gnomebt_api_version,
namespace: 'GnomeBluetoothPriv',
symbol_prefix: 'bluetooth',