[gspell/wip/gtk4: 137/141] Remove gtk_widget_show_all calls



commit 07754b9062d7a65b2985e8b3edac193a54ae0ae8
Author: Timm Bäder <mail baedert org>
Date:   Sun May 14 09:41:27 2017 +0200

    Remove gtk_widget_show_all calls

 gspell/gspell-context-menu.c |    4 ++--
 tests/test-entry.c           |    4 ++--
 tests/test-text-view-basic.c |    2 +-
 tests/test-text-view.c       |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gspell/gspell-context-menu.c b/gspell/gspell-context-menu.c
index 313656c..0f1819b 100644
--- a/gspell/gspell-context-menu.c
+++ b/gspell/gspell-context-menu.c
@@ -151,7 +151,7 @@ _gspell_context_menu_get_language_menu_item (const GspellLanguage            *cu
 
        menu_item = GTK_MENU_ITEM (gtk_menu_item_new_with_mnemonic (_("_Language")));
        gtk_menu_item_set_submenu (menu_item, lang_menu);
-       gtk_widget_show_all (GTK_WIDGET (menu_item));
+       gtk_widget_show (GTK_WIDGET (menu_item));
 
        return menu_item;
 }
@@ -339,7 +339,7 @@ _gspell_context_menu_get_suggestions_menu_item (GspellChecker
 
        menu_item = GTK_MENU_ITEM (gtk_menu_item_new_with_mnemonic (_("_Spelling Suggestions…")));
        gtk_menu_item_set_submenu (menu_item, suggestion_menu);
-       gtk_widget_show_all (GTK_WIDGET (menu_item));
+       gtk_widget_show (GTK_WIDGET (menu_item));
 
        return menu_item;
 }
diff --git a/tests/test-entry.c b/tests/test-entry.c
index 03a5ae7..6007929 100644
--- a/tests/test-entry.c
+++ b/tests/test-entry.c
@@ -120,7 +120,7 @@ create_sidebar (TestSpell *spell)
                                G_BINDING_SYNC_CREATE |
                                G_BINDING_INVERT_BOOLEAN);
 
-       gtk_widget_show_all (vgrid);
+       gtk_widget_show (vgrid);
 
        return vgrid;
 }
@@ -144,7 +144,7 @@ test_spell_init (TestSpell *spell)
        gtk_container_add (GTK_CONTAINER (spell),
                           GTK_WIDGET (spell->entry));
 
-       gtk_widget_show_all (GTK_WIDGET (spell));
+       gtk_widget_show (GTK_WIDGET (spell));
 }
 
 static TestSpell *
diff --git a/tests/test-text-view-basic.c b/tests/test-text-view-basic.c
index 4e2da36..f8da2bd 100644
--- a/tests/test-text-view-basic.c
+++ b/tests/test-text-view-basic.c
@@ -46,7 +46,7 @@ main (gint    argc,
 
        gtk_container_add (GTK_CONTAINER (scrolled_window), GTK_WIDGET (gtk_view));
        gtk_container_add (GTK_CONTAINER (window), scrolled_window);
-       gtk_widget_show_all (window);
+       gtk_widget_show (window);
 
        gtk_main ();
 
diff --git a/tests/test-text-view.c b/tests/test-text-view.c
index 64d18a6..bd2a9e6 100644
--- a/tests/test-text-view.c
+++ b/tests/test-text-view.c
@@ -196,7 +196,7 @@ test_spell_init (TestSpell *spell)
        gtk_container_add (GTK_CONTAINER (spell),
                           scrolled_window);
 
-       gtk_widget_show_all (GTK_WIDGET (spell));
+       gtk_widget_show (GTK_WIDGET (spell));
 }
 
 static TestSpell *


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