mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:59:13 +02:00
gtk, gtk2 interface: fixed compilation with fpc 2.3.1 on unix (bug #10949)
git-svn-id: trunk@14432 -
This commit is contained in:
parent
c5849bcd5d
commit
0b76672701
@ -536,9 +536,11 @@ end;
|
|||||||
{$ifdef Unix}
|
{$ifdef Unix}
|
||||||
|
|
||||||
procedure TGtkWidgetSet.PrepareSynchronize(AObject: TObject);
|
procedure TGtkWidgetSet.PrepareSynchronize(AObject: TObject);
|
||||||
|
var
|
||||||
|
thrash: char;
|
||||||
begin
|
begin
|
||||||
// wake up GUI thread by sending a byte through the threadsync pipe
|
// wake up GUI thread by sending a byte through the threadsync pipe
|
||||||
fpwrite(threadsync_pipeout, ' ', 1);
|
fpwrite(threadsync_pipeout, thrash, 1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TGtkWidgetSet.ProcessChildSignal;
|
procedure TGtkWidgetSet.ProcessChildSignal;
|
||||||
|
Loading…
Reference in New Issue
Block a user