From 53b67b9a7209bf187c2609e15fcb4ee4ee127e53 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 5 Jan 2011 19:00:14 -0500 Subject: [PATCH] Drop the G_SEAL definition from gdkconfig.h All sealed members removed. Yay! --- configure.ac | 9 --------- docs/reference/gtk/migrating-2to3.xml | 9 +++++---- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac index ae75d1e53..31246415f 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 a6f3ca8c3..70d9419f2 100644 --- a/docs/reference/gtk/migrating-2to3.xml +++ b/docs/reference/gtk/migrating-2to3.xml @@ -100,10 +100,11 @@ To ensure that your application does not have problems with this, you - define the preprocessor symbol GSEAL_ENABLE. 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 GSEAL_ENABLE 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. make CFLAGS+="-DGSEAL_ENABLE" -- 2.43.2