summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArun Raghavan <arun@asymptotic.io>2024-04-15 17:06:45 -0400
committerArun Raghavan <arun@asymptotic.io>2024-04-15 17:07:22 -0400
commita1ac8eb8d38de5a34f728156936b9c0a613a48b8 (patch)
treedf3c8c99759812e5c3c5ef061400a04423b88393 /src
parent19d19b9e4b88bae3f74f13520747bdd09e88080c (diff)
pavuapplication: Drop references to unused on_hide_window
Diffstat (limited to 'src')
-rw-r--r--src/pavuapplication.cc4
-rw-r--r--src/pavuapplication.h1
2 files changed, 2 insertions, 3 deletions
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;