]> Pileus Git - ~andy/gtk/commitdiff
Drop the G_SEAL definition from gdkconfig.h
authorMatthias Clasen <mclasen@redhat.com>
Thu, 6 Jan 2011 00:00:14 +0000 (19:00 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 6 Jan 2011 00:00:14 +0000 (19:00 -0500)
All sealed members removed. Yay!

configure.ac
docs/reference/gtk/migrating-2to3.xml

index ae75d1e5320c163ca8da14dd7180a7e9490f30cf..31246415f982b3ea2c7a4ed2f8e80e06349769c3 100644 (file)
@@ -1546,15 +1546,6 @@ AC_CONFIG_COMMANDS([gdk/gdkconfig.h], [
 
 G_BEGIN_DECLS
 
-#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
index a6f3ca8c36f2ada1f3565a41335953a025507ad2..70d9419f24aefeb707f9d34a8bc45361778b8310 100644 (file)
   </para>
   <para>
     To ensure that your application does not have problems with this, you
-    define the preprocessor symbol <literal>GSEAL_ENABLE</literal>. This
-    will make the compiler catch all uses of direct access to struct fields
-    so that you can go through them one by one and replace them with a call
-    to an accessor function instead.
+    define the preprocessor symbol <literal>GSEAL_ENABLE</literal> while
+    building your application against GTK+ 2.x. This will make the compiler
+    catch all uses of direct access to struct fields so that you can go
+    through them one by one and replace them with a call to an accessor
+    function instead.
     <programlisting>
     make CFLAGS+="-DGSEAL_ENABLE"
     </programlisting>