[text] account for scrolling in clutter_text_position_to_coords
authorThomas Wood <thomas.wood@intel.com>
Thu, 14 May 2009 09:53:44 +0000 (10:53 +0100)
committerThomas Wood <thomas.wood@intel.com>
Thu, 14 May 2009 12:31:21 +0000 (13:31 +0100)
commite79fd1055d5d220a2460fc5ada0e74d7456aedf2
tree2531a64cecd954506708b5c8699cba48233d9b52
parent16185c78fc59f8538f0a439908bd43ae8ee981fe
[text] account for scrolling in clutter_text_position_to_coords

Add any scrolling offset to the x value when in single line mode.

Now that the offset is taken into account in the position_to_coords
function, we do not need to adjust the cursor x manually in
clutter_text_paint.
clutter/clutter-text.c