aboutsummaryrefslogtreecommitdiff
path: root/generic/Group.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Group.c')
-rw-r--r--generic/Group.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/generic/Group.c b/generic/Group.c
index 0c799fd..1bb7d41 100644
--- a/generic/Group.c
+++ b/generic/Group.c
@@ -120,8 +120,8 @@ static ZnAttrConfig group_attrs[] = {
*/
static int
Init(ZnItem item,
- int *argc __znunused,
- Tcl_Obj *CONST *args[] __znunused)
+ int *argc,
+ Tcl_Obj *CONST *args[])
{
GroupItem group = (GroupItem) item;
@@ -412,7 +412,7 @@ SetXShape(ZnItem grp)
}
#else
static void
-SetXShape(ZnItem grp __znunused)
+SetXShape(ZnItem grp)
{
}
#endif
@@ -468,7 +468,7 @@ Configure(ZnItem item,
*/
static int
Query(ZnItem item,
- int argc __znunused,
+ int argc,
Tcl_Obj *CONST argv[])
{
if (ZnQueryAttribute(item->wi->interp, item, group_attrs, argv[0]) == TCL_ERROR) {
@@ -1124,7 +1124,7 @@ Render(ZnItem item)
}
#else
static void
-Render(ZnItem item __znunused)
+Render(ZnItem item)
{
}
#endif
@@ -1139,7 +1139,7 @@ Render(ZnItem item __znunused)
*/
static ZnBool
IsSensitive(ZnItem item,
- int item_part __znunused)
+ int item_part)
{
ZnBool sensitive = ISSET(item->flags, ZN_SENSITIVE_BIT);
ZnItem parent = item->parent;
@@ -1238,7 +1238,7 @@ Pick(ZnItem item,
if (ZnIsEmptyBBox(&inter)) {
goto out;
}
- if (reg && !ZnPointInRegion(reg, p->x, p->y)) {
+ if (reg && !ZnPointInRegion(reg, (int) p->x, (int) p->y)) {
goto out;
}
}
@@ -1319,11 +1319,11 @@ Pick(ZnItem item,
*/
static int
Coords(ZnItem item,
- int contour __znunused,
- int index __znunused,
+ int contour,
+ int index,
int cmd,
ZnPoint **pts,
- char **controls __znunused,
+ char **controls,
unsigned int *num_pts)
{
if ((cmd == ZN_COORDS_ADD) || (cmd == ZN_COORDS_ADD_LAST) || (cmd == ZN_COORDS_REMOVE)) {
@@ -1367,8 +1367,8 @@ Coords(ZnItem item,
**********************************************************************************
*/
static void
-PostScript(ZnItem item __znunused,
- ZnBool prepass __znunused)
+PostScript(ZnItem item,
+ ZnBool prepass)
{
}
@@ -1413,14 +1413,14 @@ ZnGroupSetCallOm(ZnItem group,
}
#else
ZnBool
-ZnGroupCallOm(ZnItem group __znunused)
+ZnGroupCallOm(ZnItem group)
{
return False;
}
void
-ZnGroupSetCallOm(ZnItem group __znunused,
- ZnBool set __znunused)
+ZnGroupSetCallOm(ZnItem group,
+ ZnBool set)
{
return;
}