Title: [100846] trunk/Source/WebCore
Revision
100846
Author
[email protected]
Date
2011-11-18 21:24:30 -0800 (Fri, 18 Nov 2011)

Log Message

Fix the GTK+ build.

* page/Navigator.idl: Properly disable the webkitGamepads API if gamepad
isn't enabled at compile time.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (100845 => 100846)


--- trunk/Source/WebCore/ChangeLog	2011-11-19 05:10:39 UTC (rev 100845)
+++ trunk/Source/WebCore/ChangeLog	2011-11-19 05:24:30 UTC (rev 100846)
@@ -1,3 +1,10 @@
+2011-11-18  Martin Robinson  <[email protected]>
+
+        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  <[email protected]>
 
         Add CMake build infrastructure for the BlackBerry port

Modified: trunk/Source/WebCore/page/Navigator.idl (100845 => 100846)


--- trunk/Source/WebCore/page/Navigator.idl	2011-11-19 05:10:39 UTC (rev 100845)
+++ trunk/Source/WebCore/page/Navigator.idl	2011-11-19 05:24:30 UTC (rev 100846)
@@ -62,7 +62,9 @@
             raises(DOMException);
 #endif
 
-        readonly attribute [Conditional=GAMEPAD, EnabledAtRuntime] GamepadList webkitGamepads;
+#if defined(ENABLE_GAMEPAD) && ENABLE_GAMEPAD
+        readonly attribute [EnabledAtRuntime] GamepadList webkitGamepads;
+#endif
     };
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to