commit 406bd4ad1005e3b8fd06eafd35c6e2a61d35c962
parent edddfb798277d6cf424449206b4782885fcdcb64
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Sat, 26 Feb 2022 09:03:07 +0100
compute_size_to_fit() can fail, eg I/O error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/clap/ext/gui.h b/include/clap/ext/gui.h
@@ -114,7 +114,7 @@ typedef struct clap_plugin_gui {
// This method does not change the size.
//
// [main-thread]
- void (*compute_size_to_fit)(const clap_plugin_t *plugin, uint32_t *width, uint32_t *height);
+ bool (*compute_size_to_fit)(const clap_plugin_t *plugin, uint32_t *width, uint32_t *height);
// Sets the window size
// Returns true if the size is supported.