]> Pileus Git - ~andy/gtk/commitdiff
Turn on GSEAL_ENABLE by default
authorMatthias Clasen <mclasen@redhat.com>
Thu, 24 Jun 2010 03:19:58 +0000 (23:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 24 Jun 2010 03:19:58 +0000 (23:19 -0400)
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
gdk-3.0.pc.in
gtk+-3.0.pc.in

index 99736eaf97bcd209702c12798fb6bbc650df8f2c..8e67bb58edd3578e775b202cc16ad8c3ecaad94b 100644 (file)
@@ -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>
 
index ca12b2eef2b471b7ae622d321fedaa2d460fc1aa..d2eae286af46f31b864122f4341c909fb16eb1a3 100644 (file)
@@ -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
index c159af126056df9e4a8904d44206ef035528c848..ccb8c7e1070dc570eceeab6fe5a0f7a05f734173 100644 (file)
@@ -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