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:
@@ -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 ()
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user