summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-18 16:22:01 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-18 16:33:33 +0900
commita72f3ec64ec8dfc20c68e1b471a6374a04058f8b (patch)
treea034aff82d8f21f10aa3eaa7ddbce58c9ac92c39 /src/lib/ecore_evas
parent7d2b4b69166c0f2abaf0f0bdec3b0d04eb721517 (diff)
efl: Use Eina.Size2D for size hint combined min
For this patch I decided to add a pseudo legacy wrapper as the function is called in a very large number of places. Fixing all those calls to use the size2d form is a lot of work and a greater risk of b0rking something.
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_util.c b/src/lib/ecore_evas/ecore_evas_util.c
index 018abdcb3c..fb4a9aa7a5 100644
--- a/src/lib/ecore_evas/ecore_evas_util.c
+++ b/src/lib/ecore_evas/ecore_evas_util.c
@@ -11,6 +11,7 @@
11 11
12#include "Ecore_Evas.h" 12#include "Ecore_Evas.h"
13#include "ecore_evas_private.h" 13#include "ecore_evas_private.h"
14#include "Evas_Internal.h"
14 15
15static const char ASSOCIATE_KEY[] = "__Ecore_Evas_Associate"; 16static const char ASSOCIATE_KEY[] = "__Ecore_Evas_Associate";
16 17
@@ -132,7 +133,7 @@ _ecore_evas_object_callback_changed_size_hints(void *data, Evas *e EINA_UNUSED,
132 Ecore_Evas *ee = data; 133 Ecore_Evas *ee = data;
133 Evas_Coord w, h; 134 Evas_Coord w, h;
134 135
135 efl_gfx_size_hint_combined_min_get(obj, &w, &h); 136 evas_object_size_hint_combined_min_get(obj, &w, &h);
136 ecore_evas_size_min_set(ee, w, h); 137 ecore_evas_size_min_set(ee, w, h);
137 138
138 evas_object_size_hint_max_get(obj, &w, &h); 139 evas_object_size_hint_max_get(obj, &w, &h);