[vte] widget: Remove errneous gtk_widget_allocate call
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Remove errneous gtk_widget_allocate call
- Date: Mon, 11 Apr 2022 20:47:56 +0000 (UTC)
commit af8f53aae88aa09890d4baed7ed718f81e6489d7
Author: Christian Persch <chpe src gnome org>
Date: Mon Apr 11 22:47:48 2022 +0200
widget: Remove errneous gtk_widget_allocate call
This breaks widget positioning, and isn't necessary in any case. Noticed
by Christian Hergert in #2554.
src/widget.cc | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/widget.cc b/src/widget.cc
index ec69f628..104b3c3e 100644
--- a/src/widget.cc
+++ b/src/widget.cc
@@ -1885,8 +1885,6 @@ Widget::size_allocate(int width,
vte::terminal::Terminal::Alignment(m_xalign),
vte::terminal::Terminal::Alignment(m_yalign),
m_xfill, m_yfill);
-
- gtk_widget_allocate(gtk(), width, height, baseline, nullptr);
}
#endif /* VTE_GTK */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]