mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 06:49:41 +03:00
Move timer initialisation for scheduler so netsurf_init can queue scheduled events.
svn path=/trunk/netsurf/; revision=12033
This commit is contained in:
parent
9017a03330
commit
d3b8961017
@ -299,8 +299,6 @@ void ami_open_resources(void)
|
|||||||
|
|
||||||
urlStringClass = MakeStringClass();
|
urlStringClass = MakeStringClass();
|
||||||
|
|
||||||
ami_schedule_open_timer();
|
|
||||||
|
|
||||||
if(!(appport = AllocSysObjectTags(ASOT_PORT,
|
if(!(appport = AllocSysObjectTags(ASOT_PORT,
|
||||||
ASO_NoTrack,FALSE,
|
ASO_NoTrack,FALSE,
|
||||||
TAG_DONE))) die(messages_get("NoMemory"));
|
TAG_DONE))) die(messages_get("NoMemory"));
|
||||||
@ -496,7 +494,6 @@ void gui_init(int argc, char** argv)
|
|||||||
plot=amiplot;
|
plot=amiplot;
|
||||||
|
|
||||||
if(option_context_menu) ami_context_menu_init();
|
if(option_context_menu) ami_context_menu_init();
|
||||||
ami_schedule_create();
|
|
||||||
|
|
||||||
window_list = NewObjList();
|
window_list = NewObjList();
|
||||||
|
|
||||||
@ -753,6 +750,9 @@ int main(int argc, char** argv)
|
|||||||
if(ami_locate_resource(messages, "Messages") == false)
|
if(ami_locate_resource(messages, "Messages") == false)
|
||||||
die("Cannot open Messages file");
|
die("Cannot open Messages file");
|
||||||
|
|
||||||
|
ami_schedule_open_timer();
|
||||||
|
ami_schedule_create();
|
||||||
|
|
||||||
netsurf_init(&argc, &argv, "PROGDIR:Resources/Options", messages);
|
netsurf_init(&argc, &argv, "PROGDIR:Resources/Options", messages);
|
||||||
|
|
||||||
gui_init(argc, argv);
|
gui_init(argc, argv);
|
||||||
|
Loading…
Reference in New Issue
Block a user