summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-09-21 10:54:40 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-09-21 10:54:40 (GMT)
commitc6e0e2261b1585c0b28b7abfb41852b5750aaf13 (patch)
tree568c1c4a6a82c9fe3153dba25af68d61019419bc /win
parent998bc689837b9f81b076f05e0320a141c72e8540 (diff)
downloadtk-c6e0e2261b1585c0b28b7abfb41852b5750aaf13.zip
tk-c6e0e2261b1585c0b28b7abfb41852b5750aaf13.tar.gz
tk-c6e0e2261b1585c0b28b7abfb41852b5750aaf13.tar.bz2
Tk-internal exit handler improvements. [Bug 749908]
Diffstat (limited to 'win')
0 files changed, 0 insertions, 0 deletions
5e630c0d0c0fbb63992'>generic/tkEntry.c2
-rw-r--r--generic/tkFrame.c2
-rw-r--r--generic/tkInt.h1
-rw-r--r--generic/tkListbox.c2
-rw-r--r--generic/tkMain.c8
-rw-r--r--generic/tkMessage.c2
-rw-r--r--generic/tkPanedWindow.c2
-rw-r--r--generic/tkScale.c2
-rw-r--r--generic/tkText.c2
-rw-r--r--generic/tkTextIndex.c2
-rw-r--r--generic/tkTextTag.c2
-rw-r--r--generic/ttk/ttkBlink.c2
-rw-r--r--generic/ttk/ttkButton.c3
-rw-r--r--generic/ttk/ttkCache.c3
-rw-r--r--generic/ttk/ttkClamTheme.c2
-rw-r--r--generic/ttk/ttkClassicTheme.c2
-rw-r--r--generic/ttk/ttkDefaultTheme.c5
-rw-r--r--generic/ttk/ttkElements.c4
-rw-r--r--generic/ttk/ttkEntry.c4
-rw-r--r--generic/ttk/ttkFrame.c3
-rw-r--r--generic/ttk/ttkImage.c3
-rw-r--r--generic/ttk/ttkInit.c3
-rw-r--r--generic/ttk/ttkLabel.c3
-rw-r--r--generic/ttk/ttkLayout.c3
-rw-r--r--generic/ttk/ttkManager.c3
-rw-r--r--generic/ttk/ttkNotebook.c6
-rw-r--r--generic/ttk/ttkPanedwindow.c3
-rw-r--r--generic/ttk/ttkProgress.c4
-rw-r--r--generic/ttk/ttkScale.c4
-rw-r--r--generic/ttk/ttkScroll.c2
-rw-r--r--generic/ttk/ttkScrollbar.c3
-rw-r--r--generic/ttk/ttkSeparator.c3
-rw-r--r--generic/ttk/ttkSquare.c2
-rw-r--r--generic/ttk/ttkState.c4
-rw-r--r--generic/ttk/ttkTagSet.c5
-rw-r--r--generic/ttk/ttkTheme.c5
-rw-r--r--generic/ttk/ttkTrace.c2
-rw-r--r--generic/ttk/ttkTrack.c2
-rw-r--r--generic/ttk/ttkTreeview.c4
-rw-r--r--generic/ttk/ttkWidget.c3
-rw-r--r--unix/tkUnixMenu.c2
-rw-r--r--win/stubs.c2
-rw-r--r--win/tkWinDialog.c4
-rw-r--r--win/tkWinPort.h1
-rw-r--r--win/tkWinX.c2
-rw-r--r--win/ttkWinXPTheme.c4
-rw-r--r--xlib/xgc.c2
-rw-r--r--xlib/xutil.c4
49 files changed, 49 insertions, 96 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 64e0f5d..fa7559c 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -15,9 +15,9 @@
/* #define USE_OLD_TAG_SEARCH 1 */
-#include "default.h"
#include "tkInt.h"
#include "tkCanvas.h"
+#include "default.h"
#ifdef TK_NO_DOUBLE_BUFFERING
#ifdef MAC_OSX_TK
#include "tkMacOSXInt.h"
diff --git a/generic/tkEntry.c b/generic/tkEntry.c
index 018380d..cf15974 100644
--- a/generic/tkEntry.c
+++ b/generic/tkEntry.c
@@ -16,8 +16,8 @@
*/
#include "tkInt.h"
-#include "default.h"
#include "tkEntry.h"
+#include "default.h"
/*
* The following macro defines how many extra pixels to leave on each side of
diff --git a/generic/tkFrame.c b/generic/tkFrame.c
index e2aee37..1ed3268 100644
--- a/generic/tkFrame.c
+++ b/generic/tkFrame.c
@@ -12,8 +12,8 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
+#include "default.h"
/*
* The following enum is used to define the type of the frame.
diff --git a/generic/tkInt.h b/generic/tkInt.h
index b784bfb..81da2bc 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -25,7 +25,6 @@
* Darwin (where configure runs only once for multiple architectures).
*/
-#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
diff --git a/generic/tkListbox.c b/generic/tkListbox.c
index 1e5b92e..6cbf224 100644
--- a/generic/tkListbox.c
+++ b/generic/tkListbox.c
@@ -12,8 +12,8 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
+#include "default.h"
#ifdef _WIN32
#include "tkWinInt.h"
diff --git a/generic/tkMain.c b/generic/tkMain.c
index 40d35fe..ffcaecf 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -30,14 +30,6 @@
#endif
#include "tkInt.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <string.h>
-#ifdef NO_STDLIB_H
-# include "../compat/stdlib.h"
-#else
-# include <stdlib.h>
-#endif
extern int TkCygwinMainEx(int, char **, Tcl_AppInitProc *, Tcl_Interp *);
diff --git a/generic/tkMessage.c b/generic/tkMessage.c
index f65b046..74b62b1 100644
--- a/generic/tkMessage.c
+++ b/generic/tkMessage.c
@@ -13,8 +13,8 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
+#include "default.h"
/*
* A data structure of the following type is kept for each message widget
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index 18fd179..dafadb0 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -13,8 +13,8 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
+#include "default.h"
/*
* Flag values for "sticky"ness. The 16 combinations subsume the packer's
diff --git a/generic/tkScale.c b/generic/tkScale.c
index 1c65001..5733c8a 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -17,9 +17,9 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
#include "tkScale.h"
+#include "default.h"
#if defined(_WIN32)
#define snprintf _snprintf
diff --git a/generic/tkText.c b/generic/tkText.c
index bc60e90..1585e27 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -14,9 +14,9 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
#include "tkUndo.h"
+#include "default.h"
#if defined(MAC_OSX_TK)
#define Style TkStyle
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c
index 7430197..0ee7347 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.c
@@ -11,9 +11,9 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
#include "tkText.h"
+#include "default.h"
/*
* Index to use to select last character in line (very large integer):
diff --git a/generic/tkTextTag.c b/generic/tkTextTag.c
index 66f467b..d8ffb5a 100644
--- a/generic/tkTextTag.c
+++ b/generic/tkTextTag.c
@@ -12,9 +12,9 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
#include "tkText.h"
+#include "default.h"
/*
* The 'TkWrapMode' enum in tkText.h is used to define a type for the -wrap
diff --git a/generic/ttk/ttkBlink.c b/generic/ttk/ttkBlink.c
index 706a871..7294f8b 100644
--- a/generic/ttk/ttkBlink.c
+++ b/generic/ttk/ttkBlink.c
@@ -14,7 +14,7 @@
* Add script-level access to configure application-wide blink rate.
*/
-#include <tk.h>
+#include "tkInt.h"
#include "ttkTheme.h"
#include "ttkWidget.h"
diff --git a/generic/ttk/ttkButton.c b/generic/ttk/ttkButton.c
index 935d0c4..722e034 100644
--- a/generic/ttk/ttkButton.c
+++ b/generic/ttk/ttkButton.c
@@ -4,8 +4,7 @@
* label, button, checkbutton, radiobutton, and menubutton widgets.
*/
-#include <string.h>
-#include <tk.h>
+#include "tkInt.h"
#include "ttkTheme.h"
#include "ttkWidget.h"
diff --git a/generic/ttk/ttkCache.c b/generic/ttk/ttkCache.c
index 0ae2372..c29007c 100644
--- a/generic/ttk/ttkCache.c
+++ b/generic/ttk/ttkCache.c
@@ -28,8 +28,7 @@
* but this will be a transient effect.
*/
-#include <stdio.h> /* for sprintf */
-#include <tk.h>
+#include "tkInt.h"
#include "ttkTheme.h"
struct Ttk_ResourceCache_ {
diff --git a/generic/ttk/ttkClamTheme.c b/generic/ttk/ttkClamTheme.c
index b44eeb5..e9bc74a 100644
--- a/generic/ttk/ttkClamTheme.c
+++ b/generic/ttk/ttkClamTheme.c
@@ -4,7 +4,7 @@
* "clam" theme; inspired by the XFCE family of Gnome themes.
*/
-#include <tk.h>
+#include "tkInt.h"
#include "ttkTheme.h"
/*
diff --git a/generic/ttk/ttkClassicTheme.c b/generic/ttk/ttkClassicTheme.c
index d16cb85..117d928 100644
--- a/generic/ttk/ttkClassicTheme.c
+++ b/generic/ttk/ttkClassicTheme.c
@@ -5,7 +5,7 @@
*
*/
-#include <tk.h>
+#include "tkInt.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "ttkTheme.h"
diff --git a/generic/ttk/ttkDefaultTheme.c b/generic/ttk/ttkDefaultTheme.c
index 7332015..2118704 100644
--- a/generic/ttk/ttkDefaultTheme.c
+++ b/generic/ttk/ttkDefaultTheme.c
@@ -4,10 +4,7 @@
* Tk alternate theme, intended to match the MSUE and Gtk's (old) default theme
*/
-#include <math.h>
-#include <string.h>
-
-#include <tkInt.h>
+#include "tkInt.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "ttkTheme.h"
diff --git a/generic/ttk/ttkElements.c b/generic/ttk/ttkElements.c
index 5c95dba..4dd2adb 100644
--- a/generic/ttk/ttkElements.c
+++ b/generic/ttk/ttkElements.c
@@ -5,9 +5,7 @@
*
*/
-#include <tcl.h>
-#include <tk.h>
-#include <string.h>
+#include "tkInt.h"
#include "ttkTheme.h"
#include "ttkWidget.h"
diff --git a/generic/ttk/ttkEntry.c b/generic/ttk/ttkEntry.c
index 5c8e98b..e49f1c3 100644
--- a/generic/ttk/ttkEntry.c
+++ b/generic/ttk/ttkEntry.c
@@ -8,9 +8,7 @@
* Copyright (c) 2004 Joe English
*/
-#include <string.h>
-#include <stdio.h>
-#include <tkInt.h>
+#include "tkInt.h"
#include <X11/Xatom.h>
#include "ttkTheme.h"
diff --git a/generic/ttk/ttkFrame.c b/generic/ttk/ttkFrame.c
index 3e50a7f..10106eb 100644
--- a/generic/ttk/ttkFrame.c
+++ b/generic/ttk/ttkFrame.c
@@ -4,8 +4,7 @@
* ttk::frame and ttk::labelframe widgets.
*/
-#include <tk.h>
-
+#include "tkInt.h"
#include "ttkTheme.h"
#include "ttkWidget.h"
#include "ttkManager.h"
diff --git a/generic/ttk/ttkImage.c b/generic/ttk/ttkImage.c