summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-07-15 20:16:47 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-07-15 20:16:47 (GMT)
commit4819d3849f45e832a8b26c7906c36f66472ef3b9 (patch)
treeb522a0490ce6722b320e2d240f6e8c66d23e158b /generic/ttk
parent4722f9f501efe0141837f64c3c63cc13705396e5 (diff)
downloadtk-4819d3849f45e832a8b26c7906c36f66472ef3b9.zip
tk-4819d3849f45e832a8b26c7906c36f66472ef3b9.tar.gz
tk-4819d3849f45e832a8b26c7906c36f66472ef3b9.tar.bz2
macOS: remove unneeded code observed in [7ebdd17974], remove tkMacOSXFlushWindows, make XSync do nothing except process timer events.
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkTheme.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/generic/ttk/ttkTheme.c b/generic/ttk/ttkTheme.c
index 6bf48a3..7bde80e 100644
--- a/generic/ttk/ttkTheme.c
+++ b/generic/ttk/ttkTheme.c
@@ -15,13 +15,6 @@
#define PKG_ASSOC_KEY "Ttk"
-#ifdef MAC_OSX_TK
- extern void TkMacOSXFlushWindows(void);
- #define UPDATE_WINDOWS() TkMacOSXFlushWindows()
-#else
- #define UPDATE_WINDOWS()
-#endif
-
/*------------------------------------------------------------------------
* +++ Styles.
*
@@ -517,7 +510,6 @@ static void ThemeChangedProc(ClientData clientData)
Tcl_BackgroundException(pkgPtr->interp, code);
}
pkgPtr->themeChangePending = 0;
- UPDATE_WINDOWS();
}
/*