aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-05-28 19:35:17 +0200
committerBoris Faure <billiob@gmail.com>2018-06-28 19:25:40 +0200
commita696d18165b9cc2f2bdec351c08851aedb96633c (patch)
tree546c588285dca876aafa2628cab323956c6246a3
parenttermio: make sure that reference to gesture layer are cleaned at the right time. (diff)
downloadterminology-a696d18165b9cc2f2bdec351c08851aedb96633c.tar.gz
termio: fix previous commit
-rw-r--r--src/bin/termio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 1ffb350..22e26ce 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -6089,7 +6089,8 @@ termio_add(Evas_Object *win, Config *config,
sd->win = win;
sd->glayer = g = elm_gesture_layer_add(win);
- evas_object_event_callback_add(g, EVAS_CALLBACK_FREE, _gesture_layer_death);
+ evas_object_event_callback_add(g, EVAS_CALLBACK_FREE,
+ _gesture_layer_death, sd);
elm_gesture_layer_attach(g, sd->event);
elm_gesture_layer_cb_set(g, ELM_GESTURE_N_LONG_TAPS,