[gtksourceviewmm/gtksourceviewmm-4: 6/9] tests: Remove Gtk::Container::show_all() calls.



commit 047a954066ca0e0e6d5a031f7473b932588db38e
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Mar 31 12:14:33 2017 +0200

    tests: Remove Gtk::Container::show_all() calls.

 tests/basic/main.cc      | 2 --
 tests/completion/main.cc | 1 -
 tests/search/main.cc     | 2 --
 3 files changed, 5 deletions(-)
---
diff --git a/tests/basic/main.cc b/tests/basic/main.cc
index f87c1f2..2700638 100644
--- a/tests/basic/main.cc
+++ b/tests/basic/main.cc
@@ -26,8 +26,6 @@ main (int a_argc, char *a_argv[])
     Window window ;
     window.add (source_view) ;
 
-    window.show_all () ;
-
     app->run (window) ;
 
     return 0 ;
diff --git a/tests/completion/main.cc b/tests/completion/main.cc
index c705279..366591f 100644
--- a/tests/completion/main.cc
+++ b/tests/completion/main.cc
@@ -232,7 +232,6 @@ main (int argc, char *argv[])
 
   TestWindow window;
 
-  window.show_all();
   app->run(window);
   return 0;
 }
diff --git a/tests/search/main.cc b/tests/search/main.cc
index 4bab065..baf288b 100644
--- a/tests/search/main.cc
+++ b/tests/search/main.cc
@@ -68,7 +68,6 @@ class SearchDialog : public Dialog {
                 (*this, &SearchDialog::on_search_backward_button_clicked_signal));
 
         m_hbox->pack_start (*m_search_backward_button, PACK_SHRINK) ;
-        m_hbox->show_all () ;
     }
 
     void on_search_forward_button_clicked_signal ()
@@ -370,7 +369,6 @@ main (int argc, char **argv)
 
     App app ; //TODO: Derive from Gtk::Application?
     app.get_widget ().set_size_request (500, 400) ;
-    app.get_widget ().show_all () ;
     if (argc == 2) {
         app.open_file (filename_to_utf8 (argv[1])) ;
     }


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