From d7f53a87a53c33038961f66247a7a0312e684c70 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 16 Nov 2023 14:21:48 +0000 Subject: Remove Tk_FreeXId/Tk_FreeStyleFromObj (doing nothing for ages) and Tk_GetStyleFromObj (undocumented alternative for Tk_AllocStyleFromObj()). No known extension uses any of those. --- doc/FreeXId.3 | 30 ------------------------------ generic/tkDecls.h | 5 ----- 2 files changed, 35 deletions(-) delete mode 100644 doc/FreeXId.3 diff --git a/doc/FreeXId.3 b/doc/FreeXId.3 deleted file mode 100644 index 84fef26..0000000 --- a/doc/FreeXId.3 +++ /dev/null @@ -1,30 +0,0 @@ -'\" -'\" Copyright (c) 1990 The Regents of the University of California. -'\" Copyright (c) 1994-1996 Sun Microsystems, Inc. -'\" -'\" See the file "license.terms" for information on usage and redistribution -'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. -'\" -.TH Tk_FreeXId 3 4.0 Tk "Tk Library Procedures" -.so man.macros -.BS -.SH NAME -Tk_FreeXId \- make X resource identifier available for reuse -.SH SYNOPSIS -.nf -\fB#include \fR -.sp -\fBTk_FreeXId(\fIdisplay, id\fB)\fR -.SH ARGUMENTS -.AS Display *display out -.AP Display *display in -Display for which \fIid\fR was allocated. -.AP XID id in -Identifier of X resource (window, font, pixmap, cursor, graphics -context, or colormap) that is no longer in use. -.BE -.SH DESCRIPTION -.PP -This function is deprecated, it doesn't do anything since 2008-08-19. -.SH KEYWORDS -resource identifier diff --git a/generic/tkDecls.h b/generic/tkDecls.h index a7ae350..1a72f99 100644 --- a/generic/tkDecls.h +++ b/generic/tkDecls.h @@ -1774,9 +1774,6 @@ extern const TkStubs *tkStubsPtr; /* !END!: Do not edit above this line. */ -#define Tk_FreeXId(display,xid) /* no-op */ -#define Tk_GetStyleFromObj(obj) Tk_AllocStyleFromObj(NULL, obj) -#define Tk_FreeStyleFromObj(obj) /* no-op */ #define Tk_GetImageMasterData Tk_GetImageModelData #ifndef MAC_OSX_TK @@ -1797,6 +1794,4 @@ EXTERN int Tk_CreateConsoleWindow(Tcl_Interp *interp); #undef TCL_STORAGE_CLASS #define TCL_STORAGE_CLASS DLLIMPORT -#undef TkUnusedStubEntry - #endif /* _TKDECLS */ -- cgit v0.12