From b637a4f586a928c23990e0c8baa85260743f94a3 Mon Sep 17 00:00:00 2001 From: Chidambar Zinnoury Date: Sun, 5 Apr 2015 03:48:28 +0200 Subject: [PATCH] =?UTF-8?q?=20Bugfix:=20e=20dialog:=20don=E2=80=99t=20cras?= =?UTF-8?q?h=20when=20using=20the=20escape=20key=20to=20close.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 99589eb5af346add9fe912a768ed006416cb2220 introduced this bug as the callback creation wasn’t changed to suit the new prototype and stil passed a window object. --- src/bin/e_obj_dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_obj_dialog.c b/src/bin/e_obj_dialog.c index 07325f66e..a2a703131 100644 --- a/src/bin/e_obj_dialog.c +++ b/src/bin/e_obj_dialog.c @@ -50,7 +50,7 @@ e_obj_dialog_new(char *title, char *class_name, char *class_class) if (!kg) fprintf(stderr, "ERROR: unable to redirect \"Escape\" key events to object %p.\n", o); evas_object_event_callback_add(o, EVAS_CALLBACK_KEY_DOWN, - _key_down_cb, od->win); + _key_down_cb, od); return od; }