mirror of
https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git
synced 2026-05-07 18:58:04 +02:00
don't show failure msgbox twice
This commit is contained in:
parent
ee58abeb91
commit
d30c045dac
1 changed files with 1 additions and 3 deletions
|
|
@ -481,10 +481,8 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
pa_context_set_state_callback(context, context_state_callback, mainWindow);
|
||||
|
||||
if (pa_context_connect(context, NULL, (pa_context_flags_t) 0, NULL) < 0) {
|
||||
show_error(_("Connection failed"));
|
||||
if (pa_context_connect(context, NULL, (pa_context_flags_t) 0, NULL) < 0)
|
||||
goto finish;
|
||||
}
|
||||
|
||||
Gtk::Main::run(*mainWindow);
|
||||
delete mainWindow;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue