[mousetweaks] Fix signal number argument in callbacks
- From: Gerd Kohlberger <gerdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetweaks] Fix signal number argument in callbacks
- Date: Sat, 5 Feb 2011 21:40:37 +0000 (UTC)
commit 3153d0e78bf6872c7ad0120c9689f9505829a967
Author: Gerd Kohlberger <gerdk src gnome org>
Date: Sat Feb 5 22:38:23 2011 +0100
Fix signal number argument in callbacks
src/mt-sig-handler.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mt-sig-handler.c b/src/mt-sig-handler.c
index 2964474..0528e9b 100644
--- a/src/mt-sig-handler.c
+++ b/src/mt-sig-handler.c
@@ -136,7 +136,7 @@ mt_sig_handler_io_watch (GIOChannel *read_chan,
for (i = 0; i < bytes_read; i++)
{
sig_id = buf[i];
- g_signal_emit (sigh, signals[SIGNAL], 0, &sig_id);
+ g_signal_emit (sigh, signals[SIGNAL], 0, sig_id);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]