[pulseaudio-commits] src/mainwindow.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 9 15:35:33 UTC 2020
src/mainwindow.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a2a452f249947e6fd603d35d86a82e7c5d650795
Author: mephinet <mephinet at gmx.net>
Date: Wed Oct 21 12:17:28 2020 +0200
mainwindow: Close window instead of quitting on Ctrl-W etc.
The end result is the same, so this isn't strictly needed - originally
this patch fixed a segfault, but that segfault got fixed in a different
way before merging this patch.
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index e1a0a82..d36cf57 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -222,7 +222,7 @@ bool MainWindow::on_key_press_event(GdkEventKey* event) {
case GDK_KEY_Q:
case GDK_KEY_w:
case GDK_KEY_q:
- this->get_application()->quit();
+ close();
return true;
}
}
More information about the pulseaudio-commits
mailing list