rygel r21 - in trunk: . src
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r21 - in trunk: . src
- Date: Tue, 28 Oct 2008 20:58:28 +0000 (UTC)
Author: zeeshanak
Date: Tue Oct 28 20:58:28 2008
New Revision: 21
URL: http://svn.gnome.org/viewvc/rygel?rev=21&view=rev
Log:
No need to load the modified description document anymore.
Modified:
trunk/ChangeLog
trunk/src/main.c
Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c (original)
+++ trunk/src/main.c Tue Oct 28 20:58:28 2008
@@ -240,14 +240,7 @@
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]