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 18:34:05 +0100 |
commit | 0677e390b5ddb4b70fe75185cbfe8210ee096a7b (patch) | |
tree | 2ea163156240e7b562b56b0c001b1836c0dbfff2 | |
parent | 241df48d93dbefc1559a6a4e7cea8e60735661d8 (diff) | |
download | vte-0677e390b5ddb4b70fe75185cbfe8210ee096a7b.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.
-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 0fb23b75..fb32cfe8 100644 --- a/src/fonts-pangocairo.cc +++ b/src/fonts-pangocairo.cc @@ -414,8 +414,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); |