[gnome-bluetooth] settings-widget: Adapt to GtkStack API changes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] settings-widget: Adapt to GtkStack API changes
- Date: Thu, 28 Oct 2021 15:29:59 +0000 (UTC)
commit e93a6d6cb7e26b6535131c1bbbd38af3e1e7556b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Oct 27 14:14:48 2021 -0300
settings-widget: Adapt to GtkStack API changes
Unpack the "homogeneous" property into "hhomogeneous" and "vhomogeneous".
lib/bluetooth-settings-widget.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index 720bcb9e..d6c86bf5 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -1602,7 +1602,8 @@ add_device_section (BluetoothSettingsWidget *self)
-1);
priv->device_stack = gtk_stack_new ();
- gtk_stack_set_homogeneous (GTK_STACK (priv->device_stack), FALSE);
+ gtk_stack_set_hhomogeneous (GTK_STACK (priv->device_stack), FALSE);
+ gtk_stack_set_vhomogeneous (GTK_STACK (priv->device_stack), FALSE);
label = gtk_label_new (_("Searching for devices…"));
gtk_style_context_add_class (gtk_widget_get_style_context (label), "dim-label");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]