asdfuser pushed a commit to branch elementary-1.7.

commit 2a6c6a38b31f5918908e5aaafe2822e08a446c3c
Author: Daniel Willmann <[email protected]>
Date:   Tue Jun 11 12:46:04 2013 +0100

    els_tooltip.c: Initialize px and py to zero
    
    px and py might not be set if X support is not compiled in and
    ecore_x_pointer_xy_get() is not called. In that case make sure they are
    not used uninitialized.
    
    Backport ec06d04b29454e1d1008525812bc43c4aa4c08ed
    
    Signed-off-by: Daniel Willmann <[email protected]>
---
 src/lib/els_tooltip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c
index 4c28b28..677367b 100644
--- a/src/lib/els_tooltip.c
+++ b/src/lib/els_tooltip.c
@@ -262,7 +262,7 @@ _elm_tooltip_hide_anim_stop(Elm_Tooltip *tt)
 static void
 _elm_tooltip_reconfigure(Elm_Tooltip *tt)
 {
-   Evas_Coord ox, oy, ow, oh, px, py, tx, ty, tw, th, cw = 0, ch = 0;
+   Evas_Coord ox, oy, ow, oh, px = 0, py = 0, tx, ty, tw, th, cw = 0, ch = 0;
    Evas_Coord eminw, eminh, ominw, ominh;
    double rel_x, rel_y;
    Eina_Bool inside_eventarea;

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to