summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkPanedwindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-18 21:21:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-18 21:21:04 (GMT)
commit33cef687c6a0dfcbfe12eb57949231fd9d206f4d (patch)
treeb390d3e945f5a5201ec01135198a5f87f86cccd1 /generic/ttk/ttkPanedwindow.c
parent321b9ffa79cccca2d0d78ea403a85c50edcc314c (diff)
downloadtk-33cef687c6a0dfcbfe12eb57949231fd9d206f4d.zip
tk-33cef687c6a0dfcbfe12eb57949231fd9d206f4d.tar.gz
tk-33cef687c6a0dfcbfe12eb57949231fd9d206f4d.tar.bz2
ttk improvements (e.g. regarding TCL_UNUSED)
Diffstat (limited to 'generic/ttk/ttkPanedwindow.c')
-rw-r--r--generic/ttk/ttkPanedwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkPanedwindow.c b/generic/ttk/ttkPanedwindow.c
index 01285df..e81ddca 100644
--- a/generic/ttk/ttkPanedwindow.c
+++ b/generic/ttk/ttkPanedwindow.c
@@ -480,7 +480,7 @@ static Ttk_ManagerSpec PanedManagerSpec = {
*/
static const unsigned PanedEventMask = LeaveWindowMask;
-static void PanedEventProc(ClientData clientData, XEvent *eventPtr)
+static void PanedEventProc(void *clientData, XEvent *eventPtr)
{
WidgetCore *corePtr = (WidgetCore *)clientData;
if ( eventPtr->type == LeaveNotify
@@ -933,7 +933,7 @@ static const Ttk_ElementOptionSpec SashElementOptions[] = {
};
static void SashElementSize(
- TCL_UNUSED(void *),
+ TCL_UNUSED(void *), /* clientData */
void *elementRecord,
TCL_UNUSED(Tk_Window),
int *widthPtr,