Skip to content

Commit

Permalink
misc code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Dec 11, 2023
1 parent e3ce3f8 commit 47aad1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unixMenu.test
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ test unixMenu-6.2 {TkpSetWindowMenuBar - menu} -constraints unix -setup {
} -returnCodes ok -result {{} {} {}}


test unixMenu-7.1 {TkpSetMainMenubar - nothing to do} -constraints unix -body {}
test unixMenu-7.1 {Tk_SetMainMenubar - nothing to do} -constraints unix -body {}


test unixMenu-8.1 {GetMenuIndicatorGeometry - indicator off} -constraints {
Expand Down
2 changes: 1 addition & 1 deletion unix/tkUnixSysTray.c
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ TrayIconConfigureMethod(
}
}

if (Tk_SetOptions(interp,(char*)icon,icon->options,objc,objv,
if (Tk_SetOptions(interp, icon,icon->options,objc,objv,
icon->tkwin,&saved,&mask) != TCL_OK) {
return TCL_ERROR; /* msg by Tk_SetOptions */
}
Expand Down

0 comments on commit 47aad1f

Please sign in to comment.