Commit b2fe7ea7868216f9e21e81930571fee29e794f68

Thomas de Grivel 2024-12-12T13:16:31

dlopen gtk4

diff --git a/lib/kc3/0.1/gtk4/frame.kc3 b/lib/kc3/0.1/gtk4/frame.kc3
index 8a2c7b2..8afe07c 100644
--- a/lib/kc3/0.1/gtk4/frame.kc3
+++ b/lib/kc3/0.1/gtk4/frame.kc3
@@ -1,5 +1,7 @@
 defmodule Gtk4.Frame do
 
+  dlopen(__DIR__ + "../gtk4.so")
+
   def new = cfn Ptr "kc3_gtk4_frame_new" (Result, Str)
 
 end
diff --git a/lib/kc3/0.1/gtk4/paned.kc3 b/lib/kc3/0.1/gtk4/paned.kc3
index 6822394..8643ada 100644
--- a/lib/kc3/0.1/gtk4/paned.kc3
+++ b/lib/kc3/0.1/gtk4/paned.kc3
@@ -1,5 +1,7 @@
 defmodule Gtk4.Paned do
 
+  dlopen(__DIR__ + "../gtk4.so")
+
   # new(:horizontal)
   # new(:vertical)
   def new = cfn Ptr "kc3_gtk4_paned_new" (Result, Sym)