From 8c54142734a03df7526be1d5feb29282fb248329 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 23 Jul 2015 08:42:05 -0400 Subject: hide splash in a sensible and understandable way --- gtk2_ardour/ardour_ui_dialogs.cc | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'gtk2_ardour/ardour_ui_dialogs.cc') diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index 08174a62bc..b0beeb50af 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -326,13 +326,6 @@ ARDOUR_UI::unload_session (bool hide_stuff) return 0; } -static bool -_hide_splash (gpointer arg) -{ - ((ARDOUR_UI*)arg)->hide_splash(); - return false; -} - void ARDOUR_UI::show_tabbable (Tabbable* t) { @@ -340,11 +333,6 @@ ARDOUR_UI::show_tabbable (Tabbable* t) return; } - if (splash && splash->is_visible()) { - // in 2 seconds, hide the splash screen - Glib::signal_timeout().connect (sigc::bind (sigc::ptr_fun (_hide_splash), this), 2000); - } - t->make_visible (); } @@ -363,10 +351,6 @@ ARDOUR_UI::attach_tabbable (Tabbable* t) if (!t) { return; } - if (splash && splash->is_visible()) { - // in 2 seconds, hide the splash screen - Glib::signal_timeout().connect (sigc::bind (sigc::ptr_fun (_hide_splash), this), 2000); - } t->attach (); } -- cgit v1.2.3