Avoid a warning with older versions of libwebkit

This commit is contained in:
Pierre Pronchery 2010-11-10 15:51:24 +00:00
parent 2b5d730d8a
commit 08a63a79c6

View File

@ -480,7 +480,9 @@ static gboolean _on_load_error(WebKitWebView * view, WebKitWebFrame * frame,
const gchar * uri, GError * error, gpointer data)
{
Surfer * surfer;
#ifdef WEBKIT_POLICY_ERROR
char const * suggested;
#endif
surfer = g_object_get_data(G_OBJECT(data), "surfer");
if(error == NULL)