From d22dae58ba7e18ffdcac5f13ab9675eb1776c692 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 10 May 2009 14:33:13 +0200 Subject: Remove #ifdef __DEBUG_ALL__ --- src/gallery-utils.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/gallery-utils.c') 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); -- cgit v1.2.3