[PATCH] simplify sn_internal_monitor_process_event proto
Julien Danjou
julien at danjou.info
Thu Jan 29 06:37:36 PST 2009
Signed-off-by: Julien Danjou <julien at danjou.info>
---
libsn/sn-common.c | 2 +-
libsn/sn-internals.h | 3 +--
libsn/sn-monitor.c | 3 +--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/libsn/sn-common.c b/libsn/sn-common.c
index ebbf781..b494ad7 100644
--- a/libsn/sn-common.c
+++ b/libsn/sn-common.c
@@ -174,7 +174,7 @@ sn_display_process_event (SnDisplay *display,
retval = FALSE;
- if (sn_internal_monitor_process_event (display, xevent))
+ if (sn_internal_monitor_process_event (display))
retval = TRUE;
if (sn_internal_xmessage_process_event (display, xevent))
diff --git a/libsn/sn-internals.h b/libsn/sn-internals.h
index 354af35..0336a0d 100644
--- a/libsn/sn-internals.h
+++ b/libsn/sn-internals.h
@@ -58,8 +58,7 @@ void sn_internal_display_get_xmessage_data (SnDisplay *displa
SnList **pending);
/* --- From sn-monitor.c --- */
-sn_bool_t sn_internal_monitor_process_event (SnDisplay *display,
- XEvent *xevent);
+sn_bool_t sn_internal_monitor_process_event (SnDisplay *display);
/* --- From sn-util.c --- */
sn_bool_t sn_internal_utf8_validate (const char *str,
diff --git a/libsn/sn-monitor.c b/libsn/sn-monitor.c
index ae9a5b7..e2af250 100644
--- a/libsn/sn-monitor.c
+++ b/libsn/sn-monitor.c
@@ -596,8 +596,7 @@ dispatch_monitor_event (SnDisplay *display,
}
sn_bool_t
-sn_internal_monitor_process_event (SnDisplay *display,
- XEvent *xevent)
+sn_internal_monitor_process_event (SnDisplay *display)
{
sn_bool_t retval;
--
1.5.6.5
More information about the xdg
mailing list