Deprecate EUri.
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Jun 2012 02:07:20 +0000 (22:07 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Jun 2012 03:00:29 +0000 (23:00 -0400)
Help end the proliferation of redundant URI-parsing APIs.  We avoid URIs
whenever possible now.  When it can't be avoided, SoupURI is sufficient.

docs/reference/libedataserver/libedataserver-docs.sgml
libedataserver/e-url.h

index 813d6c3..c7ebff9 100644 (file)
@@ -58,7 +58,6 @@
     <xi:include href="xml/e-time-utils.xml"/>
     <xi:include href="xml/e-uid.xml"/>
     <xi:include href="xml/e-util.xml"/>
-    <xi:include href="xml/e-url.xml"/>
     <xi:include href="xml/e-xml-hash-utils.xml"/>
     <xi:include href="xml/eds-version.xml"/>
   </chapter>
@@ -69,6 +68,7 @@
     <xi:include href="xml/e-iterator.xml"/>
     <xi:include href="xml/e-list.xml"/>
     <xi:include href="xml/e-list-iterator.xml"/>
+    <xi:include href="xml/e-url.xml"/>
   </chapter>
 
   <index id="api-index-full">
index 783bb2d..fdf9669 100644 (file)
@@ -29,6 +29,8 @@
 #error "Only <libedataserver/libedataserver.h> should be included directly."
 #endif
 
+#ifndef EDS_DISABLE_DEPRECATED
+
 #ifndef E_URL_H
 #define E_URL_H
 
@@ -81,3 +83,5 @@ G_END_DECLS
 
 #endif /* E_URL_H */
 
+#endif /* EDS_DISABLE_DEPRECATED */
+