cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d2816c38790e75d022b56129b16b2bbc404cb83d

commit d2816c38790e75d022b56129b16b2bbc404cb83d
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Fri Apr 7 11:38:10 2017 -0700

    elementary: fix test breakage.
    
    It is perfectly valid to call this API with no pointer provided.
---
 src/lib/elementary/efl_ui_win.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 0c33c92..5640b6e 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -6446,8 +6446,8 @@ _efl_ui_win_elm_interface_atspi_component_extents_get(Eo 
*obj, Efl_Ui_Win_Data *
 {
    int ee_x, ee_y;
 
-   *x = 0;
-   *y = 0;
+   if (x) *x = 0;
+   if (y) *y = 0;
    evas_object_geometry_get(obj, NULL, NULL, w, h);
    if (screen_coords)
      {

-- 


Reply via email to