aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pugl/detail/implementation.c2
-rw-r--r--pugl/pugl.h2
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.