From be98242196a10d28d06dca69186cc47c4d43cce4 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 10 Jul 2000 20:50:22 +0000 Subject: kill more debugging messages * providers/vee: kill more debugging messages svn path=/trunk/; revision=4051 --- camel/ChangeLog | 4 ++++ camel/providers/vee/camel-vee-folder.c | 20 -------------------- camel/providers/vee/camel-vee-store.c | 2 -- 3 files changed, 4 insertions(+), 22 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 013a73af37..52385c2cc7 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,7 @@ +2000-07-10 Dan Winship + + * providers/vee: kill more debugging messages + 2000-07-10 Jeffrey Stedfast * providers/mbox/camel-mbox-folder.c (mbox_get_unread_message_count): diff --git a/camel/providers/vee/camel-vee-folder.c b/camel/providers/vee/camel-vee-folder.c index dea476eb13..8dc88cdba2 100644 --- a/camel/providers/vee/camel-vee-folder.c +++ b/camel/providers/vee/camel-vee-folder.c @@ -107,8 +107,6 @@ camel_vee_folder_class_init (CamelVeeFolderClass *klass) camel_vee_folder_parent = gtk_type_class (camel_folder_get_type ()); - printf("vfolder class init\n"); - folder_class->init = vee_init; folder_class->sync = vee_sync; @@ -138,8 +136,6 @@ camel_vee_folder_init (CamelVeeFolder *obj) { struct _CamelVeeFolderPrivate *p; - printf("vfolder init\n"); - p = _PRIVATE(obj) = g_malloc0(sizeof(*p)); } @@ -179,8 +175,6 @@ folder_changed(CamelFolder *sub, int type, CamelVeeFolder *vf) { CamelException *ex; - printf("subfolder changed!!, re-searching\n"); - ex = camel_exception_new(); vee_folder_build_folder(vf, sub, ex); camel_exception_free(ex); @@ -197,7 +191,6 @@ message_changed(CamelFolder *f, const char *uid, CamelVeeFolder *mf) CamelFlag *flag; char *vuid; - printf("VMessage changed: %s\n", uid); info = camel_folder_get_message_info(f, uid); vuid = g_strdup_printf("%p:%s", f, uid); @@ -274,9 +267,6 @@ static void vee_init (CamelFolder *folder, CamelStore *parent_store, vf->expression = g_strdup_printf("(or\n (match-all (user-flag \"%s\"))\n %s\n)", namepart, searchpart); vf->vname = g_strdup(namepart); - printf("VFolder expression is %s\n", vf->expression); - printf("VFolder full name = %s\n", camel_folder_get_full_name(folder)); - g_free(namepart); vee_folder_build(vf, ex); @@ -486,8 +476,6 @@ vee_folder_build(CamelVeeFolder *vf, CamelException *ex) } } - printf("building folder expression: %s\n", vf->expression); - messages = g_ptr_array_new(); messages_uid = g_hash_table_new(g_str_hash, g_str_equal); @@ -497,13 +485,8 @@ vee_folder_build(CamelVeeFolder *vf, CamelException *ex) CamelFolder *f = node->data; CamelVeeMessageInfo *mi; const CamelMessageInfo *info; - CamelFlag *flag; int i; - printf("searching folder: (%s)%s\n", - gtk_type_name(((GtkObject *)f)->klass->type), - camel_folder_get_full_name(f)); - matches = camel_folder_search_by_expression(f, vf->expression, ex); for (i = 0; i < matches->len; i++) { info = camel_folder_get_message_info(f, matches->pdata[i]); @@ -522,8 +505,6 @@ vee_folder_build(CamelVeeFolder *vf, CamelException *ex) node = g_list_next(node); } - printf("search complete\n"); - g_ptr_array_free(vf->messages, TRUE); vf->messages = messages; g_hash_table_destroy(vf->messages_uid); @@ -539,7 +520,6 @@ vee_folder_build_folder(CamelVeeFolder *vf, CamelFolder *source, CamelException CamelFolder *f = source; CamelVeeMessageInfo *mi; const CamelMessageInfo *info; - CamelFlag *flag; GPtrArray *messages; GHashTable *messages_uid; diff --git a/camel/providers/vee/camel-vee-store.c b/camel/providers/vee/camel-vee-store.c index ecc37982e4..4b1fc3f23b 100644 --- a/camel/providers/vee/camel-vee-store.c +++ b/camel/providers/vee/camel-vee-store.c @@ -117,8 +117,6 @@ vee_get_folder (CamelStore *store, const char *folder_name, gboolean create, Cam folder = gtk_type_new (camel_vee_folder_get_type()); - printf("my type is: %s\n", gtk_type_name(((GtkObject *)folder)->klass->type)); - ((CamelFolderClass *)((GtkObject *)folder)->klass)->init (folder, store, NULL, folder_name, "/", TRUE, ex); return folder; } -- cgit v1.2.3