diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-11-09 09:12:26 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-11-09 09:12:26 +1100 |
commit | e0ee146d740146cd4c80de22d6bf6e204efadfa0 (patch) | |
tree | 5549e0b0057e9be10e88a439f40dc8d197f26505 /fltk-widgets-groups.adb | |
parent | c3592231733f3f52aa9fdfd83ac93eb9ee1865e1 (diff) |
Removed superfluous use clauses, styling now more standardised
Diffstat (limited to 'fltk-widgets-groups.adb')
-rw-r--r-- | fltk-widgets-groups.adb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fltk-widgets-groups.adb b/fltk-widgets-groups.adb index 2197d28..067407d 100644 --- a/fltk-widgets-groups.adb +++ b/fltk-widgets-groups.adb @@ -109,14 +109,13 @@ package body FLTK.Widgets.Groups is function Child (This : in Group; Place : in Index) - return access Widget'Class is - + return access Widget'Class + is Widget_Ptr : System.Address := fl_group_child (This.Void_Ptr, Interfaces.C.int (Place - 1)); Actual_Widget : access Widget'Class := Widget_Convert.To_Pointer (fl_widget_get_user_data (Widget_Ptr)); - begin return Actual_Widget; end Child; |