summaryrefslogtreecommitdiff
path: root/src/gallery-utils.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-05-10 14:33:13 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-05-10 14:33:13 +0200
commitd22dae58ba7e18ffdcac5f13ab9675eb1776c692 (patch)
tree169e17b321523ec8b29aa602a0ebf90ec2fb8136 /src/gallery-utils.c
parent8a722d04938583dc3620de05fd52f0baecce9fbb (diff)
downloadcataract-d22dae58ba7e18ffdcac5f13ab9675eb1776c692.tar.xz
Remove #ifdef __DEBUG_ALL__
Diffstat (limited to 'src/gallery-utils.c')
-rw-r--r--src/gallery-utils.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallery-utils.c b/src/gallery-utils.c
index 1ac8419..0c24886 100644
--- a/src/gallery-utils.c
+++ b/src/gallery-utils.c
@@ -73,11 +73,6 @@ str_replace (gchar **dst, const gchar *search, const gchar *replace)
}
d[i] = 0x0;
-
-#ifdef __DEBUG_ALL__
- printf ("str_replace('%s', '%s') = '%s' --> '%s'\n", search, replace, *dst, &d[0]);
-#endif
-
/* return fixed string */
g_free (*dst);
*dst = g_strdup (&d[0]);
@@ -222,11 +217,6 @@ fix_entities (gchar **str)
}
d[i] = 0x0;
-
-#ifdef __DEBUG_ALL__
- printf ("fix_entities: '%s' --> '%s'\n", *str, &d[0]);
-#endif
-
/* return fixed string */
g_free (*str);
*str = g_strdup (&d[0]);
@@ -258,10 +248,6 @@ remove_tags (gchar **str, const gchar *tag_begin, const gchar *tag_end)
dest = g_malloc0 (strlen (src) - (found2 - found) + 1);
memcpy (dest, src, found - src);
memcpy (dest + (found - src), found2, strlen (found2) + 1);
-#ifdef __DEBUG_ALL__
- printf ("found = %p, found2 = %p, strlen = %d, res = %d\n", found, found2, strlen (src), strlen (src) - (found2 - found) + 1);
- printf ("orig = %s, new = %s, strlen = %d\n", src, dest, strlen (dest));
-#endif
g_free (src);
src = g_strdup (dest);
g_free (dest);