Bugfix: e dialog: don’t crash when using the escape key to close.

Commit 99589eb5af introduced this bug as the callback creation wasn’t changed to suit the new prototype and stil passed a window object.
This commit is contained in:
Chidambar Zinnoury 2015-04-05 03:48:28 +02:00
parent 6e4710cc91
commit b637a4f586
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}