summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkIntPlatDecls.h2
-rw-r--r--generic/tkStubInit.c2
-rw-r--r--macosx/tkMacOSXFont.c25
3 files changed, 4 insertions, 25 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h
index 7a00bf1..c3164da 100644
--- a/generic/tkIntPlatDecls.h
+++ b/generic/tkIntPlatDecls.h
@@ -789,6 +789,8 @@ extern const TkIntPlatStubs *tkIntPlatStubsPtr;
#undef TkpTestsendCmd_
#undef TkGenerateActivateEvents_
#undef TkMacOSXSetUpClippingRgn
+#undef TkMacOSXIsCharacterMissing
+#define TkMacOSXIsCharacterMissing(tkfont) ((void)tkfont, 0)
#undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 309f162..8d37ed4 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -47,6 +47,8 @@ MODULE_SCOPE const TkStubs tkStubs;
#undef TkPutImage
#undef XPutImage
#define TkMacOSXSetUpClippingRgn (void (*)(Drawable))(void *)doNothing
+#undef TkMacOSXIsCharacterMissing
+#define TkMacOSXIsCharacterMissing (int (*)(Tk_Font, unsigned int))(void *)doNothing
#if defined(_WIN32) && !defined(TK_NO_DEPRECATED) && TCL_MAJOR_VERSION < 9
# define Tk_TranslateWinEvent TkTranslateWinEvent
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c
index 238f808..73ed047 100644
--- a/macosx/tkMacOSXFont.c
+++ b/macosx/tkMacOSXFont.c
@@ -1408,31 +1408,6 @@ TkMacOSXNSFontAttributesForFont(
}
/*
- *---------------------------------------------------------------------------
- *
- * TkMacOSXIsCharacterMissing --
- *
- * Given a tkFont and a character determine whether the character has
- * a glyph defined in the font or not.
- *
- * Results:
- * Returns a 1 if the character is missing, a 0 if it is not.
- *
- * Side effects:
- * None.
- *
- *---------------------------------------------------------------------------
- */
-
-int
-TkMacOSXIsCharacterMissing(
- TCL_UNUSED(Tk_Font), /* The font we are looking in. */
- TCL_UNUSED(unsigned int)) /* The character we are looking for. */
-{
- return 0;
-}
-
-/*
*----------------------------------------------------------------------
*
* TkMacOSXFontDescriptionForNSFontAndNSFontAttributes --