fix e_pointer using incorrect comp variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
ae3410a0ba
commit
b42e70c73a
|
@ -468,7 +468,6 @@ EAPI E_Pointer *
|
||||||
e_pointer_window_new(Ecore_Window win, Eina_Bool filled)
|
e_pointer_window_new(Ecore_Window win, Eina_Bool filled)
|
||||||
{
|
{
|
||||||
E_Pointer *ptr = NULL;
|
E_Pointer *ptr = NULL;
|
||||||
E_Comp *comp;
|
|
||||||
|
|
||||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(win, NULL);
|
EINA_SAFETY_ON_FALSE_RETURN_VAL(win, NULL);
|
||||||
|
|
||||||
|
@ -482,7 +481,7 @@ e_pointer_window_new(Ecore_Window win, Eina_Bool filled)
|
||||||
ptr->win = win;
|
ptr->win = win;
|
||||||
ptr->color = EINA_FALSE;
|
ptr->color = EINA_FALSE;
|
||||||
if (e_comp->pointer)
|
if (e_comp->pointer)
|
||||||
ptr->color = comp->pointer->color;
|
ptr->color = e_comp->pointer->color;
|
||||||
|
|
||||||
/* set pointer default type */
|
/* set pointer default type */
|
||||||
if (filled) e_pointer_type_push(ptr, ptr, "default");
|
if (filled) e_pointer_type_push(ptr, ptr, "default");
|
||||||
|
|
Loading…
Reference in New Issue