projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af23236
)
els_tooltip.c: Initialize px and py to zero
author
Daniel Willmann
<d.willmann@samsung.com>
Tue, 11 Jun 2013 11:46:04 +0000
(12:46 +0100)
committer
Daniel Willmann
<d.willmann@samsung.com>
Tue, 11 Jun 2013 13:33:44 +0000
(14:33 +0100)
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 <d.willmann@samsung.com>
src/lib/els_tooltip.c
patch
|
blob
|
history
diff --git
a/src/lib/els_tooltip.c
b/src/lib/els_tooltip.c
index 4c28b28d906f0738344817db9eeddc1429201dbe..677367b96a0b9a58f8eb4f3c5103e54cfbe69335 100644
(file)
--- 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;