From ec7b0b438962a60a5b269bd712724cc3e59b7795 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 15 Jul 2010 14:26:16 +0100 Subject: [PATCH] docs: Note the P_() macro in the HACKING file --- doc/HACKING | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/HACKING b/doc/HACKING index c252f50aa..6edfcdf9e 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -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().