[svn r581] added GMYTH_USE_DEBUG test at gmyth_program_info_print() and gmyth_channel_info_print()
1.1 --- a/gmyth/src/gmyth_common.c Thu Apr 19 18:13:51 2007 +0100
1.2 +++ b/gmyth/src/gmyth_common.c Thu Apr 19 21:22:26 2007 +0100
1.3 @@ -76,11 +76,13 @@
1.4 void
1.5 gmyth_channel_info_print (GMythChannelInfo *channel_info)
1.6 {
1.7 +#ifdef GMYTH_USE_DEBUG
1.8 if ( channel_info != NULL ) {
1.9 gmyth_debug("ChannelInfo (Name, Num, ID) = (%s, %s, %d)\n",
1.10 channel_info->channel_name->str, channel_info->channel_num->str,
1.11 channel_info->channel_ID);
1.12 }
1.13 +#endif
1.14 }
1.15
1.16 /**
1.17 @@ -90,6 +92,7 @@
1.18 void
1.19 gmyth_program_info_print(GMythProgramInfo *program_info)
1.20 {
1.21 +#ifdef GMYTH_USE_DEBUG
1.22 g_return_if_fail (program_info);
1.23
1.24 gmyth_debug( "ProgramInfo\n\tTitle = %s\n\t"
1.25 @@ -104,6 +107,7 @@
1.26 gmyth_util_time_to_string_from_time_val(program_info->endts),
1.27 program_info->pathname ? program_info->pathname->str : NULL,
1.28 program_info->filesize );
1.29 +#endif
1.30 }
1.31
1.32 static void