summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_key_grab.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-21 13:26:15 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-21 14:35:19 +0900
commit7bf8da2baa243b972dd33d11ba873f6165e18fbf (patch)
tree91e8d9be8b6d16cd684178afbe081266fa1921fb /src/lib/evas/canvas/evas_key_grab.c
parent2f0b9edbb4b5e47d2d4a1380edc6ad1828134c41 (diff)
evas: Rename Evas.Object to Efl.Canvas.Object
One step closer to make the EO inheritance tree look like it's all Efl.
Diffstat (limited to 'src/lib/evas/canvas/evas_key_grab.c')
-rw-r--r--src/lib/evas/canvas/evas_key_grab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_key_grab.c b/src/lib/evas/canvas/evas_key_grab.c
index 8a1575c..1a1ba6a 100644
--- a/src/lib/evas/canvas/evas_key_grab.c
+++ b/src/lib/evas/canvas/evas_key_grab.c
@@ -132,7 +132,7 @@ evas_key_grab_free(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, const c
132 132
133 g = evas_key_grab_find(eo_obj, obj, keyname, modifiers, not_modifiers); 133 g = evas_key_grab_find(eo_obj, obj, keyname, modifiers, not_modifiers);
134 if (!g) return; 134 if (!g) return;
135 Evas_Object_Protected_Data *g_object = eo_data_scope_get(g->object, EVAS_OBJECT_CLASS); 135 Evas_Object_Protected_Data *g_object = eo_data_scope_get(g->object, EFL_CANVAS_OBJECT_CLASS);
136 g_object->grabs = eina_list_remove(g_object->grabs, g); 136 g_object->grabs = eina_list_remove(g_object->grabs, g);
137 obj->layer->evas->grabs = eina_list_remove(obj->layer->evas->grabs, g); 137 obj->layer->evas->grabs = eina_list_remove(obj->layer->evas->grabs, g);
138 if (g->keyname) free(g->keyname); 138 if (g->keyname) free(g->keyname);
@@ -142,7 +142,7 @@ evas_key_grab_free(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, const c
142/* public calls */ 142/* public calls */
143 143
144EOLIAN Eina_Bool 144EOLIAN Eina_Bool
145_evas_object_key_grab(Eo *eo_obj, Evas_Object_Protected_Data *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Eina_Bool exclusive) 145_efl_canvas_object_key_grab(Eo *eo_obj, Evas_Object_Protected_Data *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Eina_Bool exclusive)
146{ 146{
147 /* MEM OK */ 147 /* MEM OK */
148 Evas_Key_Grab *g; 148 Evas_Key_Grab *g;
@@ -153,7 +153,7 @@ _evas_object_key_grab(Eo *eo_obj, Evas_Object_Protected_Data *obj, const char *k
153} 153}
154 154
155EOLIAN void 155EOLIAN void
156_evas_object_key_ungrab(Eo *eo_obj, Evas_Object_Protected_Data *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers) 156_efl_canvas_object_key_ungrab(Eo *eo_obj, Evas_Object_Protected_Data *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers)
157{ 157{
158 /* MEM OK */ 158 /* MEM OK */
159 Evas_Key_Grab *g; 159 Evas_Key_Grab *g;
@@ -162,7 +162,7 @@ _evas_object_key_ungrab(Eo *eo_obj, Evas_Object_Protected_Data *obj, const char
162 if (!keyname) return; 162 if (!keyname) return;
163 g = evas_key_grab_find(eo_obj, obj, keyname, modifiers, not_modifiers); 163 g = evas_key_grab_find(eo_obj, obj, keyname, modifiers, not_modifiers);
164 if (!g) return; 164 if (!g) return;
165 Evas_Object_Protected_Data *g_object = eo_data_scope_get(g->object, EVAS_OBJECT_CLASS); 165 Evas_Object_Protected_Data *g_object = eo_data_scope_get(g->object, EFL_CANVAS_OBJECT_CLASS);
166 if (g_object->layer->evas->walking_grabs) 166 if (g_object->layer->evas->walking_grabs)
167 { 167 {
168 if (!g->delete_me) 168 if (!g->delete_me)