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:
Lennart Poettering 2006-04-22 18:21:12 +00:00
parent b2e637623c
commit 9a412b79a5
1 changed files with 4 additions and 0 deletions

View File

@ -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();