aboutsummaryrefslogtreecommitdiff
path: root/generic/Reticle.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Reticle.c')
-rw-r--r--generic/Reticle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/Reticle.c b/generic/Reticle.c
index 6d67d9f..a256588 100644
--- a/generic/Reticle.c
+++ b/generic/Reticle.c
@@ -201,7 +201,8 @@ Configure(Item item,
Tcl_Obj *CONST argv[],
int *flags)
{
- if (ITEM_P.ConfigureAttributes((char *)item, -1, argc, argv, flags) == ZN_ERROR) {
+ if (ZnConfigureAttributes(item->wi, item, reticle_attrs,
+ argc, argv, flags) == ZN_ERROR) {
return ZN_ERROR;
}
@@ -221,7 +222,7 @@ Query(Item item,
int argc,
Tcl_Obj *CONST argv[])
{
- if (ITEM_P.QueryAttribute((char *) item, -1, argv[0]) == ZN_ERROR) {
+ if (ZnQueryAttribute(item->wi, item, reticle_attrs, argv[0]) == ZN_ERROR) {
return ZN_ERROR;
}