[libadwaita/wip/exalm/tab-fixes: 16/18] tab: Don't resize when display width changes
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/tab-fixes: 16/18] tab: Don't resize when display width changes
- Date: Mon, 27 Dec 2021 19:58:34 +0000 (UTC)
commit e152e4687c8dbc54aea93030c97582af551ffabb
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Dec 27 15:07:43 2021 +0500
tab: Don't resize when display width changes
It doesn't actually cause resizes and only emits warnings.
See https://gitlab.gnome.org/GNOME/libadwaita/-/issues/352
src/adw-tab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-tab.c b/src/adw-tab.c
index d135ce03..d797fdb7 100644
--- a/src/adw-tab.c
+++ b/src/adw-tab.c
@@ -950,7 +950,7 @@ adw_tab_set_display_width (AdwTab *self,
self->display_width = width;
- gtk_widget_queue_resize (GTK_WIDGET (self));
+ gtk_widget_queue_allocate (GTK_WIDGET (self));
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_DISPLAY_WIDTH]);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]