From: Guilhem Bonnefille Date: Sat, 25 Sep 2010 15:15:52 +0000 (+0200) Subject: Add a new debug message X-Git-Url: https://git.street.me.uk/andy/viking.git/commitdiff_plain/33be396ece48cb540b11a41e9eaae5ee8e851020 Add a new debug message --- diff --git a/src/vikmapslayer.c b/src/vikmapslayer.c index ca5b0a7d..40b3e676 100644 --- a/src/vikmapslayer.c +++ b/src/vikmapslayer.c @@ -692,9 +692,7 @@ static void maps_layer_draw_section ( VikMapsLayer *vml, VikViewport *vvp, VikCo gchar *path_buf = g_malloc ( max_path_len * sizeof(char) ); if ( (!existence_only) && vml->autodownload && should_start_autodownload(vml, vvp)) { -#ifdef DEBUG - fputs(stderr, "DEBUG: Starting autodownload\n"); -#endif + g_debug("%s: Starting autodownload", __FUNCTION__); if ( vik_map_source_supports_if_modified_since (map) ) // Try to download newer tiles start_download_thread ( vml, vvp, ul, br, REDOWNLOAD_NEW );