mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:39:18 +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}
|
||||
|
||||
procedure TGtkWidgetSet.PrepareSynchronize(AObject: TObject);
|
||||
var
|
||||
thrash: char;
|
||||
begin
|
||||
// wake up GUI thread by sending a byte through the threadsync pipe
|
||||
fpwrite(threadsync_pipeout, ' ', 1);
|
||||
fpwrite(threadsync_pipeout, thrash, 1);
|
||||
end;
|
||||
|
||||
procedure TGtkWidgetSet.ProcessChildSignal;
|
||||
|
Loading…
Reference in New Issue
Block a user