Adjust an #ifdef in web cache possibly leading to compile warnings
This commit is contained in:
parent
51dce2c84d
commit
d41525b7fe
1 changed files with 1 additions and 1 deletions
|
@ -520,9 +520,9 @@ static void
|
||||||
web_cache_deactivate_tabs (MidoriView* view,
|
web_cache_deactivate_tabs (MidoriView* view,
|
||||||
MidoriExtension* extension)
|
MidoriExtension* extension)
|
||||||
{
|
{
|
||||||
|
#if HAVE_WEBKIT_RESOURCE_REQUEST
|
||||||
GtkWidget* web_view = gtk_bin_get_child (GTK_BIN (view));
|
GtkWidget* web_view = gtk_bin_get_child (GTK_BIN (view));
|
||||||
|
|
||||||
#if HAVE_WEBKIT_RESOURCE_REQUEST
|
|
||||||
g_signal_handlers_disconnect_by_func (
|
g_signal_handlers_disconnect_by_func (
|
||||||
web_view, web_cache_resource_request_starting_cb, extension);
|
web_view, web_cache_resource_request_starting_cb, extension);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue