summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_key_grab.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-11 16:49:13 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-11 16:50:40 +0900
commit69e27abdc37f222183ce27f4ce0e3fe2a45ca590 (patch)
tree487cbabad5e0a5e5efd0c56063cf5d437484b4ea /src/lib/evas/canvas/evas_key_grab.c
parent725237df0a8b8cab83c8f38368e5d0389dbd196e (diff)
eina - and e3fl in general - stop using eina_error_get/set - useless really
Diffstat (limited to 'src/lib/evas/canvas/evas_key_grab.c')
-rw-r--r--src/lib/evas/canvas/evas_key_grab.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/lib/evas/canvas/evas_key_grab.c b/src/lib/evas/canvas/evas_key_grab.c
index a9f9480..0104b96 100644
--- a/src/lib/evas/canvas/evas_key_grab.c
+++ b/src/lib/evas/canvas/evas_key_grab.c
@@ -40,34 +40,7 @@ evas_key_grab_new(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, const ch
40 } 40 }
41 } 41 }
42 obj->grabs = eina_list_append(obj->grabs, g); 42 obj->grabs = eina_list_append(obj->grabs, g);
43 if (eina_error_get())
44 {
45 MERR_BAD();
46 evas_mem_free(sizeof(Eina_List));
47 obj->grabs = eina_list_append(obj->grabs, g);
48 if (eina_error_get())
49 {
50 MERR_FATAL();
51 free(g->keyname);
52 free(g);
53 return NULL;
54 }
55 }
56 obj->layer->evas->grabs = eina_list_append(obj->layer->evas->grabs, g); 43 obj->layer->evas->grabs = eina_list_append(obj->layer->evas->grabs, g);
57 if (eina_error_get())
58 {
59 MERR_BAD();
60 evas_mem_free(sizeof(Eina_List));
61 obj->layer->evas->grabs = eina_list_append(obj->layer->evas->grabs, g);
62 if (eina_error_get())
63 {
64 MERR_FATAL();
65 obj->grabs = eina_list_remove(obj->grabs, g);
66 free(g->keyname);
67 free(g);
68 return NULL;
69 }
70 }
71 return g; 44 return g;
72} 45}
73 46