No need to load the modified description document anymore.
authorZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Wed, 23 Apr 2008 13:53:53 +0000 (13:53 +0000)
committerZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Wed, 23 Apr 2008 13:53:53 +0000 (13:53 +0000)
svn path=/trunk/; revision=132

ChangeLog
src/main.c

index 426e2f6..4a89500 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,8 +2,9 @@
 
        * src/main.c:
 
-       Fetch the UDN and friendlyname from gconf and set them to default
-       values if gconf keys aren't already set.
+       - Fetch the UDN and friendlyname from gconf and set them to default
+         values if gconf keys aren't already set.
+       - No need to load the modified description document anymore.
 
 2008-04-22  Zeeshan Ali Khattak  <zeenix@gmail.com>
 
index c5cd4d5..677f6b9 100644 (file)
@@ -240,14 +240,7 @@ create_ms (void)
                                       MODIFIED_DESC_DOC,
                                       NULL);
 
-        /* Load description.xml. Loads the already-modified version, if it
-         * exists. */
-        if (g_file_test (desc_path, G_FILE_TEST_EXISTS))
-                doc = xmlParseFile (desc_path);
-        else
-                doc = xmlParseFile (DATA_DIR
-                                    G_DIR_SEPARATOR_S
-                                    DESC_DOC);
+        doc = xmlParseFile (DATA_DIR G_DIR_SEPARATOR_S DESC_DOC);
 
         if (doc == NULL)
                 return NULL;