aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2017-02-08 21:34:46 +0100
committerBoris Faure <billiob@gmail.com>2017-02-08 21:34:46 +0100
commit6c5c7d486cec11236ce1a0a0bf58f8d01a17b410 (patch)
tree233a33843dd464ba8b8466fd761172fb4c9d8be8
parentterminology tabs resize - fix access of invalid memory beyond bounds (diff)
downloadterminology-6c5c7d486cec11236ce1a0a0bf58f8d01a17b410.tar.gz
controls: clean up code
-rw-r--r--src/bin/controls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index d5722ea..69e3ae1 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -377,9 +377,9 @@ controls_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
evas_object_show(o);
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
_cb_mouse_down, NULL);
- evas_object_event_callback_add(ct_over, EVAS_CALLBACK_DEL,
+ evas_object_event_callback_add(o, EVAS_CALLBACK_DEL,
_cb_over_del, NULL);
-
+
ct_win = win;
ct_bg = bg;
ct_term = term;