diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-11-11 10:53:05 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-11-11 10:53:05 +1100 |
commit | bf5b67dee0d61996c3937dd8b255d5fcf2198973 (patch) | |
tree | 0a53efae21ee2abba5b1f24fb0488dd022477286 /src/windows.adb | |
parent | 646bb5b98226ecfcee8b02d669b9cef5d00bbded (diff) |
Simplified widget callbacks
Diffstat (limited to 'src/windows.adb')
-rw-r--r-- | src/windows.adb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/windows.adb b/src/windows.adb index 646ffb4..bf070a4 100644 --- a/src/windows.adb +++ b/src/windows.adb @@ -18,9 +18,8 @@ package body Windows is -- used to hide about/find/replace/etc windows instead -- of constantly creating and destroying them - overriding procedure Call - (This : in Hide_Callback; - Item : in out W.Widget'Class) + procedure Hide_CB + (Item : in out W.Widget'Class) is P : access G.Group'Class; begin @@ -37,7 +36,7 @@ package body Windows is end loop; WN.Window (P.all).Hide; end if; - end Call; + end Hide_CB; end Windows; |