summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_image_zoomable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_image_zoomable.c')
-rw-r--r--src/lib/elementary/efl_ui_image_zoomable.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_image_zoomable.c b/src/lib/elementary/efl_ui_image_zoomable.c
index 2866fe8..37cf907 100644
--- a/src/lib/elementary/efl_ui_image_zoomable.c
+++ b/src/lib/elementary/efl_ui_image_zoomable.c
@@ -1558,7 +1558,10 @@ _efl_ui_image_zoomable_efl_canvas_layout_group_group_size_min_get(Eo *obj EINA_U
1558 if (sd->edje) 1558 if (sd->edje)
1559 edje_object_size_min_get(sd->edje, w, h); 1559 edje_object_size_min_get(sd->edje, w, h);
1560 else 1560 else
1561 efl_gfx_size_hint_combined_min_get(sd->img, w, h); 1561 {
1562 if (w) *w = 0;
1563 if (h) *h = 0;
1564 }
1562} 1565}
1563 1566
1564EOLIAN static void 1567EOLIAN static void
@@ -1567,7 +1570,10 @@ _efl_ui_image_zoomable_efl_canvas_layout_group_group_size_max_get(Eo *obj EINA_U
1567 if (sd->edje) 1570 if (sd->edje)
1568 edje_object_size_max_get(sd->edje, w, h); 1571 edje_object_size_max_get(sd->edje, w, h);
1569 else 1572 else
1570 evas_object_size_hint_max_get(sd->img, w, h); 1573 {
1574 if (w) *w = 0;
1575 if (h) *h = 0;
1576 }
1571} 1577}
1572 1578
1573static Eina_Bool 1579static Eina_Bool