graveman-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Graveman-cvs] Changes to graveman/current/src/main.c


From: sylvain cresto
Subject: [Graveman-cvs] Changes to graveman/current/src/main.c
Date: Sat, 19 Feb 2005 12:49:30 -0500

Index: graveman/current/src/main.c
diff -u graveman/current/src/main.c:1.10 graveman/current/src/main.c:1.11
--- graveman/current/src/main.c:1.10    Thu Feb 17 01:22:53 2005
+++ graveman/current/src/main.c Sat Feb 19 17:49:08 2005
@@ -119,9 +119,9 @@
    * genere un nouveau */
   config_init();
   if (get_config_file(R_OK) == FALSE) {
-    GHashTable *Lhash = _hash();
-    manage_config(Lhash, SEARCH_LECTEUR + SEARCH_PROG + WRITE_CONFIG, &Lerror);
-    g_free(Lhash);
+    Tgrave *Lg = sc_grave_newempty();
+    manage_config(Lg, SEARCH_LECTEUR + SEARCH_PROG + WRITE_CONFIG, &Lerror);
+    sc_grave_destroy(Lg);
     welcome_to_graveman();
   } else {
     if (read_config(&Lerror)==FALSE) return EXIT_FAILURE;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]