aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-gui4
1 files changed, 1 insertions, 3 deletions
diff --git a/git-gui b/git-gui
index 3e53fbd62..afd9ac026 100755
--- a/git-gui
+++ b/git-gui
@@ -1716,9 +1716,7 @@ unset filemask i
proc is_MacOSX {} {
global tcl_platform tk_library
- if {$tcl_platform(platform) eq {unix}
- && $tcl_platform(os) eq {Darwin}
- && [string match /Library/Frameworks/* $tk_library]} {
+ if {[tk windowingsystem] eq {aqua}} {
return 1
}
return 0