From b565b6950bbd689be453983e3940235003ffcc45 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 20 Oct 2011 08:48:36 +0200 Subject: 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. --- src/interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interface.c') 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); -- cgit