docs: Note the P_() macro in the HACKING file

This commit is contained in:
Emmanuele Bassi 2010-07-15 14:26:16 +01:00 committed by Elliot Smith
parent 1d9c64ff16
commit ec7b0b4389

View File

@ -24,6 +24,10 @@ General notes and rules on clutter core hacking;
positional properties can also use ClutterParamSpecUnits to define
the units-based logical values with a unit type.
- The nick and blurb of properties in public classes should be marked for
translation by using the P_() macro defined in the clutter-private.h
header file.
- Public entry points must always check their arguments with
g_return_if_fail() or g_return_val_if_fail().