diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-10-09 00:14:39 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-09 00:14:39 -0700 |
commit | 7f4e4b16ed897b784df1066621d3368676907efb (patch) | |
tree | 9f9b1ef637dda4d7919d6ed8ba322677640d8ea1 /profile.c | |
parent | 83eb64a9ef5281a28378af8cb252ec5329b0d142 (diff) | |
download | subsurface-7f4e4b16ed897b784df1066621d3368676907efb.tar.gz |
Disable unused function
I am not removing this but leaving it around as this is useful for a
feature that we still need to enable - the ability to filter out which
events to display. This existed in 3.1 but is missing in the Qt version.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -99,7 +99,8 @@ struct ev_select *ev_namelist; int evn_allocated; int evn_used; -int evn_foreach(void (*callback)(const char *, int *, void *), void *data) +#if WE_DONT_USE_THIS /* we need to implement event filters in Qt */ +int evn_foreach(void (*callback)(const char *, bool *, void *), void *data) { int i; @@ -109,6 +110,7 @@ int evn_foreach(void (*callback)(const char *, int *, void *), void *data) } return i; } +#endif /* WE_DONT_USE_THIS */ void clear_events(void) { |