forked from AuroraMiddleware/gtk
Document GSEAL_ENABLE with other preprocessor symbols.
(cherry picked from commit 747c834f27
)
This commit is contained in:
parent
a184432baf
commit
c81abfae02
@ -81,5 +81,14 @@ The same for <filename>gtkunixprint.h</filename> if you use the non-portable
|
||||
<link linkend="GtkPrintUnixDialog">GtkPrintUnixDialog</link> API.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The next major version, GTK+ 3, will remove many implementation details and
|
||||
struct members from its public headers. To ensure that your application will
|
||||
not have problems with this, you can 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.
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
Loading…
Reference in New Issue
Block a user