entry: Redo textarea handling

Desktop / GNOME / GTK - Benjamin Otte [redhat.com] - 25 January 2016 08:49 UTC

(1) Keep priv->text_allocation for the area used by the text (2) Compute all text coordinates with the help of priv->text_allocation

As a side effect the get_text_area_size and get_frame_size vfuncs are now unused. If we wanted them back, they should get a single use durig size_allocate() and then their results should be stored for further processing.

b52b406 entry: Redo textarea handling
gtk/gtkentry.c | 379 +++++++++++++++-----------------------------------------
1 file changed, 101 insertions(+), 278 deletions(-)

Upstream: git.gnome.org


  • Share