All pastes #295972 Raw Edit

Mine

public text v1 · immutable
#295972 ·published 2006-12-29 21:41 UTC
rendered paste body
        private bool CheckTemporarySpace()
        {
            long estimated_encoded_bytes = BurnerUtilities.DiscTimeToSize(total_duration);
            long free_space = PathUtil.GetDirectoryAvailableSpace(Paths.TempDir);
            
            if(free_space >= 0 && estimated_encoded_bytes >= free_space) {
                LogCore.Instance.PushError(Catalog.GetString("Insufficient Disk Space"),
                    String.Format(Catalog.GetString("Creating this CD requires at least {0} MiB of free disk space."),
                        Math.Ceiling(estimated_encoded_bytes / 1000000)));
                return false;
            }
            
            return true;
        }



./Banshee.Burner/BurnerSessionPreparer.cs(177,30): error CS0121: The call is ambiguous between the following methods or properties: `System.Math.Ceiling(double)' and `System.Math.Ceiling(decimal)'
/opt/mono/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous error)
/opt/mono/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous error)
./DBusRemote.cs(43,34): warning CS0219: The variable `nameReply' is assigned but its value is never used
Compilation failed: 1 error(s), 1 warnings
make[3]: *** [Banshee.Base.dll] Error 1
make[3]: Leaving directory `/home/alp/Projects/gnome/banshee/src/Banshee.Base'
make[2]: *** [all-recursive] Error 1