--- trunk/src/notes.c 2009/12/02 20:05:52 226 +++ trunk/src/notes.c 2009/12/03 20:07:13 228 @@ -202,12 +202,9 @@ g_assert(context); g_assert(context->cache); - printf("write\n"); - /* build local path */ int path_len = strlen(context->appdata->image_path) + 2 * strlen(context->cache->id) + 6; - printf("plen = %d\n", path_len); char *path = malloc(path_len); snprintf(path, path_len, "%s%s/%s.gpx", @@ -220,8 +217,6 @@ return -1; } - printf("still al\n"); - LIBXML_TEST_VERSION; xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0"); @@ -282,9 +277,11 @@ /* there is a position which differs from the original one */ /* or has been changed */ - printf("saving notes\n"); - if(context->notes.modified) { +#ifdef USE_STACKABLE_WINDOW + context->notes_have_been_changed = TRUE; +#endif + printf("something has been modified, saving notes\n"); GtkTextIter start;