Fix GZlibCompressorFormat names

What used to be called RAW is really the zlib header format.
There is a real "raw" format, so rename the default and add a RAW type.
This commit is contained in:
Alexander Larsson
2009-11-24 13:02:05 +01:00
parent 85501f5ffa
commit 2af69f4135
4 changed files with 24 additions and 9 deletions

View File

@@ -675,8 +675,9 @@ typedef enum {
/**
* GZlibCompressorFormat:
* @G_ZLIB_COMRESSOR_FORMAT_RAW: Raw zlib compression data
* @G_ZLIB_COMRESSOR_FORMAT_ZLIB: deflate compression with zlib header
* @G_ZLIB_COMRESSOR_FORMAT_GZIP: gzip file format
* @G_ZLIB_COMRESSOR_FORMAT_RAW: deflate compression with no header
*
* Used to select the type of data format to use for #GZlibDecompressor
* and #GZlibCompressor.
@@ -684,8 +685,9 @@ typedef enum {
* Since: 2.24
*/
typedef enum {
G_ZLIB_COMPRESSOR_FORMAT_RAW,
G_ZLIB_COMPRESSOR_FORMAT_GZIP
G_ZLIB_COMPRESSOR_FORMAT_ZLIB,
G_ZLIB_COMPRESSOR_FORMAT_GZIP,
G_ZLIB_COMPRESSOR_FORMAT_RAW
} GZlibCompressorFormat;
G_END_DECLS