bluetooth: Update for changed BluetoothChooser API

This commit is contained in:
Bastien Nocera 2012-01-18 17:00:25 +00:00
parent 53c0acacb9
commit 0f79fbc785
2 changed files with 2 additions and 2 deletions

View file

@ -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])

View file

@ -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,