From: cedric Date: Mon, 5 Sep 2011 20:09:02 +0000 (+0000) Subject: elementary: forgotten patch that cleanup callback. X-Git-Tag: REBUILDD-ARMEL-68329~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4a1a2d4e5d53a20bf8ba62d588b0bd8c751488d;p=framework%2Fuifw%2Felementary.git elementary: forgotten patch that cleanup callback. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@63212 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elc_player.c b/src/lib/elc_player.c index d46f262..5ed2448 100644 --- a/src/lib/elc_player.c +++ b/src/lib/elc_player.c @@ -395,6 +395,14 @@ _del_hook(Evas_Object *obj) Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; + evas_object_smart_callback_del(wd->forward, "clicked", _forward); + evas_object_smart_callback_del(wd->info, "clicked", _info); + evas_object_smart_callback_del(wd->next, "clicked", _next); + evas_object_smart_callback_del(wd->pause, "clicked", _pause); + evas_object_smart_callback_del(wd->play, "clicked", _play); + evas_object_smart_callback_del(wd->prev, "clicked", _prev); + evas_object_smart_callback_del(wd->rewind, "clicked", _rewind); + evas_object_smart_callback_del(wd->next, "clicked", _next); _cleanup_callback(wd); free(wd); }