about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedgmodule2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedgmodule2.c')
-rwxr-xr-xsrc/wrapped/wrappedgmodule2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedgmodule2.c b/src/wrapped/wrappedgmodule2.c
index 5e6510ff..b5681d4e 100755
--- a/src/wrapped/wrappedgmodule2.c
+++ b/src/wrapped/wrappedgmodule2.c
@@ -20,6 +20,6 @@ const char* gmodule2Name = "libgmodule-2.0.so.0";
         return -1;
 
 #define CUSTOM_INIT \
-    setNeededLibs(&lib->priv.w, 1, "libglib-2.0.so.0");
+    setNeededLibs(lib, 1, "libglib-2.0.so.0");
 
 #include "wrappedlib_init.h"