summaryrefslogtreecommitdiffstats
path: root/editor/gui/editor_toaster.h
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2023-01-19 13:07:19 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2023-04-13 12:10:56 +0200
commit84183f89e6d204068484c86bad3f304c6249fa48 (patch)
tree66ba93ff0dec6a7165be1b726ec1496eb2febd0f /editor/gui/editor_toaster.h
parent68b8156fe3075e0e45b070d26fce2a0baae6f293 (diff)
downloadredot-engine-84183f89e6d204068484c86bad3f304c6249fa48.tar.gz
Make EditorToaster's handler thread-safe
Diffstat (limited to 'editor/gui/editor_toaster.h')
-rw-r--r--editor/gui/editor_toaster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/gui/editor_toaster.h b/editor/gui/editor_toaster.h
index 6b834f8288..4837756b4e 100644
--- a/editor/gui/editor_toaster.h
+++ b/editor/gui/editor_toaster.h
@@ -89,6 +89,7 @@ private:
const double default_message_duration = 5.0;
static void _error_handler(void *p_self, const char *p_func, const char *p_file, int p_line, const char *p_error, const char *p_errorexp, bool p_editor_notify, ErrorHandlerType p_type);
+ static void _error_handler_impl(const String &p_file, int p_line, const String &p_error, const String &p_errorexp, bool p_editor_notify, int p_type);
void _update_vbox_position();
void _update_disable_notifications_button();
void _auto_hide_or_free_toasts();