summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixMenu.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2004-06-08 20:28:19 (GMT)
committerdgp@users.sourceforge.net <dgp>2004-06-08 20:28:19 (GMT)
commitf8edec64c28173efc8cc90ff9bf8eb1a9631937c (patch)
tree19316394432448d84d95a9069c57a13f7d7fed04 /unix/tkUnixMenu.c
parenta099c2198ae3adc3b32180387b817e5a1ea01e4c (diff)
downloadtk-f8edec64c28173efc8cc90ff9bf8eb1a9631937c.zip
tk-f8edec64c28173efc8cc90ff9bf8eb1a9631937c.tar.gz
tk-f8edec64c28173efc8cc90ff9bf8eb1a9631937c.tar.bz2
Silence compiler warnings
Diffstat (limited to 'unix/tkUnixMenu.c')
-rw-r--r--unix/tkUnixMenu.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/unix/tkUnixMenu.c b/unix/tkUnixMenu.c
index c96dd9b..74f6459 100644
--- a/unix/tkUnixMenu.c
+++ b/unix/tkUnixMenu.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixMenu.c,v 1.10 2004/05/03 23:23:14 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixMenu.c,v 1.11 2004/06/08 20:28:19 dgp Exp $
*/
#include "tkPort.h"
@@ -586,12 +586,11 @@ DrawMenuEntryIndicator(menuPtr, mePtr, d, border, indicatorColor, disableColor,
*/
if ((mePtr->type == CHECK_BUTTON_ENTRY) && mePtr->indicatorOn) {
- int dim, top, left;
+ int top, left;
int activeBorderWidth;
int disabled = (mePtr->state == ENTRY_DISABLED);
XColor *bg;
- dim = (int) mePtr->platformEntryData;
Tk_GetPixelsFromObj(NULL, menuPtr->tkwin,
menuPtr->activeBorderWidthPtr, &activeBorderWidth);
bg = Tk_3DBorderColor(border);
@@ -609,12 +608,11 @@ DrawMenuEntryIndicator(menuPtr, mePtr, d, border, indicatorColor, disableColor,
*/
if ((mePtr->type == RADIO_BUTTON_ENTRY) && mePtr->indicatorOn) {
- int dim, top, left;
+ int top, left;
int activeBorderWidth;
int disabled = (mePtr->state == ENTRY_DISABLED);
XColor *bg;
- dim = (int) mePtr->platformEntryData;
Tk_GetPixelsFromObj(NULL, menuPtr->tkwin,
menuPtr->activeBorderWidthPtr, &activeBorderWidth);
bg = Tk_3DBorderColor(border);