From: Massimiliano Calamelli Date: Tue, 21 Apr 2009 09:51:54 +0000 (+0000) Subject: Fix compiler warnings about attribute warn_unused_result X-Git-Tag: submit/efl/20131021.015651~9527 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=918537153288537103a28593167c345c3347ff8e;p=platform%2Fupstream%2Fenlightenment.git Fix compiler warnings about attribute warn_unused_result SVN revision: 40264 --- diff --git a/src/bin/e_dialog.c b/src/bin/e_dialog.c index d0aba4e..0ede8da 100644 --- a/src/bin/e_dialog.c +++ b/src/bin/e_dialog.c @@ -22,6 +22,7 @@ _e_dialog_internal_new(E_Container *con, const char *name, const char *class, in E_Manager *man; Evas_Object *o; Evas_Modifier_Mask mask; + Eina_Bool kg; if (!con) { @@ -59,15 +60,15 @@ _e_dialog_internal_new(E_Container *con, const char *name, const char *class, in o = evas_object_rectangle_add(e_win_evas_get(dia->win)); dia->event_object = o; mask = 0; - evas_object_key_grab(o, "Tab", mask, ~mask, 0); + kg = evas_object_key_grab(o, "Tab", mask, ~mask, 0); mask = evas_key_modifier_mask_get(e_win_evas_get(dia->win), "Shift"); - evas_object_key_grab(o, "Tab", mask, ~mask, 0); + kg = evas_object_key_grab(o, "Tab", mask, ~mask, 0); mask = 0; - evas_object_key_grab(o, "Return", mask, ~mask, 0); + kg = evas_object_key_grab(o, "Return", mask, ~mask, 0); mask = 0; - evas_object_key_grab(o, "KP_Enter", mask, ~mask, 0); + kg = evas_object_key_grab(o, "KP_Enter", mask, ~mask, 0); mask = 0; - evas_object_key_grab(o, "space", mask, ~mask, 0); + kg = evas_object_key_grab(o, "space", mask, ~mask, 0); evas_object_event_callback_add(o, EVAS_CALLBACK_KEY_DOWN, _e_dialog_cb_key_down, dia);