aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r--camel/camel-object.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/camel/camel-object.c b/camel/camel-object.c
index 02fd3861bf..31d458a59d 100644
--- a/camel/camel-object.c
+++ b/camel/camel-object.c
@@ -242,9 +242,7 @@ cobject_getv(CamelObject *o, CamelException *ex, CamelArgGetV *args)
case CAMEL_OBJECT_ARG_STATE_FILE: {
CamelHookPair *pair = co_metadata_pair(o, FALSE);
- printf("getting state file\n");
if (pair) {
- printf(" -> '%s'\n", pair->func.filename);
*arg->ca_str = g_strdup(pair->func.filename);
camel_object_unget_hooks(o);
}
@@ -271,8 +269,6 @@ cobject_setv(CamelObject *o, CamelException *ex, CamelArgV *args)
case CAMEL_OBJECT_ARG_STATE_FILE: {
CamelHookPair *pair;
- printf("setting state file to '%s'\n", arg->ca_str);
-
/* We store the filename on the meta-data hook-pair */
pair = co_metadata_pair(o, TRUE);
g_free(pair->func.filename);
@@ -406,8 +402,6 @@ cobject_state_read(CamelObject *obj, FILE *fp)
|| camel_file_util_decode_uint32(fp, &count) == -1)
return -1;
- printf("loading persistent meta-data\n");
-
for (i=0;i<count;i++) {
char *name = NULL, *value = NULL;
@@ -427,8 +421,6 @@ cobject_state_read(CamelObject *obj, FILE *fp)
if (version > 0) {
CamelArgV *argv;
- printf("loading persistent properties\n");
-
if (camel_file_util_decode_uint32(fp, &count) == -1
|| count == 0) {
/* maybe it was just version 0 afterall */
@@ -513,8 +505,6 @@ cobject_state_write(CamelObject *obj, FILE *fp)
count = g_slist_length(props);
- printf("saving persistent properties, count = %d\n", count);
-
arggetv = g_malloc0(sizeof(*arggetv) + (count - CAMEL_ARGV_MAX) * sizeof(arggetv->argv[0]));
argv = g_malloc0(sizeof(*argv) + (count - CAMEL_ARGV_MAX) * sizeof(argv->argv[0]));
l = props;
@@ -1502,8 +1492,6 @@ int camel_object_state_write(void *vo)
if (file == NULL)
return 0;
- printf("camel_object_state_write -> '%s'\n", file);
-
savename = camel_file_util_savename(file);
fp = fopen(savename, "w");
if (fp != NULL) {