fix compilation when webkitgtk is not installed
This commit is contained in:
parent
4ddf52f638
commit
61c53a0424
@ -2074,9 +2074,11 @@ zenity_text_post_callback (GOptionContext *context,
|
|||||||
if (zenity_text_font)
|
if (zenity_text_font)
|
||||||
zenity_option_error (zenity_option_get_name (text_options, &zenity_text_font),
|
zenity_option_error (zenity_option_get_name (text_options, &zenity_text_font),
|
||||||
ERROR_SUPPORT);
|
ERROR_SUPPORT);
|
||||||
|
#ifdef HAVE_WEBKITGTK
|
||||||
if (zenity_text_enable_html)
|
if (zenity_text_enable_html)
|
||||||
zenity_option_error (zenity_option_get_name (text_options, &zenity_text_enable_html),
|
zenity_option_error (zenity_option_get_name (text_options, &zenity_text_enable_html),
|
||||||
ERROR_SUPPORT);
|
ERROR_SUPPORT);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user