diff options
author | David Robillard <d@drobilla.net> | 2020-04-02 16:36:11 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-04-02 17:40:56 +0200 |
commit | 6c870cb0d2cae098d7780d7aaaf1815887ef182e (patch) | |
tree | 51f4c029a0c30a003e0f1b50b51624afb80c7a3b /pugl | |
parent | 8c6f2c0d38fa0035a5990214d93bb9b766088a9f (diff) | |
download | pugl-6c870cb0d2cae098d7780d7aaaf1815887ef182e.tar.gz pugl-6c870cb0d2cae098d7780d7aaaf1815887ef182e.tar.bz2 pugl-6c870cb0d2cae098d7780d7aaaf1815887ef182e.zip |
Make puglGetVisible() take a const view argument
Diffstat (limited to 'pugl')
-rw-r--r-- | pugl/detail/implementation.c | 2 | ||||
-rw-r--r-- | 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. |