mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 11:27:29 +00:00
parent
e99f2d0595
commit
a79378ff19
@ -182,7 +182,7 @@ class Pdf_view
|
||||
|
||||
void handle_key(int ascii)
|
||||
{
|
||||
pdfapp_onkey(&_pdfapp, ascii);
|
||||
Libc::with_libc([&] () { pdfapp_onkey(&_pdfapp, ascii); });
|
||||
}
|
||||
};
|
||||
|
||||
@ -329,4 +329,7 @@ struct Main
|
||||
};
|
||||
|
||||
|
||||
void Libc::Component::construct(Libc::Env &env) { static Main main(env); }
|
||||
void Libc::Component::construct(Libc::Env &env)
|
||||
{
|
||||
Libc::with_libc([&] () { static Main main(env); });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user