aboutsummaryrefslogtreecommitdiff
path: root/vis-text-objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-text-objects.c')
-rw-r--r--vis-text-objects.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vis-text-objects.c b/vis-text-objects.c
index 467c101..446ac6d 100644
--- a/vis-text-objects.c
+++ b/vis-text-objects.c
@@ -2,8 +2,7 @@
#include "text-objects.h"
#include "util.h"
-int vis_textobject_register(Vis *vis, int type, void *data,
- Filerange (*textobject)(Vis*, Win*, void*, size_t pos)) {
+int vis_textobject_register(Vis *vis, int type, void *data, VisTextObjectFunction *textobject) {
TextObject *obj = calloc(1, sizeof *obj);
if (!obj)