[gnome-text-editor] spellcheck: fix markup for name



commit 579b84d65dfa8db6d1f174f4591834405b15fd18
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 1 08:34:57 2021 -0700

    spellcheck: fix markup for name
    
    Apparently I was crazy before when I saw pango markup issue.

 src/editor-spell-menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/editor-spell-menu.c b/src/editor-spell-menu.c
index 7f59747..da4a7c0 100644
--- a/src/editor-spell-menu.c
+++ b/src/editor-spell-menu.c
@@ -38,7 +38,7 @@ populate_languages (GMenu *menu)
   for (guint i = 0; i < infos->len; i++)
     {
       EditorSpellLanguageInfo *info = g_ptr_array_index (infos, i);
-      g_autofree char *name = g_markup_escape_text (editor_spell_language_info_get_name (info), -1);
+      const char *name = editor_spell_language_info_get_name (info);
       const char *code = editor_spell_language_info_get_code (info);
       g_autoptr(GMenuItem) item = g_menu_item_new (name, NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]