* page/Navigator.idl: Properly disable the webkitGamepads API if gamepad
isn't enabled at compile time.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100846
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-11-18 Martin Robinson <mrobinson@igalia.com>
+
+ Fix the GTK+ build.
+
+ * page/Navigator.idl: Properly disable the webkitGamepads API if gamepad
+ isn't enabled at compile time.
+
2011-11-18 Daniel Bates <dbates@rim.com>
Add CMake build infrastructure for the BlackBerry port
raises(DOMException);
#endif
- readonly attribute [Conditional=GAMEPAD, EnabledAtRuntime] GamepadList webkitGamepads;
+#if defined(ENABLE_GAMEPAD) && ENABLE_GAMEPAD
+ readonly attribute [EnabledAtRuntime] GamepadList webkitGamepads;
+#endif
};
}