remove timer when back key selected 2.0alpha master 2.0_alpha submit/master/20120920.150952
authorJisung Ahn <jcastle.ahn@samsung.com>
Tue, 11 Sep 2012 00:49:09 +0000 (09:49 +0900)
committerJisung Ahn <jcastle.ahn@samsung.com>
Tue, 11 Sep 2012 00:49:09 +0000 (09:49 +0900)
Change-Id: I0b61132f738343f932f1922a037c3838fa79cb3f

main/src/view/ivug-setas-view-callerid.cpp

index bd26d86..211bc4b 100755 (executable)
@@ -202,6 +202,12 @@ _on_btn_cancel_clicked(void *data, Evas_Object *obj, void *event_info)
        MSG_SETAS_HIGH("Cancel button clicked");
        evas_object_smart_callback_call(pSetAsData->layout, "cancel,clicked", NULL);
 
+       if(pSetAsData->timer)
+       {
+               ecore_timer_del(pSetAsData->timer);
+               pSetAsData->timer = NULL;
+       }
+
        if ( pSetAsData->crop.box )
        {
                evas_object_del(pSetAsData->crop.box);