changeset 1006:45ce6c1f331e

Silent warnings about unused functions when lcms is not used.
author zas_
date Thu, 28 Aug 2008 10:50:02 +0000
parents ec2788ff6791
children 4303ee1e88ec
files src/layout.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/layout.c	Wed Aug 27 17:02:14 2008 +0000
+++ b/src/layout.c	Thu Aug 28 10:50:02 2008 +0000
@@ -314,6 +314,8 @@
  *-----------------------------------------------------------------------------
  */
 
+#ifdef HAVE_LCMS
+
 static void layout_color_menu_enable_cb(GtkWidget *widget, gpointer data)
 {
 	LayoutWindow *lw = data;
@@ -376,6 +378,8 @@
 	return g_strdelimit(g_strdup(name), "_", '-');
 }
 
+#endif /* HAVE_LCMS */
+
 static void layout_color_button_press_cb(GtkWidget *widget, gpointer data)
 {
 #ifndef HAVE_LCMS