gtk, gtk2 interface: fixed compilation with fpc 2.3.1 on unix (bug #10949)

git-svn-id: trunk@14432 -
This commit is contained in:
vincents 2008-03-05 15:35:29 +00:00
parent c5849bcd5d
commit 0b76672701

View File

@ -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;