From 2de08e6b9a54a34fced0bdd087117c145019c7ad Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 2 Mar 2001 23:39:39 +0000 Subject: Remove very old camel lock stuff. 2001-03-03 Not Zed * mail-tools.c: Remove very old camel lock stuff. * mail-local.c (register_folder_registered): Add the local folder as a potential vfolder source. * folder-browser.c (got_folder): When we have a new folder, register it as a potential vfolder source. * mail-vfolder.c: Added the source rule to the vfolder_info. (vfolder_refresh): Store the rule in the vfolder info, etc. (vfolder_register_source): Function to register a newly opened folder with us. (vfolder_uri_to_folder): Save the folder in the vfolder_info too. (source_finalise): Handle clenaup when the folder dies. svn path=/trunk/; revision=8534 --- mail/mail-tools.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'mail/mail-tools.c') diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 73d024f8ff..0c623916ac 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -42,14 +42,6 @@ /* **************************************** */ -G_LOCK_DEFINE_STATIC (camel); -G_LOCK_DEFINE_STATIC (camel_locklevel); -static GPrivate *camel_locklevel = NULL; - -#define LOCK_VAL (GPOINTER_TO_INT (g_private_get (camel_locklevel))) -#define LOCK_SET(val) g_private_set (camel_locklevel, (GINT_TO_POINTER (val))) - - CamelFolder * mail_tool_get_folder_from_urlname (const gchar *url, const gchar *name, guint32 flags, CamelException *ex) -- cgit