summaryrefslogtreecommitdiff
path: root/lib/bluetooth-settings-widget.c
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2021-10-27 15:41:38 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2021-10-28 11:23:46 -0300
commitb592d09343f8ee9bb6627762db114b0f9f990461 (patch)
tree5452d4071ca09e5b9c4700177dff8d581d74a3b2 /lib/bluetooth-settings-widget.c
parentf3e1fc0abc676a6f53762b06d82e99afa0cf1d39 (diff)
downloadgnome-bluetooth-b592d09343f8ee9bb6627762db114b0f9f990461.tar.gz
lib: Adapt to GtkSwitch API changes
The "active" property is now "spinning", and "use_action_appearance" doesn't exist anymore.
Diffstat (limited to 'lib/bluetooth-settings-widget.c')
-rw-r--r--lib/bluetooth-settings-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index d6c86bf5..b9f7d7a5 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -1576,7 +1576,7 @@ add_device_section (BluetoothSettingsWidget *self)
/* Discoverable spinner */
priv->device_spinner = spinner = gtk_spinner_new ();
g_object_bind_property (G_OBJECT (priv->client), "default-adapter-discovering",
- G_OBJECT (priv->device_spinner), "active",
+ G_OBJECT (priv->device_spinner), "spinning",
G_BINDING_SYNC_CREATE);
gtk_widget_set_margin_bottom (spinner, 12);
gtk_box_append (GTK_BOX (hbox), spinner);