aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-rdf.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-02-20 11:32:43 +0800
committerDan Winship <danw@src.gnome.org>2003-02-20 11:32:43 +0800
commit4a739f7cb5e2935a63a3e849c3409c076a63fcb3 (patch)
tree22535540af4610c04806eaaa713eb2b5c66033d7 /my-evolution/e-summary-rdf.c
parent34b7a88245931ca1d886c0b135df670f92c6004e (diff)
downloadgsoc2013-evolution-4a739f7cb5e2935a63a3e849c3409c076a63fcb3.tar
gsoc2013-evolution-4a739f7cb5e2935a63a3e849c3409c076a63fcb3.tar.gz
gsoc2013-evolution-4a739f7cb5e2935a63a3e849c3409c076a63fcb3.tar.bz2
gsoc2013-evolution-4a739f7cb5e2935a63a3e849c3409c076a63fcb3.tar.lz
gsoc2013-evolution-4a739f7cb5e2935a63a3e849c3409c076a63fcb3.tar.xz
gsoc2013-evolution-4a739f7cb5e2935a63a3e849c3409c076a63fcb3.tar.zst
gsoc2013-evolution-4a739f7cb5e2935a63a3e849c3409c076a63fcb3.zip
Declare xmlSubstituteEntitiesDefaultValue extern. (message_finished): And
* e-summary-rdf.c: Declare xmlSubstituteEntitiesDefaultValue extern. (message_finished): And set its value here. Fixes a duplicate symbol error on OS X. svn path=/trunk/; revision=19962
Diffstat (limited to 'my-evolution/e-summary-rdf.c')
-rw-r--r--my-evolution/e-summary-rdf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/my-evolution/e-summary-rdf.c b/my-evolution/e-summary-rdf.c
index 34d211a689..4a3145849d 100644
--- a/my-evolution/e-summary-rdf.c
+++ b/my-evolution/e-summary-rdf.c
@@ -63,7 +63,7 @@ typedef struct _RDF {
SoupMessage *message;
} RDF;
-int xmlSubstituteEntitiesDefaultValue = 1;
+extern int xmlSubstituteEntitiesDefaultValue;
char *
e_summary_rdf_get_html (ESummary *summary)
@@ -342,6 +342,7 @@ message_finished (SoupMessage *msg,
r->cache = NULL;
}
+ xmlSubstituteEntitiesDefaultValue = 1;
doc = xmlParseMemory (msg->response.body, msg->response.length);
r->cache = doc;
r->message = NULL;