summaryrefslogtreecommitdiff
path: root/src/windows-editor.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows-editor.adb')
-rw-r--r--src/windows-editor.adb10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/windows-editor.adb b/src/windows-editor.adb
index 29b1c6e..b0c2d02 100644
--- a/src/windows-editor.adb
+++ b/src/windows-editor.adb
@@ -76,7 +76,7 @@ package body Windows.Editor is
function Get_Buffer
(This : in Editor_Window)
- return FLTK.Text_Buffers.Text_Buffer_Cursor is
+ return FLTK.Text_Buffers.Text_Buffer_Reference is
begin
return This.Editor.Get_Buffer;
end Get_Buffer;
@@ -96,9 +96,9 @@ package body Windows.Editor is
function Get_Menu_Bar
(This : in out Editor_Window)
- return FLTK.Widgets.Menus.Menu_Cursor is
+ return FLTK.Widgets.Menus.Menu_Reference is
begin
- return Ref : FLTK.Widgets.Menus.Menu_Cursor (This.Bar'Access);
+ return Ref : FLTK.Widgets.Menus.Menu_Reference (This.Bar'Access);
end Get_Menu_Bar;
@@ -106,9 +106,9 @@ package body Windows.Editor is
function Get_Rightclick_Menu
(This : in out Editor_Window)
- return FLTK.Widgets.Menus.Menu_Cursor is
+ return FLTK.Widgets.Menus.Menu_Reference is
begin
- return Ref : FLTK.Widgets.Menus.Menu_Cursor (This.Popup'Access);
+ return Ref : FLTK.Widgets.Menus.Menu_Reference (This.Popup'Access);
end Get_Rightclick_Menu;