summaryrefslogtreecommitdiffstats
path: root/generic/tkColor.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkColor.c')
-rw-r--r--generic/tkColor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkColor.c b/generic/tkColor.c
index b3cc9bb..4aa82bb 100644
--- a/generic/tkColor.c
+++ b/generic/tkColor.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: tkColor.c,v 1.9 2002/08/05 04:30:38 dgp Exp $
+ * RCS: @(#) $Id: tkColor.c,v 1.10 2004/01/13 02:06:00 davygrvy Exp $
*/
#include "tkColor.h"
@@ -420,7 +420,7 @@ Tk_GCForColor(colorPtr, drawable)
*/
if (tkColPtr->magic != COLOR_MAGIC) {
- panic("Tk_GCForColor called with bogus color");
+ Tcl_Panic("Tk_GCForColor called with bogus color");
}
if (tkColPtr->gc == None) {
@@ -466,7 +466,7 @@ Tk_FreeColor(colorPtr)
*/
if (tkColPtr->magic != COLOR_MAGIC) {
- panic("Tk_FreeColor called with bogus color");
+ Tcl_Panic("Tk_FreeColor called with bogus color");
}
tkColPtr->resourceRefCount--;
@@ -690,7 +690,7 @@ Tk_GetColorFromObj(tkwin, objPtr)
}
error:
- panic(" Tk_GetColorFromObj called with non-existent color!");
+ Tcl_Panic(" Tk_GetColorFromObj called with non-existent color!");
/*
* The following code isn't reached; it's just there to please compilers.
*/
@@ -798,7 +798,7 @@ TkDebugColor(tkwin, name)
if (hashPtr != NULL) {
tkColPtr = (TkColor *) Tcl_GetHashValue(hashPtr);
if (tkColPtr == NULL) {
- panic("TkDebugColor found empty hash table entry");
+ Tcl_Panic("TkDebugColor found empty hash table entry");
}
for ( ; (tkColPtr != NULL); tkColPtr = tkColPtr->nextPtr) {
objPtr = Tcl_NewObj();