diff options
author | Dan Winship <danw@src.gnome.org> | 2000-03-28 00:59:46 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-03-28 00:59:46 +0800 |
commit | 07f3a40ef048c94ae5bca801095e7f2d60fdb598 (patch) | |
tree | d59b0f98fc4f3e0ee3bc9bb7f741eaeb5ef19c3e /camel/providers | |
parent | f8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7 (diff) | |
download | gsoc2013-evolution-07f3a40ef048c94ae5bca801095e7f2d60fdb598.tar gsoc2013-evolution-07f3a40ef048c94ae5bca801095e7f2d60fdb598.tar.gz gsoc2013-evolution-07f3a40ef048c94ae5bca801095e7f2d60fdb598.tar.bz2 gsoc2013-evolution-07f3a40ef048c94ae5bca801095e7f2d60fdb598.tar.lz gsoc2013-evolution-07f3a40ef048c94ae5bca801095e7f2d60fdb598.tar.xz gsoc2013-evolution-07f3a40ef048c94ae5bca801095e7f2d60fdb598.tar.zst gsoc2013-evolution-07f3a40ef048c94ae5bca801095e7f2d60fdb598.zip |
new routine to free the data allocated by camel_service_query_auth_types.
* camel-service.c (camel_service_free_auth_types): new routine to
free the data allocated by camel_service_query_auth_types.
* providers/pop3/camel-pop3-store.c (free_auth_types): implement
svn path=/trunk/; revision=2190
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/pop3/camel-pop3-store.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c index 019e314ce7..6935c70c9b 100644 --- a/camel/providers/pop3/camel-pop3-store.c +++ b/camel/providers/pop3/camel-pop3-store.c @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* camel-pop3-store.c : class for an pop3 store */ +/* camel-pop3-store.c : class for a pop3 store */ /* * Authors: @@ -47,6 +47,7 @@ static gboolean pop3_connect (CamelService *service, CamelException *ex); static GList *query_auth_types (CamelService *service); +void free_auth_types (CamelService *service, GList *authtypes); static CamelFolder *get_folder (CamelStore *store, const gchar *folder_name, CamelException *ex); @@ -63,6 +64,7 @@ camel_pop3_store_class_init (CamelPop3StoreClass *camel_pop3_store_class) /* virtual method overload */ camel_service_class->connect = pop3_connect; camel_service_class->query_auth_types = query_auth_types; + camel_service_class->free_auth_types = free_auth_types; camel_store_class->get_root_folder = camel_pop3_folder_new; camel_store_class->get_default_folder = camel_pop3_folder_new; @@ -126,6 +128,11 @@ static GList *query_auth_types (CamelService *service) return ret; } +static void free_auth_types (CamelService *service, GList *authtypes) +{ + g_list_free (authtypes); +} + static gboolean pop3_connect (CamelService *service, CamelException *ex) { |