make SIGPIPE warning disappear
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@10 c17c95f2-f111-0410-90bf-f30a9569010c
This commit is contained in:
parent
b2e637623c
commit
9a412b79a5
|
@ -19,6 +19,8 @@
|
||||||
USA.
|
USA.
|
||||||
***/
|
***/
|
||||||
|
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
#include <gtkmm.h>
|
#include <gtkmm.h>
|
||||||
#include <libglademm.h>
|
#include <libglademm.h>
|
||||||
|
|
||||||
|
@ -645,6 +647,8 @@ void context_state_callback(pa_context *c, void *userdata) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
|
||||||
Gtk::Main kit(argc, argv);
|
Gtk::Main kit(argc, argv);
|
||||||
|
|
||||||
Gtk::Window* mainWindow = MainWindow::create();
|
Gtk::Window* mainWindow = MainWindow::create();
|
||||||
|
|
Loading…
Reference in New Issue