bluetooth: Update for changed BluetoothChooser API
This commit is contained in:
parent
53c0acacb9
commit
0f79fbc785
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ fi
|
||||||
AM_CONDITIONAL(BUILD_NETWORK, [test x$have_networkmanager = xyes])
|
AM_CONDITIONAL(BUILD_NETWORK, [test x$have_networkmanager = xyes])
|
||||||
|
|
||||||
# Check for gnome-bluetooth
|
# 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)
|
[have_bluetooth=yes], have_bluetooth=no)
|
||||||
AM_CONDITIONAL(BUILD_BLUETOOTH, [test x$have_bluetooth = xyes])
|
AM_CONDITIONAL(BUILD_BLUETOOTH, [test x$have_bluetooth = xyes])
|
||||||
|
|
||||||
|
|
|
@ -762,7 +762,7 @@ cc_bluetooth_panel_init (CcBluetoothPanel *self)
|
||||||
|
|
||||||
/* Note that this will only ever show the devices on the default
|
/* Note that this will only ever show the devices on the default
|
||||||
* adapter, this is on purpose */
|
* 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);
|
gtk_box_pack_start (GTK_BOX (WID ("box_devices")), self->priv->chooser, TRUE, TRUE, 0);
|
||||||
g_object_set (self->priv->chooser,
|
g_object_set (self->priv->chooser,
|
||||||
"show-searching", FALSE,
|
"show-searching", FALSE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue