Changeset 138960 in webkit


Ignore:
Timestamp:
Jan 7, 2013 10:34:36 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Disable deprecation warnings for GStaticRecMutex
https://bugs.webkit.org/show_bug.cgi?id=105918

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-01-07
Reviewed by Philippe Normand.

GStaticRecMutex is deprecated since glib 2.32, but we can't remove
it because it's needed by GStreamer 0.10. The solution is to
disable the deprecation warnings for that code alone.

  • platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r138958 r138960  
     12013-01-07  Alberto Garcia  <agarcia@igalia.com>
     2
     3        [GTK] Disable deprecation warnings for GStaticRecMutex
     4        https://bugs.webkit.org/show_bug.cgi?id=105918
     5
     6        Reviewed by Philippe Normand.
     7
     8        GStaticRecMutex is deprecated since glib 2.32, but we can't remove
     9        it because it's needed by GStreamer 0.10. The solution is to
     10        disable the deprecation warnings for that code alone.
     11
     12        * platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
     13
    1142013-01-07  Philip Rogers  <pdr@google.com>
    215
  • trunk/Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp

    r138935 r138960  
    3535#include <gst/pbutils/pbutils.h>
    3636
     37// GStaticRecMutex is deprecated in Glib, but required in GStreamer 0.10
     38#if (COMPILER(GCC) && GCC_VERSION_AT_LEAST(4, 6, 0) && !defined(GST_API_VERSION_1))
     39#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
     40#endif
     41
    3742using namespace WebCore;
    3843
Note: See TracChangeset for help on using the changeset viewer.