[gedit] spell: more missing separators



commit 86d8fddb06c34d6292a67ff83b09e8f2ffde5dea
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Feb 7 20:36:51 2012 +0100

    spell: more missing separators

 plugins/spell/gedit-automatic-spell-checker.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/spell/gedit-automatic-spell-checker.c b/plugins/spell/gedit-automatic-spell-checker.c
index a15688e..80ac06a 100644
--- a/plugins/spell/gedit-automatic-spell-checker.c
+++ b/plugins/spell/gedit-automatic-spell-checker.c
@@ -437,7 +437,7 @@ build_suggestion_menu (GeditAutomaticSpellChecker *spell, const gchar *word)
 			if (count == 10) 
 			{
 				/* Separator */
-				mi = gtk_menu_item_new ();
+				mi = gtk_separator_menu_item_new ();
 				gtk_widget_show (mi);
 				gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
 	
@@ -491,7 +491,7 @@ build_suggestion_menu (GeditAutomaticSpellChecker *spell, const gchar *word)
 	g_slist_free (suggestions);
 
 	/* Separator */
-	mi = gtk_menu_item_new ();
+	mi = gtk_separator_menu_item_new ();
 	gtk_widget_show (mi);
 	gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
 



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