Mercurial > dwindows
diff gtk3/dw.c @ 2051:a3fbe505307a
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.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 30 Nov 2019 23:07:09 +0000 |
parents | 2c56a8e245e8 |
children | 026f033ac1c1 |
line wrap: on
line diff
--- 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; }