projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35776f2
)
Silent warnings about unused functions when lcms is not used.
author
Laurent Monin
<geeqie@norz.org>
Thu, 28 Aug 2008 10:50:02 +0000
(10:50 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Thu, 28 Aug 2008 10:50:02 +0000
(10:50 +0000)
src/layout.c
patch
|
blob
|
history
diff --git
a/src/layout.c
b/src/layout.c
index
5e607f5
..
6d20acd
100644
(file)
--- a/
src/layout.c
+++ b/
src/layout.c
@@
-314,6
+314,8
@@
static GtkWidget *layout_sort_button(LayoutWindow *lw)
*-----------------------------------------------------------------------------
*/
+#ifdef HAVE_LCMS
+
static void layout_color_menu_enable_cb(GtkWidget *widget, gpointer data)
{
LayoutWindow *lw = data;
@@
-376,6
+378,8
@@
static gchar *layout_color_name_parse(const gchar *name)
return g_strdelimit(g_strdup(name), "_", '-');
}
+#endif /* HAVE_LCMS */
+
static void layout_color_button_press_cb(GtkWidget *widget, gpointer data)
{
#ifndef HAVE_LCMS