diff options
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | docs/reference/gtk/migrating-2to3.xml | 9 |
2 files changed, 5 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac index ae75d1e532..31246415f9 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/docs/reference/gtk/migrating-2to3.xml b/docs/reference/gtk/migrating-2to3.xml index a6f3ca8c36..70d9419f24 100644 --- a/docs/reference/gtk/migrating-2to3.xml +++ b/docs/reference/gtk/migrating-2to3.xml @@ -100,10 +100,11 @@ </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> |