diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-10-13 23:45:18 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-10-13 23:45:18 +0200 |
commit | f663680514da83368464df0020d9c2e04ef770c8 (patch) | |
tree | bd93db3eb900665e6a07c1edb1e4186798f62c18 /src/presentation.h | |
parent | 2e0f09d78f28c576d9a10dfcd1eeaae81e3baa07 (diff) |
Check object type before asking the tool to do things
Diffstat (limited to 'src/presentation.h')
-rw-r--r-- | src/presentation.h | 2 |
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); }; |