summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-06-08 20:28:19 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-06-08 20:28:19 (GMT)
commit3588e9bb50fc4405a0c6d00631c2317b95f45257 (patch)
tree19316394432448d84d95a9069c57a13f7d7fed04 /unix
parentc7e041cfd4f24255e924362fb73214caaf51f5de (diff)
downloadtk-3588e9bb50fc4405a0c6d00631c2317b95f45257.zip
tk-3588e9bb50fc4405a0c6d00631c2317b95f45257.tar.gz
tk-3588e9bb50fc4405a0c6d00631c2317b95f45257.tar.bz2
Silence compiler warnings
Diffstat (limited to 'unix')
-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);