diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-03-23 13:10:56 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-03-23 13:10:56 +1300 |
commit | 620c9cedb6880f28a2b3657a5d55d120bf83e9ba (patch) | |
tree | 237cae636dffff5809ac2aef52fabc36a8254209 /body/fltk-widgets-groups-windows-double-cairo.adb | |
parent | f2352c6df585d817b3613145ec81446f917dcc21 (diff) |
Improved project files, constant variables now constant
Diffstat (limited to 'body/fltk-widgets-groups-windows-double-cairo.adb')
-rw-r--r-- | body/fltk-widgets-groups-windows-double-cairo.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/body/fltk-widgets-groups-windows-double-cairo.adb b/body/fltk-widgets-groups-windows-double-cairo.adb index 270a30e..1560c20 100644 --- a/body/fltk-widgets-groups-windows-double-cairo.adb +++ b/body/fltk-widgets-groups-windows-double-cairo.adb @@ -81,9 +81,9 @@ package body FLTK.Widgets.Groups.Windows.Double.Cairo is procedure Cairo_Draw_Hook (C_Addr, Cairo_Addr : in Storage.Integer_Address) is - Ada_Addr : System.Address := + Ada_Addr : constant System.Address := Storage.To_Address (fl_widget_get_user_data (C_Addr)); - Ada_Object : access Cairo_Window'Class := + Ada_Object : constant access Cairo_Window'Class := Cairo_Convert.To_Pointer (Ada_Addr); begin pragma Assert (Ada_Object /= null); |