summaryrefslogtreecommitdiff
path: root/src/windows.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-11-11 10:53:05 +1100
committerJed Barber <jjbarber@y7mail.com>2016-11-11 10:53:05 +1100
commitbf5b67dee0d61996c3937dd8b255d5fcf2198973 (patch)
tree0a53efae21ee2abba5b1f24fb0488dd022477286 /src/windows.adb
parent646bb5b98226ecfcee8b02d669b9cef5d00bbded (diff)
Simplified widget callbacks
Diffstat (limited to 'src/windows.adb')
-rw-r--r--src/windows.adb7
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;