[gnome-text-editor] spellcheck: fix warning



commit 4e7a76353cba7b503406917e2ac28db9c3a48e27
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 5 16:02:57 2021 -0700

    spellcheck: fix warning

 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 79afcec..cb3ef76 100644
--- a/src/editor-spell-menu.c
+++ b/src/editor-spell-menu.c
@@ -96,7 +96,7 @@ editor_spell_menu_set_corrections (GMenuModel         *menu,
 
   g_return_if_fail (G_IS_MENU_MODEL (menu));
 
-  if (!(corrections_menu = g_object_get_data (menu, "CORRECTIONS_MENU")))
+  if (!(corrections_menu = g_object_get_data (G_OBJECT (menu), "CORRECTIONS_MENU")))
     g_return_if_reached ();
 
   while (g_menu_model_get_n_items (G_MENU_MODEL (corrections_menu)))


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