summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2022-04-11 22:47:48 +0200
committerChristian Persch <chpe@src.gnome.org>2022-04-11 22:47:48 +0200
commitaf8f53aae88aa09890d4baed7ed718f81e6489d7 (patch)
treebb8661b8b9fdb674222d273f1b9fa054d92f0ee1
parent254416436fe346ffc23fb4bb79460f7fdb60171e (diff)
downloadvte-af8f53aae88aa09890d4baed7ed718f81e6489d7.tar.gz
widget: Remove errneous gtk_widget_allocate call
This breaks widget positioning, and isn't necessary in any case. Noticed by Christian Hergert in #2554.
-rw-r--r--src/widget.cc2
1 files changed, 0 insertions, 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 */