summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-03-31 20:27:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-03-31 20:27:58 (GMT)
commit822a7a11ce042bc2035894295333a5255b84a29c (patch)
tree845216c6b1e9c4b5559920a50af2215672f97504 /unix
parente2c6aa1de60b6c195a39f4dd06ceee1a287f36ea (diff)
downloadtk-core-getrid_setgrid.zip
tk-core-getrid_setgrid.tar.gz
tk-core-getrid_setgrid.tar.bz2
Make Tk_SetSizeHints() usable without tkPlatDecls.h. Clean up much morecore-getrid_setgrid
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixSysTray.c1
-rw-r--r--unix/tkUnixWm.c54
2 files changed, 0 insertions, 55 deletions
diff --git a/unix/tkUnixSysTray.c b/unix/tkUnixSysTray.c
index 420c928..170628e 100644
--- a/unix/tkUnixSysTray.c
+++ b/unix/tkUnixSysTray.c
@@ -14,7 +14,6 @@
#include "tkInt.h"
#include "tkUnixInt.h"
-#include "tkPlatDecls.h"
/*
* Based extensively on the tktray extension package. Here we are removing
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index e2a9f82..526acf9 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -2033,8 +2033,6 @@ WmGridCmd(
Tcl_SetErrorCode(interp, "TK", "VALUE", "GRID", NULL);
return TCL_ERROR;
}
- Tk_SetGrid((Tk_Window) winPtr, reqWidth, reqHeight, widthInc,
- heightInc);
}
wmPtr->flags |= WM_UPDATE_SIZE_HINTS;
WmUpdateGeom(wmPtr, winPtr);
@@ -3814,58 +3812,6 @@ void Tk_SetSizeHints(
wmPtr->minHeight = minHeight;
wmPtr->maxHeight = maxHeight;
}
-
-
-/*
- *----------------------------------------------------------------------
- *
- * Tk_SetGrid --
- *
- * This function has been deprecated. It is a no-op for the time
- * being, until it is is removed.
- *
- * Results:
- * None.
- *
- * Side effects:
- * None.
- *
- *----------------------------------------------------------------------
- */
-
-void
-Tk_SetGrid(
- TCL_UNUSED(Tk_Window), /* tkwin */
- TCL_UNUSED(int), /* reqWidth */
- TCL_UNUSED(int), /* reqHeight */
- TCL_UNUSED(int), /* widthInc) */
- TCL_UNUSED(int)) /* heightInc */
-{
-}
-
-/*
- *----------------------------------------------------------------------
- *
- * Tk_UnsetGrid --
- *
- * This function has been deprecated. It is a no-op for the time
- * being, until it is removed.
- *
- * Results:
- * None.
- *
- * Side effects:
- * None.
- *
- *----------------------------------------------------------------------
- */
-
-void
-Tk_UnsetGrid(
- TCL_UNUSED(Tk_Window) /* tkwin */
- )
-{
-}
/*
*----------------------------------------------------------------------