mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-03 07:20:46 +00:00
Use set_close_button_callback instead of set_window_close_hook (which is deprecated).
This commit is contained in:
parent
579d652f07
commit
6cfc3981fb
@ -135,7 +135,7 @@ JWidget jmanager_new()
|
|||||||
|
|
||||||
/* hook the window close message */
|
/* hook the window close message */
|
||||||
want_close_stage = STAGE_NORMAL;
|
want_close_stage = STAGE_NORMAL;
|
||||||
set_window_close_hook(allegro_window_close_hook);
|
set_close_button_callback(allegro_window_close_hook);
|
||||||
|
|
||||||
/* empty lists */
|
/* empty lists */
|
||||||
msg_queue = jlist_new();
|
msg_queue = jlist_new();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user