aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/win.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-09-02 21:39:01 +0200
committerBoris Faure <billiob@gmail.com>2015-09-02 21:40:03 +0200
commit4c00bec4d6495b90a266a7786d5290d54294919a (patch)
tree5e5ef3b596df1fd45d2c1e5cbf8256540ff42429 /src/bin/win.c
parentfix copy/paste bug. CID1316546 (diff)
downloadterminology-4c00bec4d6495b90a266a7786d5290d54294919a.tar.gz
cleanup window callbacks
Diffstat (limited to 'src/bin/win.c')
-rw-r--r--src/bin/win.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index 57fc55b..bb2b17b 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -666,6 +666,8 @@ win_free(Win *wn)
}
if (wn->win)
{
+ evas_object_smart_callback_del_full(wn->win, "focus,in", _cb_win_focus_in, wn);
+ evas_object_smart_callback_del_full(wn->win, "focus,out", _cb_win_focus_out, wn);
evas_object_event_callback_del_full(wn->win, EVAS_CALLBACK_DEL, _cb_del, wn);
evas_object_del(wn->win);
}