Fix closing the about dialog for gtk 2.10

git-svn-id: svn://localhost/ardour2/trunk@1070 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen
2006-11-04 19:30:22 +00:00
parent ba62f8f454
commit 69d27e60ba
2 changed files with 9 additions and 0 deletions

View File

@@ -1913,11 +1913,18 @@ ARDOUR_UI::show_splash ()
{
if (about == 0) {
about = new About();
about->signal_response().connect(mem_fun (*this, &ARDOUR_UI::about_signal_response) );
}
about->present();
flush_pending ();
}
void
ARDOUR_UI::about_signal_response(int response)
{
hide_splash();
}
void
ARDOUR_UI::hide_splash ()
{

View File

@@ -309,6 +309,8 @@ class ARDOUR_UI : public Gtkmm2ext::UI
void control_methods_adjusted ();
void mmc_device_id_adjusted ();
void about_signal_response(int response);
private:
Gtk::VBox top_packer;