diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-07-04 09:39:05 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-07-09 12:39:41 +1000 |
commit | 03a1ef7540139d11420d4b8398236501bd3e6007 (patch) | |
tree | 255b84de458d158c53da6c3ffadc5cbb326c70d0 /src/filter.h | |
parent | d03488f4a332ef6f88e8d22baec6b6e3cdb0bb9b (diff) |
filter: rename motion_filter_destroy to filter_destroy
For better consistency with filter_dispatch(). And move the things around to keep
the consumable API together.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/filter.h')
-rw-r--r-- | src/filter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filter.h b/src/filter.h index c0219ee..e670e1b 100644 --- a/src/filter.h +++ b/src/filter.h @@ -35,6 +35,8 @@ void filter_dispatch(struct motion_filter *filter, struct motion_params *motion, void *data, uint64_t time); +void +filter_destroy(struct motion_filter *filter); struct motion_filter_interface { @@ -59,8 +61,6 @@ typedef double (*accel_profile_func_t)(struct motion_filter *filter, struct motion_filter * create_pointer_accelator_filter(accel_profile_func_t filter); -void -motion_filter_destroy(struct motion_filter *filter); /* * Pointer acceleration profiles. |