Try to fix the GTK build.
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Mar 2015 05:56:24 +0000 (05:56 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Mar 2015 05:56:24 +0000 (05:56 +0000)
* html/HTMLVideoElement.idl: Work around gobject bindings generator limitation
by putting in a LANGUAGE_GOBJECT conditional.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181366 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLVideoElement.idl

index d0b55935338ba0ce7ccddde37319bded80f96a88..722523b68de104bb45c1e044dfe04e28a9c4a0ca 100644 (file)
@@ -1,3 +1,10 @@
+2015-03-10  Darin Adler  <darin@apple.com>
+
+        Try to fix the GTK build.
+
+        * html/HTMLVideoElement.idl: Work around gobject bindings generator limitation
+        by putting in a LANGUAGE_GOBJECT conditional.
+
 2015-03-10  Darin Adler  <darin@apple.com>
 
         Some event handler fixes
index e3c54fe42f029de5a9dc60fdd15fdeef1129819c..2c56cccf31806ec1ed5da91afe6e1e941f4fc755 100644 (file)
@@ -54,7 +54,9 @@ enum VideoPresentationMode { "fullscreen", "optimized", "inline" };
     // The number of decoded frames that have been dropped by the player for performance reasons during playback.
     [Conditional=MEDIA_STATISTICS] readonly attribute unsigned long webkitDroppedFrameCount;
 
+#if !defined(LANGUAGE_GOBJECT) || !LANGUAGE_GOBJECT // Work around shortcomings in the gobject binding generator handling of conditional features by turning these off for gobject.
     [Conditional=VIDEO_PRESENTATION_MODE] boolean webkitSupportsPresentationMode(VideoPresentationMode mode);
     [Conditional=VIDEO_PRESENTATION_MODE] readonly attribute VideoPresentationMode webkitPresentationMode;
     [Conditional=VIDEO_PRESENTATION_MODE] void webkitSetPresentationMode(VideoPresentationMode mode);
+#endif
 };