# HG changeset patch # User melunko # Date 1177014146 -3600 # Node ID 6ee1dc7357e8bd1dcfa1bfd4100e6724a23a4b94 # Parent f7351f2fd6d83c5c4ce3c20d453b7942daa3b3e9 [svn r581] added GMYTH_USE_DEBUG test at gmyth_program_info_print() and gmyth_channel_info_print() diff -r f7351f2fd6d8 -r 6ee1dc7357e8 gmyth/src/gmyth_common.c --- a/gmyth/src/gmyth_common.c Thu Apr 19 18:13:51 2007 +0100 +++ b/gmyth/src/gmyth_common.c Thu Apr 19 21:22:26 2007 +0100 @@ -76,11 +76,13 @@ void gmyth_channel_info_print (GMythChannelInfo *channel_info) { +#ifdef GMYTH_USE_DEBUG if ( channel_info != NULL ) { gmyth_debug("ChannelInfo (Name, Num, ID) = (%s, %s, %d)\n", channel_info->channel_name->str, channel_info->channel_num->str, channel_info->channel_ID); } +#endif } /** @@ -90,6 +92,7 @@ void gmyth_program_info_print(GMythProgramInfo *program_info) { +#ifdef GMYTH_USE_DEBUG g_return_if_fail (program_info); gmyth_debug( "ProgramInfo\n\tTitle = %s\n\t" @@ -104,6 +107,7 @@ gmyth_util_time_to_string_from_time_val(program_info->endts), program_info->pathname ? program_info->pathname->str : NULL, program_info->filesize ); +#endif } static void