katze_assign (blockcssprivate, g_strdup (""));
}
+#if WEBKIT_CHECK_VERSION (1, 1, 2)
static void
adblock_download_notify_status_cb (WebKitDownload* download,
GParamSpec* pspec,
g_free (path);
/* g_object_unref (download); */
}
+#endif
static gchar*
adblock_get_filename_for_uri (const gchar* uri)
if (!adblock_parse_file (path))
{
+ #if WEBKIT_CHECK_VERSION (1, 1, 2)
WebKitNetworkRequest* request;
WebKitDownload* download;
gchar* destination = g_filename_to_uri (path, NULL, NULL);
g_signal_connect (download, "notify::status",
G_CALLBACK (adblock_download_notify_status_cb), path);
webkit_download_start (download);
+ #endif
}
else
g_free (path);