From 20c50312fcd807fdee6c907a9a8af250f79d02b0 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 9 May 2022 09:41:50 +0200 Subject: Cleaner declaration of public function fl_wl_cairo(). --- FL/wayland.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/wayland.H b/FL/wayland.H index 9918e1f7b..bd5f8a812 100644 --- a/FL/wayland.H +++ b/FL/wayland.H @@ -26,7 +26,8 @@ struct flCairoRegion { }; // a region is the union of a series of rectangles #include +typedef struct _cairo cairo_t; FL_EXPORT struct wl_display *fl_wl_display(); FL_EXPORT struct wl_surface *fl_wl_surface(Window xid); -FL_EXPORT struct _cairo *fl_wl_cairo(); +FL_EXPORT cairo_t *fl_wl_cairo(); -- cgit v1.2.3