# HG changeset patch # User zas_ # Date 1219920602 0 # Node ID 45ce6c1f331e234ccfc4fa85623e6b94ec41ba82 # Parent ec2788ff6791af728bea4fb7dfb98030ea4c4074 Silent warnings about unused functions when lcms is not used. diff -r ec2788ff6791 -r 45ce6c1f331e src/layout.c --- 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