evas: Slightly optimize size hints
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 5 Jan 2017 07:14:27 +0000 (16:14 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 5 Jan 2017 08:26:14 +0000 (17:26 +0900)
commita6e54c6109ca1f8d5169f969c00182eb6a7d17d5
tree3cb91060f904f76b90df7a9b7c3b6ca78d88649e
parentb5b78c023214820bd5b3b9a1fa864a18c32521e1
evas: Slightly optimize size hints

Object size hints are stored in a specially allocated struct
(from a mempool) and even a call to size_hint_set(default_values)
will allocate this struct. This patch avoids unnecessary allocations.

Originally I was trying to fix an infinite recalc loop but it
magically vanished...
src/lib/evas/canvas/evas_object_main.c