mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-27 14:29:42 +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();
|
||||
|
||||
ami_schedule_open_timer();
|
||||
|
||||
if(!(appport = AllocSysObjectTags(ASOT_PORT,
|
||||
ASO_NoTrack,FALSE,
|
||||
TAG_DONE))) die(messages_get("NoMemory"));
|
||||
@ -496,7 +494,6 @@ void gui_init(int argc, char** argv)
|
||||
plot=amiplot;
|
||||
|
||||
if(option_context_menu) ami_context_menu_init();
|
||||
ami_schedule_create();
|
||||
|
||||
window_list = NewObjList();
|
||||
|
||||
@ -753,6 +750,9 @@ int main(int argc, char** argv)
|
||||
if(ami_locate_resource(messages, "Messages") == false)
|
||||
die("Cannot open Messages file");
|
||||
|
||||
ami_schedule_open_timer();
|
||||
ami_schedule_create();
|
||||
|
||||
netsurf_init(&argc, &argv, "PROGDIR:Resources/Options", messages);
|
||||
|
||||
gui_init(argc, argv);
|
||||
|
Loading…
Reference in New Issue
Block a user