summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_key_grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_key_grab.c')
-rw-r--r--src/lib/evas/canvas/evas_key_grab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_key_grab.c b/src/lib/evas/canvas/evas_key_grab.c
index 202c9bf..9f65c04 100644
--- a/src/lib/evas/canvas/evas_key_grab.c
+++ b/src/lib/evas/canvas/evas_key_grab.c
@@ -125,7 +125,7 @@ evas_key_grab_free(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, const c
125 125
126 g = evas_key_grab_find(eo_obj, obj, keyname, modifiers, not_modifiers, 0); 126 g = evas_key_grab_find(eo_obj, obj, keyname, modifiers, not_modifiers, 0);
127 if (!g) return; 127 if (!g) return;
128 Evas_Object_Protected_Data *g_object = eo_data_scope_get(g->object, EVAS_OBJ_CLASS); 128 Evas_Object_Protected_Data *g_object = eo_data_get(g->object, EVAS_OBJ_CLASS);
129 g_object->grabs = eina_list_remove(g_object->grabs, g); 129 g_object->grabs = eina_list_remove(g_object->grabs, g);
130 obj->layer->evas->grabs = eina_list_remove(obj->layer->evas->grabs, g); 130 obj->layer->evas->grabs = eina_list_remove(obj->layer->evas->grabs, g);
131 if (g->keyname) free(g->keyname); 131 if (g->keyname) free(g->keyname);
@@ -200,7 +200,7 @@ _key_ungrab(Eo *eo_obj, void *_pd, va_list *list)
200 Evas_Object_Protected_Data *obj = _pd; 200 Evas_Object_Protected_Data *obj = _pd;
201 g = evas_key_grab_find(eo_obj, obj, keyname, modifiers, not_modifiers, 0); 201 g = evas_key_grab_find(eo_obj, obj, keyname, modifiers, not_modifiers, 0);
202 if (!g) return; 202 if (!g) return;
203 Evas_Object_Protected_Data *g_object = eo_data_scope_get(g->object, EVAS_OBJ_CLASS); 203 Evas_Object_Protected_Data *g_object = eo_data_get(g->object, EVAS_OBJ_CLASS);
204 if (g_object->layer->evas->walking_grabs) 204 if (g_object->layer->evas->walking_grabs)
205 { 205 {
206 if (!g->delete_me) 206 if (!g->delete_me)