diff --git a/src/pavuapplication.cc b/src/pavuapplication.cc index f4ad11a..915ab2d 100644 --- a/src/pavuapplication.cc +++ b/src/pavuapplication.cc @@ -47,7 +47,7 @@ PavuApplication::PavuApplication() : } /* - * Create the main window and connect its "on_hide_window" signal to our cleanup + * Create the main window and connect its "on_close_window" signal to our cleanup * function */ MainWindow* PavuApplication::create_window() @@ -86,7 +86,7 @@ void PavuApplication::on_activate() mainWindow->present(); } -/* "on_hide_window" signal handler +/* "on_close_window" signal handler * This is executed in the first-running process and performs cleanup before * exiting : when the last registered window of Gtk::Application is closed, * the application's run() function returns. diff --git a/src/pavuapplication.h b/src/pavuapplication.h index 70cf90b..902efdd 100644 --- a/src/pavuapplication.h +++ b/src/pavuapplication.h @@ -44,7 +44,6 @@ protected: private: MainWindow* create_window(); - void on_hide_window(); bool on_close_window(); pa_glib_mainloop *m;