summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-08-12 11:14:49 -0400
committerCedric BAIL <cedric.bail@free.fr>2019-08-14 12:08:13 -0700
commite1fda2cbdb435c251ced9843bc87dd7f99639fb7 (patch)
treee911e9ef240517ad1be322300a50955ce3f689cf /src/lib/ecore_evas
parentc3f78d8b4f860956943d8fa9714b1ae13c48febe (diff)
efl/hints: add restricted and combined max size hints
these function the same as the min size hint versions and enable distinction between internally-set max size hints and user-set max size hints @feature ref T8122 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9553
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_util.c b/src/lib/ecore_evas/ecore_evas_util.c
index fb4a9aa7a5..4f3e9c4baa 100644
--- a/src/lib/ecore_evas/ecore_evas_util.c
+++ b/src/lib/ecore_evas/ecore_evas_util.c
@@ -136,7 +136,7 @@ _ecore_evas_object_callback_changed_size_hints(void *data, Evas *e EINA_UNUSED,
136 evas_object_size_hint_combined_min_get(obj, &w, &h); 136 evas_object_size_hint_combined_min_get(obj, &w, &h);
137 ecore_evas_size_min_set(ee, w, h); 137 ecore_evas_size_min_set(ee, w, h);
138 138
139 evas_object_size_hint_max_get(obj, &w, &h); 139 evas_object_size_hint_combined_max_get(obj, &w, &h);
140 if (w < 1) w = -1; 140 if (w < 1) w = -1;
141 if (h < 1) h = -1; 141 if (h < 1) h = -1;
142 ecore_evas_size_max_set(ee, w, h); 142 ecore_evas_size_max_set(ee, w, h);