bug fixed: module dependence is wrong
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 17 Oct 2003 14:56:27 +0000 (14:56 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 17 Oct 2003 14:56:27 +0000 (14:56 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@313 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/module.c

index 7640f8655be263c6d23edcd5067597b431793128..e225992aeed5b861f7a8c36c6dbb7afbd07a2969 100644 (file)
@@ -169,7 +169,7 @@ lttv_module_require(LttvModule *m, const char *name, int argc, char **argv)
   g_info("Load module %s, as %s is a dependent requiring it", name, 
       g_module_name(m->module));
   module = module_load(name, argc, argv);
-  if(module != NULL) g_ptr_array_add(m->dependents, module);
+  if(module != NULL) g_ptr_array_add(module->dependents, m);
   return module;
 }
 
This page took 0.02654 seconds and 4 git commands to generate.