summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-10-20 08:48:36 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-10-20 08:54:57 +0200
commitb565b6950bbd689be453983e3940235003ffcc45 (patch)
tree81d56258be5371d2b5cdbb088adbceba499632b8 /src/interface.c
parentaf293d4059ff1e0873d452d871d41b501ed1636a (diff)
downloadpa-sink-ctl-b565b6950bbd689be453983e3940235003ffcc45.tar.gz
pa-sink-ctl-b565b6950bbd689be453983e3940235003ffcc45.tar.bz2
pa-sink-ctl-b565b6950bbd689be453983e3940235003ffcc45.zip
g_unix_signal: Remove g_ prefix to not collide with glib
There is a g_unix_signal_new function in glib as well now, but that is only allowed to be used for SIGINT, SIGHUP and SIGTERM, so we have to stay with our own.
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c
index 0513687..83bd3b0 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -10,7 +10,7 @@
#include "sink.h"
#include "pa-sink-ctl.h"
-#include "g_unix_signal.h"
+#include "unix_signal.h"
#define H_MSG_BOX 3
@@ -379,7 +379,7 @@ interface_init(void)
interface_resize(NULL);
/* register event handler for resize and input */
- resize_source_id = g_unix_signal_add(SIGWINCH, interface_resize, NULL);
+ resize_source_id = unix_signal_add(SIGWINCH, interface_resize, NULL);
input_channel = g_io_channel_unix_new(STDIN_FILENO);
if (!input_channel)
exit(EXIT_FAILURE);