diff options
author | Christian Persch <chpe@src.gnome.org> | 2023-02-28 18:34:05 +0100 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2023-02-28 23:57:42 +0100 |
commit | c32ed91ebf34a979b5590e485dc9985603a9a906 (patch) | |
tree | eaa35da8a5a970e7bda1e9ed41e160b2d6cf291a | |
parent | a1e5a284c51dc7de202b4794ffece04983c8c7b2 (diff) | |
download | vte-c32ed91ebf34a979b5590e485dc9985603a9a906.tar.gz |
fonts: Remove unnecessary context change call
Calling pango_context_changed() is not necessary here; all changes
to the context done above this have already done that.
(cherry picked from commit 0677e390b5ddb4b70fe75185cbfe8210ee096a7b)
-rw-r--r-- | src/fonts-pangocairo.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fonts-pangocairo.cc b/src/fonts-pangocairo.cc index 98f1ab08..6a136dd0 100644 --- a/src/fonts-pangocairo.cc +++ b/src/fonts-pangocairo.cc @@ -398,8 +398,6 @@ FontInfo::create_for_context(vte::glib::RefPtr<PangoContext> context, #endif /* VTE_GTK == 4 */ } - pango_context_changed (context.get()); - if (G_UNLIKELY(s_font_info_for_context == nullptr)) s_font_info_for_context = g_hash_table_new((GHashFunc) context_hash, (GEqualFunc) context_equal); |