aboutsummaryrefslogtreecommitdiff
path: root/generic/Rectangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Rectangle.c')
-rw-r--r--generic/Rectangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/Rectangle.c b/generic/Rectangle.c
index e77f620..d17b62c 100644
--- a/generic/Rectangle.c
+++ b/generic/Rectangle.c
@@ -302,7 +302,7 @@ Configure(Item item,
XColor *color;
int alpha;
- status = ITEM_P.ConfigureAttributes((char *) item, -1, argc, argv, flags);
+ status = ZnConfigureAttributes(wi, item, rect_attrs, argc, argv, flags);
if (rect->gradient &&
(ISSET(*flags, ZN_BORDER_FLAG) || (rect->relief == RELIEF_FLAT))) {
@@ -340,7 +340,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, rect_attrs, argv[0]) == ZN_ERROR) {
return ZN_ERROR;
}