[gtk+] Turn on GSEAL_ENABLE by default



commit 32925cd5799f71a6d3f3fbe98195c48b4b157fae
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 23 23:19:58 2010 -0400

    Turn on GSEAL_ENABLE by default
    
    We do this by adding -DGSEAL_ENABLE to the Cflags in the .pc files,
    so you can get out of it by adding -UGSEAL_ENABLE after the pkg-config
    generated flags.

 docs/reference/gtk/migrating-2to3.xml |    1 +
 gdk-3.0.pc.in                         |    2 +-
 gtk+-3.0.pc.in                        |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gtk/migrating-2to3.xml b/docs/reference/gtk/migrating-2to3.xml
index 99736ea..8e67bb5 100644
--- a/docs/reference/gtk/migrating-2to3.xml
+++ b/docs/reference/gtk/migrating-2to3.xml
@@ -43,6 +43,7 @@
     <programlisting>
     make CFLAGS+="-DGSEAL_ENABLE"
     </programlisting>
+    Starting with 2.90.4, GTK+'s .pc files turn on GSEAL_ENABLE by default.
   </para>
   </section>
 
diff --git a/gdk-3.0.pc.in b/gdk-3.0.pc.in
index ca12b2e..d2eae28 100644
--- a/gdk-3.0.pc.in
+++ b/gdk-3.0.pc.in
@@ -9,4 +9,4 @@ Description: GTK+ Drawing Kit (${target} target)
 Version: @VERSION@
 Requires: gdk-pixbuf- GTK_API_VERSION@ @GDK_PACKAGES@
 Libs: -L${libdir} -lgdk-${target}- GTK_API_VERSION@ @GDK_EXTRA_LIBS@
-Cflags: -I${includedir}/gtk- GTK_API_VERSION@ -I${libdir}/gtk- GTK_API_VERSION@/include @GDK_EXTRA_CFLAGS@
+Cflags: -I${includedir}/gtk- GTK_API_VERSION@ -I${libdir}/gtk- GTK_API_VERSION@/include @GDK_EXTRA_CFLAGS@ -DGSEAL_ENABLE
diff --git a/gtk+-3.0.pc.in b/gtk+-3.0.pc.in
index c159af1..ccb8c7e 100644
--- a/gtk+-3.0.pc.in
+++ b/gtk+-3.0.pc.in
@@ -12,4 +12,4 @@ Description: GTK+ Graphical UI Library (${target} target)
 Version: @VERSION@
 Requires: gdk-${target}- GTK_API_VERSION@ @GTK_PACKAGES@
 Libs: -L${libdir} -lgtk-${target}- GTK_API_VERSION@ @GTK_EXTRA_LIBS@
-Cflags: -I${includedir}/gtk- GTK_API_VERSION@ @GTK_EXTRA_CFLAGS@
+Cflags: -I${includedir}/gtk- GTK_API_VERSION@ @GTK_EXTRA_CFLAGS@ -DGSEAL_ENABLE



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]