From 5d2c2b27a6323e2666378b986129b2a7c2c39e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Feb 2022 16:04:24 +0100 Subject: New upstream version 5.2.2GA --- app/wlib/gtklib/treeview.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/wlib/gtklib/treeview.c') diff --git a/app/wlib/gtklib/treeview.c b/app/wlib/gtklib/treeview.c index 2b743cb..e8e0625 100644 --- a/app/wlib/gtklib/treeview.c +++ b/app/wlib/gtklib/treeview.c @@ -445,15 +445,15 @@ changeSelection(GtkTreeSelection *selection, wList_p wListCreate( wWin_p parent, - wPos_t x, - wPos_t y, + wWinPix_t x, + wWinPix_t y, const char * helpStr, const char * labelStr, long option, long number, - wPos_t width, + wWinPix_t width, int colCnt, - wPos_t * colWidths, + wWinPix_t * colWidths, wBool_t * colRightJust, const char ** colTitles, long *valueP, @@ -462,7 +462,7 @@ wList_p wListCreate( { GtkTreeSelection *sel; wList_p bl; - static wPos_t zeroPos = 0; + static wWinPix_t zeroPos = 0; assert(width != 0); @@ -481,8 +481,8 @@ wList_p wListCreate( } bl->colCnt = colCnt; - bl->colWidths = (wPos_t*)malloc(colCnt * sizeof *(wPos_t*)0); - memcpy(bl->colWidths, colWidths, colCnt * sizeof *(wPos_t*)0); + bl->colWidths = (wWinPix_t*)malloc(colCnt * sizeof *(wWinPix_t*)0); + memcpy(bl->colWidths, colWidths, colCnt * sizeof *(wWinPix_t*)0); /* create the data structure for data */ bl->listStore = wlibNewListStore(colCnt); -- cgit v1.2.3