gtk+ r20478 - trunk



Author: timj
Date: Fri Jun 20 10:48:22 2008
New Revision: 20478
URL: http://svn.gnome.org/viewvc/gtk+?rev=20478&view=rev

Log:
Introduce GSEAL() macro.

* configure.in: define GSEAL() when generating gdkconfig.h


Modified:
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Fri Jun 20 10:48:22 2008
@@ -1901,6 +1901,15 @@
 extern "C" {
 #endif /* __cplusplus */
 
+#ifndef GSEAL
+/* introduce GSEAL() here for all of Gdk and Gtk+ without the need to modify GLib */
+#  ifdef GSEAL_ENABLE
+#    define GSEAL(ident)      _g_sealed__ ## ident
+#  else
+#    define GSEAL(ident)      ident
+#  endif
+#endif /* !GSEAL */
+
 _______EOF
 
 	cat >>$outfile <<_______EOF



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