# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1575155229 0 # Node ID a3fbe505307a3877f2ee3f44fc04b2dc502cfee6 # Parent 13995a6bf05d34b7f52f83bbd1dfabecfe0dca42 GTK3: Warn that DW_SIGNAL_HTML_RESULT will not be generated when connecting the signal with a library that has not been built with webkit2gtk support. diff -r 13995a6bf05d -r a3fbe505307a gtk3/dw.c --- a/gtk3/dw.c Sat Nov 30 21:33:23 2019 +0000 +++ b/gtk3/dw.c Sat Nov 30 23:07:09 2019 +0000 @@ -12016,6 +12016,9 @@ */ sigid = _set_signal_handler(thiswindow, window, sigfunc, data, _html_result_event, discfunc); g_object_set_data(G_OBJECT(thiswindow), "_dw_html_result_id", GINT_TO_POINTER(sigid+1)); +#ifndef USE_WEBKIT2 + dw_debug("WARNING: DW_SIGNAL_HTML_RESULT will not be generated unless using webkit2gtk!\n"); +#endif DW_MUTEX_UNLOCK; return; }