comparison 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
comparison
equal deleted inserted replaced
2050:13995a6bf05d 2051:a3fbe505307a
12014 /* We don't actually need a signal handler here... just need to assign the handler ID 12014 /* We don't actually need a signal handler here... just need to assign the handler ID
12015 * Since the handler is created in dw_html_javasript_run() 12015 * Since the handler is created in dw_html_javasript_run()
12016 */ 12016 */
12017 sigid = _set_signal_handler(thiswindow, window, sigfunc, data, _html_result_event, discfunc); 12017 sigid = _set_signal_handler(thiswindow, window, sigfunc, data, _html_result_event, discfunc);
12018 g_object_set_data(G_OBJECT(thiswindow), "_dw_html_result_id", GINT_TO_POINTER(sigid+1)); 12018 g_object_set_data(G_OBJECT(thiswindow), "_dw_html_result_id", GINT_TO_POINTER(sigid+1));
12019 #ifndef USE_WEBKIT2
12020 dw_debug("WARNING: DW_SIGNAL_HTML_RESULT will not be generated unless using webkit2gtk!\n");
12021 #endif
12019 DW_MUTEX_UNLOCK; 12022 DW_MUTEX_UNLOCK;
12020 return; 12023 return;
12021 } 12024 }
12022 #endif 12025 #endif
12023 #if 0 12026 #if 0