summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2011-10-25 09:51:41 +0000
committerTom Hacohen <tom@stosb.com>2011-10-25 09:51:41 +0000
commitdd4275ad34fd7ccd747e15471c52d1f6e65be70a (patch)
tree96f9770a2847d0a1b91aed09e3a6fb18e704c7f7
parent262525a0af2d4b46c9ae2c96c658016d367c8d39 (diff)
Elm glayer: Removed unused/wanted if and variable.
SVN revision: 64382
-rw-r--r--legacy/elementary/src/lib/elm_gesture_layer.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/legacy/elementary/src/lib/elm_gesture_layer.c b/legacy/elementary/src/lib/elm_gesture_layer.c
index fa85f51dfa..5f30581e8c 100644
--- a/legacy/elementary/src/lib/elm_gesture_layer.c
+++ b/legacy/elementary/src/lib/elm_gesture_layer.c
@@ -957,16 +957,14 @@ _event_history_clear(Evas_Object *obj)
957 957
958 if (pending) 958 if (pending)
959 { 959 {
960 wd->pending = eina_list_remove_list(wd->pending, pending); 960 wd->pending = eina_list_remove_list(wd->pending, pending);
961 int device = ELM_MOUSE_DEVICE;
962 if (wd->event_history_list->event_type == EVAS_CALLBACK_MULTI_UP)
963 device = ((Evas_Event_Multi_Up *)
964 (wd->event_history_list->event))->device;
965 } 961 }
966 else 962 else
967 wd->pending = _add_device_pending(wd->pending, 963 {
968 wd->event_history_list->event, 964 wd->pending = _add_device_pending(wd->pending,
969 wd->event_history_list->event_type); 965 wd->event_history_list->event,
966 wd->event_history_list->event_type);
967 }
970 } 968 }
971 969
972 free(wd->event_history_list->event); 970 free(wd->event_history_list->event);