Patch applied to ClanLib 2.3 SVN and 3.0 (devel) SVN. Many Thanks