summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSysTray.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2020-10-22 12:59:02 (GMT)
committerKevin Walzer <kw@codebykevin.com>2020-10-22 12:59:02 (GMT)
commit6bcea37ed0bd60c2c1f752aef8dee39035fb6b6f (patch)
tree6ac89d612a011e4a2bcfffb729eb83aaedea6bf8 /macosx/tkMacOSXSysTray.c
parent3d9033b6487dde4a228e9f4ce012c30b99d7fd39 (diff)
downloadtk-6bcea37ed0bd60c2c1f752aef8dee39035fb6b6f.zip
tk-6bcea37ed0bd60c2c1f752aef8dee39035fb6b6f.tar.gz
tk-6bcea37ed0bd60c2c1f752aef8dee39035fb6b6f.tar.bz2
Add <Button-3> details to systray man page
Diffstat (limited to 'macosx/tkMacOSXSysTray.c')
-rw-r--r--macosx/tkMacOSXSysTray.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXSysTray.c b/macosx/tkMacOSXSysTray.c
index 53ffe52..e861630 100644
--- a/macosx/tkMacOSXSysTray.c
+++ b/macosx/tkMacOSXSysTray.c
@@ -104,13 +104,13 @@ static const char ASSOC_KEY[] = "tk::tktray";
}
} else {
if (([event type] == NSEventTypeRightMouseUp) && (b3_callback != NULL)) {
- int result = Tcl_EvalObjEx(interp, b3_callback, TCL_EVAL_GLOBAL);
- if (result != TCL_OK) {
- Tcl_BackgroundException(interp, result);
+ int result = Tcl_EvalObjEx(interp, b3_callback, TCL_EVAL_GLOBAL);
+ if (result != TCL_OK) {
+ Tcl_BackgroundException(interp, result);
+ }
}
}
}
-}
- (void) dealloc
{
/*