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 d0b5593..722523b 100644 (file)
@@ -1,5 +1,12 @@
 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
         https://bugs.webkit.org/show_bug.cgi?id=142474
 
index e3c54fe..2c56ccc 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
 };