forked from enlightenment/efl
csharp: Registering events when using Components.Basic.
Summary: With `Components.Basic`, it isn't registering events, while `Components.Ui` do with `elm_init` Fixes T7770 Thanks @lauromoura Test Plan: Look T7770 Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, brunobelo, felipealmeida, #reviewers, lauromoura, #committers Tags: #efl Maniphest Tasks: T7770 Differential Revision: https://phab.enlightenment.org/D9909
This commit is contained in:
parent
993b337e67
commit
c681b3a1b3
|
@ -13,6 +13,7 @@ static class UnsafeNativeMethods
|
|||
{
|
||||
private delegate void init_func_delegate();
|
||||
[DllImport(efl.Libs.Ecore)] public static extern void ecore_init();
|
||||
[DllImport(efl.Libs.Ecore)] public static extern void ecore_init_ex(int argc, IntPtr argv);
|
||||
[DllImport(efl.Libs.Ecore)] public static extern void ecore_shutdown();
|
||||
// dotnet loads libraries from DllImport with RTLD_LOCAL. Due to the
|
||||
// way evas modules are built with meson, currently they do not link directly
|
||||
|
@ -54,6 +55,7 @@ public static class All
|
|||
Eina.Config.Init();
|
||||
Efl.Eo.Config.Init();
|
||||
ecore_init();
|
||||
ecore_init_ex(0, IntPtr.Zero);
|
||||
evas_init();
|
||||
eldbus.Config.Init();
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@ public abstract class Application
|
|||
Eina.Config.Init();
|
||||
Efl.Eo.Config.Init();
|
||||
ecore_init();
|
||||
ecore_init_ex(0, IntPtr.Zero);
|
||||
evas_init();
|
||||
eldbus.Config.Init();
|
||||
|
||||
|
|
Loading…
Reference in New Issue