Re: [fpc-devel] type PPGdkScreen = PGdkScreen;

2023-05-20 Thread Mattias Gaertner via fpc-devel
On Sat, 20 May 2023 14:09:00 +0300 Juha Manninen via fpc-devel wrote: > In gtkstatusiconh.inc there is a type definition > PPGdkScreen = PGdkScreen; > It is most likely a bug. I guess it should be > PPGdkScreen = ^PGdkScreen; Yes, fixed. Mattias _

Re: [fpc-devel] type PPGdkScreen = PGdkScreen;

2023-05-20 Thread Juha Manninen via fpc-devel
... but PPGdkScreen definition should be fixed anyways. Juha ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] Division nodes

2023-05-20 Thread J. Gareth Moreton via fpc-devel
Hi Florian, Can I have a specific code example where this is absolutely necessary, and, if applicable, a target where it's known to cause a problem otherwise?  I've tried to create the example listed in the e-mail with the following: procedure DoDivMod(N, D: Int64; out Q, R: LongInt); noinli

Re: [fpc-devel] type PPGdkScreen = PGdkScreen;

2023-05-20 Thread Juha Manninen via fpc-devel
On Saturday, May 20, 2023, Juha Manninen wrote: > which is used in LCL function TGtk2TrayIconHandle.GetPosition: TPoint; > gtk_status_icon_get_geometry(FStatusIcon, @AScreen, @AArea, > @AOrientation); > where > AScreen: PGdkScreen; > OK, actually the @AScreen in LCL code is correct if the PP

[fpc-devel] type PPGdkScreen = PGdkScreen;

2023-05-20 Thread Juha Manninen via fpc-devel
In gtkstatusiconh.inc there is a type definition PPGdkScreen = PGdkScreen; It is most likely a bug. I guess it should be PPGdkScreen = ^PGdkScreen; It is used for : gtk_status_icon_get_geometry : function(status_icon:PGtkStatusIcon; screen:PPGdkScreen; area:PGdkRectangle; orientation:PGtkOri