fix: make sure timer is deleted
SVN revision: 48080
double align;
double align_to;
Ecore_Animator *animator;
+ Ecore_Timer *timer;
};
int cw, mw;
};
+
+static void _tabs_update(Tab_View *v);
+
static int
_animator(void *data)
{
static Ecore_Timer *timer = NULL;
-static void
-_tabs_update(Tab_View *v);
static int
_timer_cb(void *data)
{
- _tabs_update(data);
+ Tab_View *v = data;
+
+ _tabs_update(v);
- timer = NULL;
+ v->timer = NULL;
return 0;
}
if (v->animator)
ecore_animator_del(v->animator);
+
+ if (v->timer)
+ ecore_timer_del(v->timer);
E_FREE(v);
}