<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre, #msg p { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[29006] trunk</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/29006">29006</a></dd>
<dt>Author</dt> <dd>alp@webkit.org</dd>
<dt>Date</dt> <dd>2007-12-27 15:14:27 -0800 (Thu, 27 Dec 2007)</dd>
</dl>

<h3>Log Message</h3>
<pre>2007-12-27  Jan Michael Alonzo  &lt;jmalonzo@unpluggable.com&gt;

        Reviewed by Alp Toker.

        http://bugs.webkit.org/show_bug.cgi?id=16353
        [GTK] Check for deprecated API use (G_DISABLE_DEPRECATED etc.)

        Added the flags mentioned in the bug only when doing 'debug'
        builds. -DGST_DISABLE_DEPRECATED only added when video is enabled.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkChangeLog">trunk/ChangeLog</a></li>
<li><a href="#trunkGNUmakefileam">trunk/GNUmakefile.am</a></li>
<li><a href="#trunkWebCoreChangeLog">trunk/WebCore/ChangeLog</a></li>
<li><a href="#trunkWebCoreGNUmakefileam">trunk/WebCore/GNUmakefile.am</a></li>
<li><a href="#trunkWebCoreWebCorepro">trunk/WebCore/WebCore.pro</a></li>
<li><a href="#trunkWebKitpri">trunk/WebKit.pri</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/ChangeLog (29005 => 29006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ChangeLog        2007-12-27 22:20:18 UTC (rev 29005)
+++ trunk/ChangeLog        2007-12-27 23:14:27 UTC (rev 29006)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2007-12-27  Jan Michael Alonzo  &lt;jmalonzo@unpluggable.com&gt;
+
+        Reviewed by Alp Toker.
+
+        http://bugs.webkit.org/show_bug.cgi?id=16353
+        [GTK] Check for deprecated API use (G_DISABLE_DEPRECATED etc.)
+
+        Added the flags mentioned in the bug only when doing 'debug'
+        builds. -DGST_DISABLE_DEPRECATED only added when video is enabled.
+
+        * GNUmakefile.am:
+        * WebKit.pri:
+
</ins><span class="cx"> 2007-12-26  Jan Michael Alonzo  &lt;jmalonzo@unpluggable.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Reviewed by Alp Toker.
</span></span></pre></div>
<a id="trunkGNUmakefileam"></a>
<div class="modfile"><h4>Modified: trunk/GNUmakefile.am (29005 => 29006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/GNUmakefile.am        2007-12-27 22:20:18 UTC (rev 29005)
+++ trunk/GNUmakefile.am        2007-12-27 23:14:27 UTC (rev 29006)
</span><span class="lines">@@ -154,6 +154,15 @@
</span><span class="cx"> 
</span><span class="cx"> if !ENABLE_DEBUG
</span><span class="cx"> global_cppflags += -DNDEBUG
</span><ins>+else 
+webkitgtk_cppflags += \
+        -DG_DISABLE_DEPRECATED \
+        -DGDK_PIXBUF_DISABLE_DEPRECATED \
+        -DGDK_DISABLE_DEPRECATED \
+        -DGTK_DISABLE_DEPRECATED \
+        -DPANGO_DISABLE_DEPRECATED \
+        -DGDK_MULTIHEAD_SAFE \
+        -DGTK_MULTIHEAD_SAFE
</ins><span class="cx"> endif
</span><span class="cx"> 
</span><span class="cx"> if TARGET_X11
</span></span></pre></div>
<a id="trunkWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/ChangeLog (29005 => 29006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/ChangeLog        2007-12-27 22:20:18 UTC (rev 29005)
+++ trunk/WebCore/ChangeLog        2007-12-27 23:14:27 UTC (rev 29006)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2007-12-27  Jan Michael Alonzo  &lt;jmalonzo@unpluggable.com&gt;
+
+        Reviewed by Alp Toker.
+
+        http://bugs.webkit.org/show_bug.cgi?id=16353
+        [GTK] Check for deprecated API use (G_DISABLE_DEPRECATED etc.)
+
+        Added the flags mentioned in the bug only when doing 'debug'
+        builds. -DGST_DISABLE_DEPRECATED only added when video is enabled.
+
+        * GNUmakefile.am:
+        * WebCore.pro:
+
</ins><span class="cx"> 2007-12-27  Dan Bernstein  &lt;mitz@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Reviewed by Eric Seidel.
</span></span></pre></div>
<a id="trunkWebCoreGNUmakefileam"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/GNUmakefile.am (29005 => 29006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/GNUmakefile.am        2007-12-27 22:20:18 UTC (rev 29005)
+++ trunk/WebCore/GNUmakefile.am        2007-12-27 23:14:27 UTC (rev 29006)
</span><span class="lines">@@ -1044,6 +1044,10 @@
</span><span class="cx"> 
</span><span class="cx"> webkitgtk_cppflags += -DENABLE_VIDEO=1
</span><span class="cx"> 
</span><ins>+if ENABLE_DEBUG
+webkitgtk_cppflags += -DGST_DISABLE_DEPRECATED
+endif # END ENABLE_DEBUG
+
</ins><span class="cx"> webkitgtk_built_sources += \
</span><span class="cx">         DerivedSources/JSHTMLSourceElement.h \
</span><span class="cx">         DerivedSources/JSHTMLAudioElement.h \
</span></span></pre></div>
<a id="trunkWebCoreWebCorepro"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/WebCore.pro (29005 => 29006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/WebCore.pro        2007-12-27 22:20:18 UTC (rev 29005)
+++ trunk/WebCore/WebCore.pro        2007-12-27 23:14:27 UTC (rev 29006)
</span><span class="lines">@@ -1125,6 +1125,8 @@
</span><span class="cx">             platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp \
</span><span class="cx">             platform/graphics/gtk/VideoSinkGStreamer.cpp
</span><span class="cx"> 
</span><ins>+        CONFIG(debug):DEFINES += GST_DISABLE_DEPRECATED
+
</ins><span class="cx">         PKGCONFIG += gstreamer-0.10 gstreamer-plugins-base-0.10 gnome-vfs-2.0
</span><span class="cx">         LIBS += -lgstinterfaces-0.10 -lgstbase-0.10 -lgstvideo-0.10
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkWebKitpri"></a>
<div class="modfile"><h4>Modified: trunk/WebKit.pri (29005 => 29006)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebKit.pri        2007-12-27 22:20:18 UTC (rev 29005)
+++ trunk/WebKit.pri        2007-12-27 23:14:27 UTC (rev 29006)
</span><span class="lines">@@ -58,6 +58,10 @@
</span><span class="cx">     DEFINES += NDEBUG
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+gtk-port:CONFIG(debug) {
+    DEFINES += G_DISABLE_DEPRECATED GDK_PIXBUF_DISABLE_DEPRECATED GDK_DISABLE_DEPRECATED GTK_DISABLE_DEPRECATED PANGO_DISABLE_DEPRECATED GDK_MULTIHEAD_SAFE GTK_MULTIHEAD_SAFE
+}
+
</ins><span class="cx"> BASE_DIR = $$PWD
</span><span class="cx"> qt-port:INCLUDEPATH += \
</span><span class="cx">     $$PWD/WebKit/qt/Api
</span></span></pre>
</div>
</div>

</body>
</html>