[gimp] comment out debug output from tag-cache
- From: Sven Neumann <neo src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] comment out debug output from tag-cache
- Date: Wed, 30 Dec 2009 15:39:39 +0000 (UTC)
commit b9b1cbe00ed27e698920c2d85faee8a65bad5657
Author: Sven Neumann <sven gimp org>
Date: Wed Dec 30 00:36:24 2009 +0100
comment out debug output from tag-cache
app/core/gimptagcache.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimptagcache.c b/app/core/gimptagcache.c
index 48d56f5..057c64a 100644
--- a/app/core/gimptagcache.c
+++ b/app/core/gimptagcache.c
@@ -44,7 +44,9 @@
#include "gimp-intl.h"
-#define GIMP_TAG_CACHE_FILE "tags.xml"
+#define GIMP_TAG_CACHE_FILE "tags.xml"
+
+/* #define DEBUG_GIMP_TAG_CACHE 1 */
enum
@@ -289,9 +291,12 @@ gimp_tag_cache_add_object (GimpTagCache *cache,
if (rec->checksum == checksum_quark)
{
+#if DEBUG_GIMP_TAG_CACHE
g_printerr ("remapping identifier: %s ==> %s\n",
rec->identifier ? g_quark_to_string (rec->identifier) : "(NULL)",
identifier_quark ? g_quark_to_string (identifier_quark) : "(NULL)");
+#endif
+
rec->identifier = identifier_quark;
for (list = rec->tags; list; list = g_list_next (list))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]