aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-26 15:42:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-26 15:42:16 +0900
commit1ea0818f2b3cba5887377096d35da8b13120bcd1 (patch)
tree5b4637bd3c6c2d6140c9a6ffd8ded0b490ea3533 /src
parentsolarized: slightly better by switching base02 and base03 (diff)
downloadterminology-1ea0818f2b3cba5887377096d35da8b13120bcd1.tar.gz
close terminal button - pass ctx ptr to callback so it doesnt seg
Diffstat (limited to 'src')
-rw-r--r--src/bin/controls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index f51a1c0..834164f 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -400,7 +400,7 @@ controls_show(Evas_Object *win, Evas_Object *base, Evas_Object *bg,
elm_box_pack_end(ct_boxv, o);
evas_object_show(o);
- o = _button_add(win, _("Close Terminal"), "window-close", _cb_ct_close, NULL);
+ o = _button_add(win, _("Close Terminal"), "window-close", _cb_ct_close, ctx);
elm_box_pack_end(ct_box3, o);
evas_object_smart_callback_add(win, "selection,on", _cb_sel_on,