[libgxps/wip/nacho/visibility: 3/5] images: ifdef _jpeg_color_space_name
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps/wip/nacho/visibility: 3/5] images: ifdef _jpeg_color_space_name
- Date: Thu, 8 Sep 2016 12:36:13 +0000 (UTC)
commit 4ef73457c0cdb280df618509c6d715abe8c26798
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date: Thu Sep 8 14:35:28 2016 +0200
images: ifdef _jpeg_color_space_name
This method is only used for debug
libgxps/gxps-images.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgxps/gxps-images.c b/libgxps/gxps-images.c
index 1ced845..a2108ce 100644
--- a/libgxps/gxps-images.c
+++ b/libgxps/gxps-images.c
@@ -350,6 +350,7 @@ struct _jpeg_src_mgr {
jmp_buf setjmp_buffer;
};
+#ifdef GXPS_ENABLE_DEBUG
static const gchar *
_jpeg_color_space_name (const J_COLOR_SPACE jpeg_color_space)
{
@@ -363,6 +364,7 @@ _jpeg_color_space_name (const J_COLOR_SPACE jpeg_color_space)
default: return "invalid";
}
}
+#endif
static void
_jpeg_init_source (j_decompress_ptr cinfo)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]