module fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 27 Sep 2003 23:05:29 +0000 (23:05 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 27 Sep 2003 23:05:29 +0000 (23:05 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@267 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/module.c
ltt/branches/poly/lttv/modules/guiControlFlow/module.c

index 44ce77d0fef0cdd6d9897121015d496b1de37289..a77aa736f5f372bb1557c0622ba480b6abf6b90a 100644 (file)
@@ -79,8 +79,8 @@ module_load(const char *name, int argc, char **argv)
   for(i = 0 ; i < modulesPaths->len ; i++) {
     pathname = g_module_build_path(modulesPaths->pdata[i],name);
     gm = g_module_open(pathname,G_MODULE_BIND_LAZY);
-       g_critical("module : %s", pathname);
-       g_critical("erreur : %s", g_module_error());
+       g_critical("loading module : %s", pathname);
+       g_critical("module error : %s", g_module_error());
     g_free(pathname);    
     
     if(gm != NULL) break;
@@ -91,13 +91,11 @@ module_load(const char *name, int argc, char **argv)
   if(gm == NULL) {
     pathname = g_module_build_path(NULL,name);
     gm = g_module_open(pathname,G_MODULE_BIND_LAZY);
-       g_critical("module : %s", pathname);
+       g_critical("loading module : %s", pathname);
     g_free(pathname);
   }
 
   /* Module cannot be found */
-  if(gm==NULL)
-       g_critical("module est null");
   if(gm == NULL) return NULL;
 
   /* Check if the module was already opened using the hopefully canonical name
index fe6a2838c0ca0e0c29f4ca3ad61fd40344799cda..2d2ef062fa3ff0c710799d7510187d19e7f9b620 100644 (file)
@@ -95,7 +95,4 @@ G_MODULE_EXPORT void destroy() {
        /* Unregister the menu item insert entry */
        //MenuItemUnreg(hGuiControlFlow);
        
-
-       lttv_module_unload(Main_Win_Module);
-       
 }
This page took 0.024627 seconds and 4 git commands to generate.