summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixButton.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-04-26 02:58:17 (GMT)
committerhobbs <hobbs>2003-04-26 02:58:17 (GMT)
commit08b782e4d9dc9d3dcd7e46e01e426d712a1fc6be (patch)
treea62a71f3a5d42946171ee2565ff420bf422b0dfd /unix/tkUnixButton.c
parent4f6612c9be450714fe3648318ad9197fd03f5c56 (diff)
downloadtk-08b782e4d9dc9d3dcd7e46e01e426d712a1fc6be.zip
tk-08b782e4d9dc9d3dcd7e46e01e426d712a1fc6be.tar.gz
tk-08b782e4d9dc9d3dcd7e46e01e426d712a1fc6be.tar.bz2
remove outdated comments
Diffstat (limited to 'unix/tkUnixButton.c')
-rw-r--r--unix/tkUnixButton.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c
index dd4eca9..46fac82 100644
--- a/unix/tkUnixButton.c
+++ b/unix/tkUnixButton.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixButton.c,v 1.11.2.2 2003/04/26 02:53:47 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixButton.c,v 1.11.2.3 2003/04/26 02:58:17 hobbs Exp $
*/
#include "tkButton.h"
@@ -271,10 +271,6 @@ TkpDisplayButton(clientData)
XSetClipOrigin(butPtr->display, gc, 0, 0);
}
- /*
- * Use normalTextGC in this case since we have both text and image,
- * the whole button will later be stippled 50% grey.
- */
Tk_DrawTextLayout(butPtr->display, pixmap, gc,
butPtr->textLayout, x + textXOffset, y + textYOffset, 0, -1);
Tk_UnderlineTextLayout(butPtr->display, pixmap, gc,