summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Schoonjans <Tom.Schoonjans@diamond.ac.uk>2015-10-17 17:52:44 +0100
committerArx Cruz <arxcruz@gnome.org>2015-10-17 21:11:48 +0200
commit61c53a042418562c30e816fdd0c63caf2fa9f1b3 (patch)
tree223bea27efbbc2fe32af7a30f21aa001bfa14578
parentBump to 3.18.1 (diff)
downloadzenity-61c53a042418562c30e816fdd0c63caf2fa9f1b3.tar.gz
zenity-61c53a042418562c30e816fdd0c63caf2fa9f1b3.tar.bz2
zenity-61c53a042418562c30e816fdd0c63caf2fa9f1b3.zip
fix compilation when webkitgtk is not installed
-rw-r--r--src/option.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c
index 79a6f926..246cf226 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2074,9 +2074,11 @@ zenity_text_post_callback (GOptionContext *context,
if (zenity_text_font)
zenity_option_error (zenity_option_get_name (text_options, &zenity_text_font),
ERROR_SUPPORT);
+#ifdef HAVE_WEBKITGTK
if (zenity_text_enable_html)
zenity_option_error (zenity_option_get_name (text_options, &zenity_text_enable_html),
ERROR_SUPPORT);
+#endif
}
return TRUE;
}
bgstack15