don't show failure msgbox twice
This commit is contained in:
parent
ee58abeb91
commit
d30c045dac
|
@ -481,10 +481,8 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
pa_context_set_state_callback(context, context_state_callback, mainWindow);
|
pa_context_set_state_callback(context, context_state_callback, mainWindow);
|
||||||
|
|
||||||
if (pa_context_connect(context, NULL, (pa_context_flags_t) 0, NULL) < 0) {
|
if (pa_context_connect(context, NULL, (pa_context_flags_t) 0, NULL) < 0)
|
||||||
show_error(_("Connection failed"));
|
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
|
||||||
|
|
||||||
Gtk::Main::run(*mainWindow);
|
Gtk::Main::run(*mainWindow);
|
||||||
delete mainWindow;
|
delete mainWindow;
|
||||||
|
|
Loading…
Reference in New Issue