[pulseaudio-commits] [Git][pulseaudio/pavucontrol][master] mainwindow: Close window instead of quitting on Ctrl-W etc.

Tanu Kaskinen gitlab at gitlab.freedesktop.org
Mon Nov 9 15:35:33 UTC 2020



Tanu Kaskinen pushed to branch master at PulseAudio / pavucontrol


Commits:
a2a452f2 by mephinet at 2020-11-09T17:32:16+02:00
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.

- - - - -


1 changed file:

- src/mainwindow.cc


Changes:

=====================================
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;
         }
     }



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/a2a452f249947e6fd603d35d86a82e7c5d650795

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/a2a452f249947e6fd603d35d86a82e7c5d650795
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20201109/b6dd9905/attachment.htm>


More information about the pulseaudio-commits mailing list