From 2e4a5463075e387151afcdf61b74202a729944db Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 6 Apr 2000 03:52:39 +0000 Subject: the URL RFC says the port must be numeric, so we don't want to do * g_url_new really wanted to take a CamelException. So, rename Gurl to CamelURL, g_url_* to camel_url_* (with camel_url_new taking an exception), and url-util.[ch] to camel-url.[ch]. Also force url->port to be numeric and remove camel_service_getport. (I was confused before: the URL RFC says the port must be numeric, so we don't want to do getportbyname.) svn path=/trunk/; revision=2300 --- camel/providers/mbox/camel-mbox-store.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/providers/mbox') diff --git a/camel/providers/mbox/camel-mbox-store.c b/camel/providers/mbox/camel-mbox-store.c index 74ea8c3461..32d25becf1 100644 --- a/camel/providers/mbox/camel-mbox-store.c +++ b/camel/providers/mbox/camel-mbox-store.c @@ -28,7 +28,7 @@ #include "camel-mbox-store.h" #include "camel-mbox-folder.h" #include "camel-exception.h" -#include "url-util.h" +#include "camel-url.h" /* Returns the class for a CamelMboxStore */ #define CMBOXS_CLASS(so) CAMEL_MBOX_STORE_CLASS (GTK_OBJECT(so)->klass) @@ -88,7 +88,7 @@ camel_mbox_store_get_type (void) const gchar * camel_mbox_store_get_toplevel_dir (CamelMboxStore *store) { - Gurl *url = CAMEL_SERVICE (store)->url; + CamelURL *url = CAMEL_SERVICE (store)->url; g_assert(url != NULL); return url->path; -- cgit