diff options
author | Kevin B Kenny <kennykb@acm.org> | 2008-04-08 03:28:04 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2008-04-08 03:28:04 (GMT) |
commit | cf6cbd25cb59c0002784a0a740d36481be63abf8 (patch) | |
tree | 6b13f877dafa6297111f43f00c7de9f4e8ccad2e /win/tkWinEmbed.c | |
parent | 336c6a7ae7557bae330981e3ff138b77bd428bfd (diff) | |
download | tk-cf6cbd25cb59c0002784a0a740d36481be63abf8.zip tk-cf6cbd25cb59c0002784a0a740d36481be63abf8.tar.gz tk-cf6cbd25cb59c0002784a0a740d36481be63abf8.tar.bz2 |
* tkDecls.h: Reverted das's change of Tk's stubs pointers
* tkIntDecls.h: from 'extern' to 'EXTERN'. Since the stubs pointer
* tkPlatDecls.h: is always linked statically, its wrong to import
or export it from a DLL, and the change causes
trouble for extensions that build with -DUSE_TK_STUBS.
* tkWinEmbed.c: Removed #if 0 code. Trust the revision control system,
if you need it again, you can find it.
* tkWinSend.c: Added conditional compilation to silence several
compiler warnings.
Diffstat (limited to 'win/tkWinEmbed.c')
-rw-r--r-- | win/tkWinEmbed.c | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/win/tkWinEmbed.c b/win/tkWinEmbed.c index 63e837a..80b1204 100644 --- a/win/tkWinEmbed.c +++ b/win/tkWinEmbed.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinEmbed.c,v 1.33 2007/12/13 15:28:55 dgp Exp $ + * RCS: @(#) $Id: tkWinEmbed.c,v 1.34 2008/04/08 03:28:05 kennykb Exp $ */ #include "tkWinInt.h" @@ -45,8 +45,6 @@ static Tcl_ThreadDataKey dataKey; static void ContainerEventProc(ClientData clientData, XEvent *eventPtr); -static void EmbeddedEventProc(ClientData clientData, - XEvent *eventPtr); static void EmbedGeometryRequest(Container *containerPtr, int width, int height); static void EmbedWindowDeleted(TkWindow *winPtr); @@ -389,39 +387,6 @@ TkpMakeContainer( ContainerEventProc, (ClientData) containerPtr); } -#if 0 -/* - *---------------------------------------------------------------------- - * - * EmbeddedEventProc -- - * - * This procedure is invoked by the Tk event dispatcher when various - * useful events are received for a window that is embedded in another - * application. - * - * Results: - * None. - * - * Side effects: - * Our internal state gets cleaned up when an embedded window is - * destroyed. - * - *---------------------------------------------------------------------- - */ - -static void -EmbeddedEventProc( - ClientData clientData, /* Token for container window. */ - XEvent *eventPtr) /* ResizeRequest event. */ -{ - TkWindow *winPtr = (TkWindow *) clientData; - - if (eventPtr->type == DestroyNotify) { - EmbedWindowDeleted(winPtr); - } -} -#endif - /* *---------------------------------------------------------------------- * |