[gtksourceviewmm] tests: Remove Gtk::Container::show_all() calls.



commit 58847a9a2065e7d25d3edd58fee5e17c875113a7
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, 0 insertions(+), 5 deletions(-)
---
diff --git a/tests/basic/main.cc b/tests/basic/main.cc
index 0ab6bc2..f57da23 100644
--- a/tests/basic/main.cc
+++ b/tests/basic/main.cc
@@ -25,8 +25,6 @@ main ()
     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 6718a96..7ef8ffd 100644
--- a/tests/completion/main.cc
+++ b/tests/completion/main.cc
@@ -231,7 +231,6 @@ main ()
 
   TestWindow window;
 
-  window.show_all();
   app->run(window);
   return 0;
 }
diff --git a/tests/search/main.cc b/tests/search/main.cc
index 582fed7..098eaf4 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 ()
@@ -369,7 +368,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]