From 0c6cc80cdf8c85ee86b588c1d49d5cbd4fbe5e82 Mon Sep 17 00:00:00 2001
From: bertrand <Bertrand.Guiheneuf@aful.org>
Date: Fri, 17 Dec 1999 19:19:59 +0000
Subject: use exception mechanism. (camel_folder_set_name): idem.

1999-12-17  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel/camel-folder.c (_set_name):
	use exception mechanism.
	(camel_folder_set_name): idem.
	(camel_folder_set_full_name): idem.
	(_get_name): idem.
	(camel_folder_get_name): idem.
	(_get_full_name): idem.
	(camel_folder_get_full_name): idem.
	(_can_hold_folders): idem.
	(_can_hold_messages): idem.
	(_exists): idem.
	(camel_folder_exists): idem.
	(_is_open): idem.
	(_get_subfolder): idem.
	(camel_folder_get_subfolder): idem.

	* camel/camel-exception.c (camel_exception_clear):
	New function. Clear an exception.
	(camel_exception_get_id):
	New function.
	(camel_exception_get_description):
	New function.

	* camel/camel-folder.c (_set_name):
	Use the exception system. When the folder
	has no parent, don't set its full name
	field.

svn path=/trunk/; revision=1499
---
 camel/camel-exception-list.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'camel/camel-exception-list.def')

diff --git a/camel/camel-exception-list.def b/camel/camel-exception-list.def
index 1444c59f2c..1ed6f67fed 100644
--- a/camel/camel-exception-list.def
+++ b/camel/camel-exception-list.def
@@ -1,4 +1,4 @@
-CAMEL_EXCEPTION_NONE,
+CAMEL_EXCEPTION_NONE = 0,
 
 /* Generic exceptions */
 CAMEL_EXCEPTION_INVALID_PARAM,
-- 
cgit v1.2.3

