From 6c870cb0d2cae098d7780d7aaaf1815887ef182e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Apr 2020 16:36:11 +0200 Subject: Make puglGetVisible() take a const view argument --- pugl/detail/implementation.c | 2 +- pugl/pugl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pugl/detail/implementation.c b/pugl/detail/implementation.c index d17d14c..ee9b242 100644 --- a/pugl/detail/implementation.c +++ b/pugl/detail/implementation.c @@ -274,7 +274,7 @@ puglGetHandle(PuglView* view) } bool -puglGetVisible(PuglView* view) +puglGetVisible(const PuglView* view) { return view->visible; } diff --git a/pugl/pugl.h b/pugl/pugl.h index c8807f1..57e23fa 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -1032,7 +1032,7 @@ puglHideWindow(PuglView* view); Return true iff the view is currently visible. */ PUGL_API bool -puglGetVisible(PuglView* view); +puglGetVisible(const PuglView* view); /** Return the native window handle. -- cgit v1.2.1