aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-10-13 23:45:18 +0200
committerThomas White <taw@bitwiz.org.uk>2011-10-13 23:45:18 +0200
commitf663680514da83368464df0020d9c2e04ef770c8 (patch)
treebd93db3eb900665e6a07c1edb1e4186798f62c18 /src/presentation.h
parent2e0f09d78f28c576d9a10dfcd1eeaae81e3baa07 (diff)
Check object type before asking the tool to do things
Diffstat (limited to 'src/presentation.h')
-rw-r--r--src/presentation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/presentation.h b/src/presentation.h
index a7db25c..ed962a8 100644
--- a/src/presentation.h
+++ b/src/presentation.h
@@ -86,6 +86,8 @@ struct toolinfo
void (*key_pressed)(struct object *o, guint keyval,
struct toolinfo *tip);
void (*im_commit)(struct object *o, gchar *str, struct toolinfo *tip);
+
+ int (*valid_object)(struct object *o);
};