mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 05:56:02 +02:00
gtk1: fixed regression: gtk list IndexOf locked the change vents
git-svn-id: trunk@15725 -
This commit is contained in:
parent
e6859b987a
commit
02181f508e
@ -869,7 +869,6 @@ function TGtkListStringList.IndexOf(const S: string): Integer;
|
||||
var
|
||||
l, m, r, cmp: integer;
|
||||
begin
|
||||
BeginUpdate;
|
||||
if FSorted then begin
|
||||
l:=0;
|
||||
r:=Count-1;
|
||||
@ -891,7 +890,6 @@ begin
|
||||
end else begin
|
||||
Result:=inherited IndexOf(S);
|
||||
end;
|
||||
EndUpdate;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
@ -665,8 +665,8 @@ procedure UpdateStatusBarPanel(StatusBar: TObject; Index: integer;
|
||||
StatusPanelWidget: PGtkWidget);
|
||||
|
||||
// list
|
||||
function gtkListSelectChild(widget: PGtkWidget;child : PGtkWidget;
|
||||
data: gPointer): GBoolean; cdecl;
|
||||
function gtkListSelectChild(widget: PGtkWidget; child: PGtkWidget;
|
||||
data: gPointer): GBoolean; cdecl;
|
||||
function gtkListGetSelectionMode(list: PGtkList): TGtkSelectionMode;cdecl;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user