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/message.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/wlib/gtklib/message.c') diff --git a/app/wlib/gtklib/message.c b/app/wlib/gtklib/message.c index af37d22..4ecfe6f 100644 --- a/app/wlib/gtklib/message.c +++ b/app/wlib/gtklib/message.c @@ -45,7 +45,7 @@ struct wMessage_t { WOBJ_COMMON GtkWidget * labelWidget; const char * message; - wPos_t labelWidth; + wWinPix_t labelWidth; }; /** @@ -77,7 +77,7 @@ void wMessageSetValue( void wMessageSetWidth( wMessage_p b, - wPos_t width) + wWinPix_t width) { b->labelWidth = width; gtk_widget_set_size_request(b->widget, width, -1); @@ -90,7 +90,7 @@ void wMessageSetWidth( * \return text height */ -wPos_t wMessageGetHeight( +wWinPix_t wMessageGetHeight( long flags) { GtkWidget * temp; @@ -149,10 +149,10 @@ wPos_t wMessageGetHeight( wMessage_p wMessageCreateEx( wWin_p parent, - wPos_t x, - wPos_t y, + wWinPix_t x, + wWinPix_t y, const char * labelStr, - wPos_t width, + wWinPix_t width, const char *message, long flags) { @@ -212,7 +212,7 @@ wMessage_p wMessageCreateEx( * \return expected width of message box */ -wPos_t +wWinPix_t wMessageGetWidth(const char *testString) { GtkWidget *entry; -- cgit v1.2.3