gam-resource-manager: adjust to updated proxied call callback signature.
[profile/ivi/murphy.git] / src / core / scripting.h
index 56cdfd0..6b85ebf 100644 (file)
@@ -35,6 +35,7 @@
 
 #include <murphy/common/macros.h>
 #include <murphy/common/list.h>
+#include <murphy/common/log.h>
 
 
 MRP_CDECL_BEGIN
@@ -171,9 +172,7 @@ struct mrp_interpreter_s {
             .cleanup = _cleanup                                         \
         };                                                              \
                                                                         \
-        mrp_list_init(&interpreter.hook);                               \
-                                                                        \
-        if (!mrp_resolver_register_interpreter(&interpreter))           \
+        if (!mrp_register_interpreter(&interpreter))                    \
             mrp_log_error("Failed to register interpreter '%s'.",       \
                           _type);                                       \
         else                                                            \