diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-11-10 21:26:59 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-11-10 21:26:59 +1100 |
commit | 61342fd9e3c4cf2eb388fc7a6ba971859020b456 (patch) | |
tree | 1796d42446b7563ae5b3dd62330726566e42966d /src/windows-replace.adb | |
parent | 8528bd05cbf65593c0592055431f6c85c21d6967 (diff) |
Simplified find/replace window callbacks
Diffstat (limited to 'src/windows-replace.adb')
-rw-r--r-- | src/windows-replace.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windows-replace.adb b/src/windows-replace.adb index 5db325a..a0bdcff 100644 --- a/src/windows-replace.adb +++ b/src/windows-replace.adb @@ -32,7 +32,7 @@ package body Windows.Replace is Dialog : access Replace_Window := Replace_Window_Access (Item.Parent); begin if Dialog.Callback /= null then - Dialog.Callback.Call + Dialog.Callback.all (Dialog.Find_What.Get_Value, Dialog.Replace_With.Get_Value, Dialog.Match_Case.Get_State = BU.On, @@ -133,7 +133,7 @@ package body Windows.Replace is procedure Set_Replace_Callback (This : in out Replace_Window; - Func : not null access Replace_Callback'Class) is + Func : in Replace_Callback) is begin This.Callback := Func; end Set_Replace_Callback; |