aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-13 05:01:07 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-13 05:01:07 +0800
commit1c721c4abb74d443b0a0bc0893e11716a348c846 (patch)
treed90dd8f5cd58b05668c04fb1396118cb11e16fb5 /camel/camel-store.c
parent96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c (diff)
downloadgsoc2013-evolution-1c721c4abb74d443b0a0bc0893e11716a348c846.tar
gsoc2013-evolution-1c721c4abb74d443b0a0bc0893e11716a348c846.tar.gz
gsoc2013-evolution-1c721c4abb74d443b0a0bc0893e11716a348c846.tar.bz2
gsoc2013-evolution-1c721c4abb74d443b0a0bc0893e11716a348c846.tar.lz
gsoc2013-evolution-1c721c4abb74d443b0a0bc0893e11716a348c846.tar.xz
gsoc2013-evolution-1c721c4abb74d443b0a0bc0893e11716a348c846.tar.zst
gsoc2013-evolution-1c721c4abb74d443b0a0bc0893e11716a348c846.zip
remove stupid debug code. (add_mail_store): use camel_session_get_store
1999-08-12 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c (show_folder_messages): remove stupid debug code. (add_mail_store): use camel_session_get_store instead of creating MH store directly. (main): load MH provider. * camel/camel-provider.c (camel_provider_register_as_module): register new provider. (camel_provider_get_for_protocol): Now, implementation is correct. * camel/camel-store.c (_finalize): * camel/camel-store.h (struct _CamelStore): further disabled url_name field use. URL will be generated dynamically. Ben dam don dieu, vla t'y pas que ya tout le bourier qui marche ! (Autoload store/protocol from URL works) svn path=/trunk/; revision=1108
Diffstat (limited to 'camel/camel-store.c')
-rw-r--r--camel/camel-store.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c
index 209a03d101..8b3a05d624 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -125,10 +125,9 @@ _init (CamelStore *store, CamelSession *session, const gchar *url_name)
{
#warning re-enable assertion here.
- /* g_assert(session); */
+ g_assert(session);
g_assert(url_name);
- if (store->session) gtk_object_unref (GTK_OBJECT (store->session));
store->session = session;
gtk_object_ref (GTK_OBJECT (session));
/*store->url_name = url_name;*/
@@ -141,7 +140,7 @@ _finalize (GtkObject *object)
CamelStore *camel_store = CAMEL_STORE (object);
CAMEL_LOG_FULL_DEBUG ("Entering CamelStore::finalize\n");
- if (camel_store->url_name) g_free (camel_store->url_name);
+ /* if (camel_store->url_name) g_free (camel_store->url_name); */
if (camel_store->session) gtk_object_unref (GTK_OBJECT (camel_store->session));
GTK_OBJECT_CLASS (parent_class)->finalize (object);