summaryrefslogtreecommitdiffstats
path: root/src/paman.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/paman.cc')
-rw-r--r--src/paman.cc26
1 files changed, 23 insertions, 3 deletions
diff --git a/src/paman.cc b/src/paman.cc
index 07eb06a..bc54e9d 100644
--- a/src/paman.cc
+++ b/src/paman.cc
@@ -1,11 +1,31 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <signal.h>
#include <gtkmm.h>
#include <libglademm.h>
-#include <polyp/polyplib.h>
+#include <polyp/polypaudio.h>
#include <polyp/glib-mainloop.h>
-#include <polyp/polyplib-error.h>
#include "paman.hh"
#include "SinkWindow.hh"
@@ -80,7 +100,7 @@ void createConnection() {
context = pa_context_new(mainloop_api, "Polypaudio Manager");
g_assert(context);
pa_context_set_state_callback(context, context_state_callback, NULL);
- pa_context_connect(context, NULL, 0, NULL);
+ pa_context_connect(context, NULL, (pa_context_flags_t) 0, NULL);
}
void killConnection() {