summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-09 09:41:50 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-09 09:41:50 +0200
commit20c50312fcd807fdee6c907a9a8af250f79d02b0 (patch)
treeee40c1cbe658097c7a33c9a8323b60907d03b520 /src/drivers
parentc02fba6bb9af3254bc617eb090bce7820f58614a (diff)
Cleaner declaration of public function fl_wl_cairo().
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index e7377cc7f..4cd614293 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -1543,7 +1543,7 @@ struct wl_surface *fl_wl_surface(Window xid) {
}
-struct _cairo *fl_wl_cairo() {
+cairo_t *fl_wl_cairo() {
return ((Fl_Cairo_Graphics_Driver*)fl_graphics_driver)->cr();
}