From 87a3c225455870580a1945b74d1dfcfc32be19d0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 26 Oct 2008 02:53:23 +0200 Subject: avoid duplicate definition of 'signal' to make gcc shut up --- src/canberra-gtk-module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/canberra-gtk-module.c b/src/canberra-gtk-module.c index b282176..b9d8ae0 100644 --- a/src/canberra-gtk-module.c +++ b/src/canberra-gtk-module.c @@ -696,12 +696,12 @@ static gboolean emission_hook_cb(GSignalInvocationHint *hint, guint n_param_valu return TRUE; } -static void install_hook(GType type, const char *signal, guint *sn) { +static void install_hook(GType type, const char *sig, guint *sn) { GTypeClass *type_class; type_class = g_type_class_ref(type); - *sn = g_signal_lookup(signal, type); + *sn = g_signal_lookup(sig, type); g_signal_add_emission_hook(*sn, 0, emission_hook_cb, NULL, NULL); g_type_class_unref(type_class); -- cgit