Code

Fix compile when lcms is disabled (someone please check that this fix is correct).
[inkscape.git] / src / widgets / sp-color-notebook.cpp
index 56b60d1206e678074bead2d82a6158e68fe220c6..3ba39dd30aae8e8854756450399962e97a01f48b 100644 (file)
@@ -374,8 +374,10 @@ void ColorNotebook::init()
        sp_set_font_size_smaller (rgbabox);
        gtk_widget_show_all (rgbabox);
 
+#if ENABLE_LCMS
         //the "too much ink" icon is initially hidden
         gtk_widget_hide(GTK_WIDGET(_box_toomuchink));
+#endif //ENABLE_LCMS
 
         gtk_table_attach (GTK_TABLE (table), rgbabox, 0, 2, row, row + 1, GTK_FILL, GTK_SHRINK, XPAD, YPAD);