Additions

svn path=/trunk/; revision=20228
This commit is contained in:
Matthias Clasen 2008-05-29 04:19:54 +00:00
parent bceb3fcc73
commit f58baf1391
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-05-28 Matthias Clasen <mclasen@redhat.com>
* gtk/compiling.sgml: Explains single includes
2008-05-28 Matthias Clasen <mclasen@redhat.com>
Bug 535250 - GtkToolButton reference page says "label" where

View File

@ -58,6 +58,16 @@ symbol GDK_MULTIHEAD_SAFE by using the command line option
<literal>-DGTK_MULTIHEAD_SAFE=1</literal>.
</para>
<para>
The recommended way of using GTK+ has always been to only include the
toplevel headers <filename>gtk.h</filename>, <filename>gdk.h</filename>,
<filename>gdk-pixbuf.h</filename>.
If you want to make sure that your program follows this recommended
practise, you can define the preprocessor symbols GTK_DISABLE_SINGLE_INCLUDES
and GDK_PIXBUF_DISABLE_SINGLE_INCLUDES to make GTK+ generate an error
when individual headers are directly included.
</para>
</refsect1>
</refentry>