summaryrefslogtreecommitdiff
path: root/src/gallery-utils.c
diff options
context:
space:
mode:
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);