summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_ctxpopup.c
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/elementary/elc_ctxpopup.c
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/elementary/elc_ctxpopup.c')
-rw-r--r--src/lib/elementary/elc_ctxpopup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 2e908f1..553d526 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -227,7 +227,7 @@ _base_geometry_calc(Evas_Object *obj,
227 if ((max_size.x > 0) && (base_size.x > max_size.x)) 227 if ((max_size.x > 0) && (base_size.x > max_size.x))
228 base_size.x = max_size.x; 228 base_size.x = max_size.x;
229 //Limit to Min Size 229 //Limit to Min Size
230 efl_gfx_size_hint_combined_min_get(obj, &min_size.x, &min_size.y); 230 evas_object_size_hint_combined_min_get(obj, &min_size.x, &min_size.y);
231 231
232 if ((min_size.y > 0) && (base_size.y < min_size.y)) 232 if ((min_size.y > 0) && (base_size.y < min_size.y))
233 base_size.y = min_size.y; 233 base_size.y = min_size.y;