[gnome-control-center] bluetooth: Update for changed BluetoothChooser API
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] bluetooth: Update for changed BluetoothChooser API
- Date: Wed, 18 Jan 2012 17:01:13 +0000 (UTC)
commit 0f79fbc78501e879a984d7debdfaf9c053c048ec
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jan 18 17:00:25 2012 +0000
bluetooth: Update for changed BluetoothChooser API
configure.ac | 2 +-
panels/bluetooth/cc-bluetooth-panel.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5e15c84..fcf0e67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,7 +151,7 @@ fi
AM_CONDITIONAL(BUILD_NETWORK, [test x$have_networkmanager = xyes])
# Check for gnome-bluetooth
-PKG_CHECK_MODULES(BLUETOOTH, $COMMON_MODULES gnome-bluetooth-1.0 >= 3.3.0,
+PKG_CHECK_MODULES(BLUETOOTH, $COMMON_MODULES gnome-bluetooth-1.0 >= 3.3.4,
[have_bluetooth=yes], have_bluetooth=no)
AM_CONDITIONAL(BUILD_BLUETOOTH, [test x$have_bluetooth = xyes])
diff --git a/panels/bluetooth/cc-bluetooth-panel.c b/panels/bluetooth/cc-bluetooth-panel.c
index 9cee156..1a6c6a3 100644
--- a/panels/bluetooth/cc-bluetooth-panel.c
+++ b/panels/bluetooth/cc-bluetooth-panel.c
@@ -762,7 +762,7 @@ cc_bluetooth_panel_init (CcBluetoothPanel *self)
/* Note that this will only ever show the devices on the default
* adapter, this is on purpose */
- self->priv->chooser = bluetooth_chooser_new (NULL);
+ self->priv->chooser = bluetooth_chooser_new ();
gtk_box_pack_start (GTK_BOX (WID ("box_devices")), self->priv->chooser, TRUE, TRUE, 0);
g_object_set (self->priv->chooser,
"show-searching", FALSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]