diff options
author | fvogel <fvogelnew1@free.fr> | 2020-11-21 17:30:44 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-11-21 17:30:44 (GMT) |
commit | 1d034924841fd8e918b37ed3212515e36321fc08 (patch) | |
tree | eab97696056a2498b1784e675add375d0eb7d465 /macosx | |
parent | 65eda041b5581597f931de677910683bf800883b (diff) | |
download | tk-1d034924841fd8e918b37ed3212515e36321fc08.zip tk-1d034924841fd8e918b37ed3212515e36321fc08.tar.gz tk-1d034924841fd8e918b37ed3212515e36321fc08.tar.bz2 |
More cosmetic changes
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXSysTray.c | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/macosx/tkMacOSXSysTray.c b/macosx/tkMacOSXSysTray.c index 715a661..b6d8253 100644 --- a/macosx/tkMacOSXSysTray.c +++ b/macosx/tkMacOSXSysTray.c @@ -637,9 +637,9 @@ MacSystrayObjCmd( break; } - /* - * Modify the text for the tooltip. - */ + /* + * Modify the text for the tooltip. + */ case TRAY_TEXT: { NSString *tooltip = [NSString stringWithUTF8String:Tcl_GetString(objv[3])]; @@ -653,9 +653,9 @@ MacSystrayObjCmd( break; } - /* - * Modify the proc for the callback. - */ + /* + * Modify the proc for the callback. + */ case TRAY_B1_CALLBACK: { [statusItem setB1Callback : objv[3]]; @@ -673,15 +673,15 @@ MacSystrayObjCmd( /* * Set all properties to nil, and release statusItem. */ - [statusItem setImagewithImage: nil]; - [statusItem setTextwithString: nil]; - [statusItem setB1Callback : NULL]; - [statusItem setB3Callback : NULL]; - [statusItem release]; - *info = NULL; - statusItem = NULL; - break; - } + [statusItem setImagewithImage: nil]; + [statusItem setTextwithString: nil]; + [statusItem setB1Callback : NULL]; + [statusItem setB3Callback : NULL]; + [statusItem release]; + *info = NULL; + statusItem = NULL; + break; + } } return TCL_OK; @@ -767,7 +767,6 @@ static int SysNotifyObjCmd( #endif // if BUILD_TARGET_HAS_NOTIFICATION - /* *---------------------------------------------------------------------- * |