summaryrefslogtreecommitdiff
path: root/src/bin/controls.c
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/bin/controls.c
parent73bd76c97e760a0792fe26788b8fa98e6c0fff5d (diff)
close terminal button - pass ctx ptr to callback so it doesnt seg
Diffstat (limited to 'src/bin/controls.c')
-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,
400 elm_box_pack_end(ct_boxv, o); 400 elm_box_pack_end(ct_boxv, o);
401 evas_object_show(o); 401 evas_object_show(o);
402 402
403 o = _button_add(win, _("Close Terminal"), "window-close", _cb_ct_close, NULL); 403 o = _button_add(win, _("Close Terminal"), "window-close", _cb_ct_close, ctx);
404 elm_box_pack_end(ct_box3, o); 404 elm_box_pack_end(ct_box3, o);
405 405
406 evas_object_smart_callback_add(win, "selection,on", _cb_sel_on, 406 evas_object_smart_callback_add(win, "selection,on", _cb_sel_on,