diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-10-26 02:53:23 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-10-26 02:53:23 +0200 |
commit | 87a3c225455870580a1945b74d1dfcfc32be19d0 (patch) | |
tree | 040335de680c10e2c64cab16adea0f222cad6304 | |
parent | bbbc83f33f45f273326f3d39eb0af04b8cc0466c (diff) |
avoid duplicate definition of 'signal' to make gcc shut up
-rw-r--r-- | src/canberra-gtk-module.c | 4 |
1 files 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); |