[fpc-devel] type PPGdkScreen = PGdkScreen;

Juha Manninen juha.manninen62 at gmail.com
Sat May 20 13:34:35 CEST 2023


On Saturday, May 20, 2023, Juha Manninen <juha.manninen62 at gmail.com> 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 PPGdkScreen type is
wrong.
It means I only must use {$T-} for that piece of code.
It also means the bugs in LCL TrayIcon are not caused by this.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20230520/125aed6a/attachment.htm>


More information about the fpc-devel mailing list