summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-04-30 16:16:38 (GMT)
committerhobbs <hobbs>2003-04-30 16:16:38 (GMT)
commit5c9f8f05e4dfc06c68a3bc1ec7c69b47683d9c51 (patch)
tree6090afdcd1c010ec83252a248afa6782c13f41a9
parent8fe2867a148cb06c060d7c663b90eb79a41895bf (diff)
downloadtk-5c9f8f05e4dfc06c68a3bc1ec7c69b47683d9c51.zip
tk-5c9f8f05e4dfc06c68a3bc1ec7c69b47683d9c51.tar.gz
tk-5c9f8f05e4dfc06c68a3bc1ec7c69b47683d9c51.tar.bz2
* macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for
stippleGC [Bug #730124].
-rw-r--r--ChangeLog5
-rw-r--r--macosx/tkMacOSXButton.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ecf539..5dc2681 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-30 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for
+ stippleGC [Bug #730124].
+
2003-04-25 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkButton.h: Rewrote the handling
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c
index deddfa6..d14cfc2 100644
--- a/macosx/tkMacOSXButton.c
+++ b/macosx/tkMacOSXButton.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXButton.c,v 1.3 2003/04/26 02:59:20 hobbs Exp $
+ * RCS: @(#) $Id: tkMacOSXButton.c,v 1.4 2003/04/30 16:16:39 hobbs Exp $
*/
#include "tkButton.h"
@@ -465,7 +465,7 @@ TkpDisplayButton(
&& ((butPtr->disabledFg == NULL) || (butPtr->image != NULL))) {
if ((butPtr->flags & SELECTED) && !butPtr->indicatorOn
&& (butPtr->selectBorder != NULL)) {
- XSetForeground(butPtr->display, butPtr->stippledGC,
+ XSetForeground(butPtr->display, butPtr->stippleGC,
Tk_3DBorderColor(butPtr->selectBorder)->pixel);
}
/*
@@ -483,7 +483,7 @@ TkpDisplayButton(
}
if ((butPtr->flags & SELECTED) && !butPtr->indicatorOn
&& (butPtr->selectBorder != NULL)) {
- XSetForeground(butPtr->display, butPtr->stippledGC,
+ XSetForeground(butPtr->display, butPtr->stippleGC,
Tk_3DBorderColor(butPtr->normalBorder)->pixel);
}
}