fix compilation when webkitgtk is not installed

This commit is contained in:
Tom Schoonjans 2015-10-17 17:52:44 +01:00 committed by Arx Cruz
parent 4ddf52f638
commit 61c53a0424

View File

@ -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;
}