A poller is not a timer. Use proper variable type, and proper delete function.

SVN revision: 44689
This commit is contained in:
Christopher Michael 2009-12-23 14:04:22 +00:00
parent db41be00b2
commit 69581f2d37
2 changed files with 2 additions and 2 deletions

View File

@ -5813,7 +5813,7 @@ _e_border_eval0(E_Border *bd)
e_border_ping(bd);
else
{
if (bd->ping_poller) ecore_timer_del(bd->ping_poller);
if (bd->ping_poller) ecore_poller_del(bd->ping_poller);
bd->ping_poller = NULL;
}
bd->client.icccm.fetch.protocol = 0;

View File

@ -496,7 +496,7 @@ struct _E_Border
unsigned int layer;
E_Action *cur_mouse_action;
Ecore_Timer *raise_timer;
Ecore_Timer *ping_poller;
Ecore_Poller *ping_poller;
Ecore_Timer *kill_timer;
int shape_rects_num;
Ecore_X_Rectangle *shape_rects;