Reviewed by Alp Toker.
[WebKit-https.git] / WebKit / gtk / webkit / webkitwebview.cpp
index ed06ad1..63499d3 100644 (file)
@@ -1287,7 +1287,7 @@ static void webkit_web_view_settings_notify(WebKitWebSettings* webSettings, GPar
         settings->setTextAreasAreResizable(g_value_get_boolean(&value));
     else if (name == g_intern_string("user-stylesheet-uri"))
         settings->setUserStyleSheetLocation(KURL(g_value_get_string(&value)));
-    else
+    else if (!g_object_class_find_property(G_OBJECT_GET_CLASS(webSettings), name))
         g_warning("Unexpected setting '%s'", name);
     g_value_unset(&value);
 }