projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
p/s proxy icon, rework window locks, segv in close_mixers + exportedl, ffmpeg default...
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
errorbox.C
diff --git
a/cinelerra-5.1/guicast/errorbox.C
b/cinelerra-5.1/guicast/errorbox.C
index ed3749266a46d56d1695110d1fda91af327e969c..91504d2392c8c938196cbe6abd0636a9a47ee14b 100644
(file)
--- a/
cinelerra-5.1/guicast/errorbox.C
+++ b/
cinelerra-5.1/guicast/errorbox.C
@@
-30,8
+30,9
@@
ErrorBox::~ErrorBox()
{
}
{
}
-
int
ErrorBox::create_objects(const char *text)
+
void
ErrorBox::create_objects(const char *text)
{
{
+ lock_window("ErrorBox::create_objects");
int x = 10, y = 10;
add_subwindow(new BC_Title(get_w() / 2,
int x = 10, y = 10;
add_subwindow(new BC_Title(get_w() / 2,
@@
-44,5
+45,5
@@
int ErrorBox::create_objects(const char *text)
y = get_h() - 50;
add_tool(new BC_OKButton(x, y));
show_window(1);
y = get_h() - 50;
add_tool(new BC_OKButton(x, y));
show_window(1);
-
return 0
;
+
unlock_window()
;
}
}