summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordas <das>2008-04-02 21:31:58 (GMT)
committerdas <das>2008-04-02 21:31:58 (GMT)
commitd80afd9403e34db5407b5d005f40f1b69aae8267 (patch)
tree02bed3c59ded5372de92c52c00ba9c7146e37a70 /generic/ttk
parent3657c9cadc9e99c4a708db858e60ee5f87c68df1 (diff)
downloadtk-d80afd9403e34db5407b5d005f40f1b69aae8267.zip
tk-d80afd9403e34db5407b5d005f40f1b69aae8267.tar.gz
tk-d80afd9403e34db5407b5d005f40f1b69aae8267.tar.bz2
* generic/tkStubLib.c: make symbols in libtkstub.a MODULE_SCOPE to
avoid exporting them from libraries that link with -ltkstub; constify tk*StubsPtr and stub table hook pointers. [Bug 1819422] * generic/tkStubLib.c: undef USE_TCL_STUBS before defining it * generic/ttk/ttkStubLib.c: unconditionally; remove needless #ifdef
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkStubLib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/ttk/ttkStubLib.c b/generic/ttk/ttkStubLib.c
index 15d4d28..5087a18 100644
--- a/generic/ttk/ttkStubLib.c
+++ b/generic/ttk/ttkStubLib.c
@@ -1,5 +1,5 @@
/*
- * $Id: ttkStubLib.c,v 1.5 2008/03/27 12:04:02 das Exp $
+ * $Id: ttkStubLib.c,v 1.6 2008/04/02 21:31:58 das Exp $
* SOURCE: tk/generic/tkStubLib.c, version 1.9 2004/03/17
*/
@@ -8,10 +8,8 @@
* contains no references to any of the tcl stub functions.
*/
-#ifndef USE_TCL_STUBS
+#undef USE_TCL_STUBS
#define USE_TCL_STUBS
-#endif
-#undef USE_TCL_STUB_PROCS
#include "tk.h"