diff options
author | David Robillard <d@drobilla.net> | 2023-01-12 10:34:29 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-13 23:41:16 -0500 |
commit | af0f95c3f47c68a6745cb260f9345ccbcdd9e776 (patch) | |
tree | d7cf749baedb03327eca72657e6ff10e5601bcd9 | |
parent | 28d75f7e20d49b5fe6b1d00a6088c84fc7c1f9ce (diff) | |
download | pugl-af0f95c3f47c68a6745cb260f9345ccbcdd9e776.tar.gz pugl-af0f95c3f47c68a6745cb260f9345ccbcdd9e776.tar.bz2 pugl-af0f95c3f47c68a6745cb260f9345ccbcdd9e776.zip |
Fix deprecated API
-rw-r--r-- | include/pugl/pugl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index 6678ce4..468798e 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -1745,7 +1745,7 @@ static inline PUGL_DEPRECATED_BY("puglSetTransientParent") void puglInitTransientFor(PuglView* view, uintptr_t parent) { - puglSetTransientParent(view, (PuglNativeWindow)parent); + puglSetTransientParent(view, (PuglNativeView)parent); } /** @@ -1757,7 +1757,7 @@ static inline PUGL_DEPRECATED_BY("puglSetTransientParent") PuglStatus puglSetTransientFor(PuglView* view, uintptr_t parent) { - return puglSetTransientParent(view, (PuglNativeWindow)parent); + return puglSetTransientParent(view, (PuglNativeView)parent); } /** @@ -1819,7 +1819,7 @@ puglInitWindowHint(PuglView* view, PuglViewHint hint, int value) */ static inline PUGL_DEPRECATED_BY("puglSetParentWindow") void -puglInitWindowParent(PuglView* view, PuglNativeWindow parent) +puglInitWindowParent(PuglView* view, PuglNativeView parent) { puglSetParentWindow(view, parent); } @@ -1924,7 +1924,7 @@ static inline PUGL_DEPRECATED_BY("puglShow") PuglStatus puglShowWindow(PuglView* view) { - return puglShow(view); + return puglShow(view, PUGL_SHOW_RAISE); } static inline PUGL_DEPRECATED_BY("puglHide") |