From da65aa613e0421ed8dbafdcf2635688d2d89150b Mon Sep 17 00:00:00 2001 From: Massimiliano Calamelli Date: Tue, 21 Apr 2009 09:55:54 +0000 Subject: [PATCH] Fix compiler warnings about attribute warn_unused_result SVN revision: 40265 --- src/modules/wizard/e_wizard.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/modules/wizard/e_wizard.c b/src/modules/wizard/e_wizard.c index 21aa611..466057f 100644 --- a/src/modules/wizard/e_wizard.c +++ b/src/modules/wizard/e_wizard.c @@ -242,6 +242,7 @@ _e_wizard_main_new(E_Zone *zone) E_Popup *pop; Evas_Object *o, *o_ev; Evas_Modifier_Mask mask; + Eina_Bool kg; pop = e_popup_new(zone, 0, 0, zone->w, zone->h); e_popup_layer_set(pop, 255); @@ -257,13 +258,13 @@ _e_wizard_main_new(E_Zone *zone) o = evas_object_rectangle_add(pop->evas); 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(pop->evas, "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); evas_object_event_callback_add(o, EVAS_CALLBACK_KEY_DOWN, _e_wizard_cb_key_down, pop); o_ev = o; -- 2.7.4