tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=29e015ee251b58566b03b99cb1af0168c5f70fc0

commit 29e015ee251b58566b03b99cb1af0168c5f70fc0
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Mon Dec 21 12:55:23 2015 +0000

    Elm config: use a name instead of elm_widget_type_get
    
    Summary:
    The use of elm_widget_type_get here is pretty harmfull, for the usecase
    of inheriting a widget elm_widget_type_get is something else than
    before. But the key binding should still work.
    
    @fix T2891
    
    Reviewers: tasn
    
    Reviewed By: tasn
    
    Maniphest Tasks: T2891
    
    Differential Revision: https://phab.enlightenment.org/D3470
---
 src/lib/elc_ctxpopup.c      | 2 +-
 src/lib/elc_fileselector.c  | 2 +-
 src/lib/elc_hoversel.c      | 2 +-
 src/lib/elc_naviframe.c     | 2 +-
 src/lib/elc_player.c        | 2 +-
 src/lib/elc_popup.c         | 2 +-
 src/lib/elm_button.c        | 2 +-
 src/lib/elm_calendar.c      | 2 +-
 src/lib/elm_check.c         | 2 +-
 src/lib/elm_colorselector.c | 2 +-
 src/lib/elm_config.c        | 3 ++-
 src/lib/elm_diskselector.c  | 2 +-
 src/lib/elm_flipselector.c  | 2 +-
 src/lib/elm_gengrid.c       | 2 +-
 src/lib/elm_genlist.c       | 2 +-
 src/lib/elm_image.c         | 2 +-
 src/lib/elm_list.c          | 2 +-
 src/lib/elm_map.c           | 2 +-
 src/lib/elm_panel.c         | 2 +-
 src/lib/elm_photocam.c      | 2 +-
 src/lib/elm_priv.h          | 1 +
 src/lib/elm_radio.c         | 2 +-
 src/lib/elm_scroller.c      | 2 +-
 src/lib/elm_slider.c        | 2 +-
 src/lib/elm_slideshow.c     | 2 +-
 src/lib/elm_spinner.c       | 2 +-
 src/lib/elm_toolbar.c       | 2 +-
 src/lib/elm_video.c         | 2 +-
 src/lib/elm_win.c           | 2 +-
 29 files changed, 30 insertions(+), 28 deletions(-)

diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index 274e5cb..f72d62f 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -149,7 +149,7 @@ _elm_ctxpopup_elm_widget_event(Eo *obj, Elm_Ctxpopup_Data 
*sd EINA_UNUSED, Evas_
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index 342c235..0c4002e 100644
--- a/src/lib/elc_fileselector.c
+++ b/src/lib/elc_fileselector.c
@@ -176,7 +176,7 @@ _elm_fileselector_elm_widget_event(Eo *obj, 
Elm_Fileselector_Data *sd EINA_UNUSE
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c
index 0d91ae0..ab7271a 100644
--- a/src/lib/elc_hoversel.c
+++ b/src/lib/elc_hoversel.c
@@ -925,7 +925,7 @@ _elm_hoversel_elm_widget_event(Eo *obj, Elm_Hoversel_Data 
*sd, Evas_Object *src,
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index 0a7998a..a626f6a 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -1511,7 +1511,7 @@ _elm_naviframe_elm_widget_event(Eo *obj, 
Elm_Naviframe_Data *sd EINA_UNUSED, Eva
 
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
-   if (!_elm_config_key_binding_call(obj, ev, key_actions)) return EINA_FALSE;
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions)) 
return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
    return EINA_TRUE;
diff --git a/src/lib/elc_player.c b/src/lib/elc_player.c
index ac4a23f..3e17b40 100644
--- a/src/lib/elc_player.c
+++ b/src/lib/elc_player.c
@@ -165,7 +165,7 @@ _elm_player_elm_widget_event(Eo *obj, Elm_Player_Data *sd, 
Evas_Object *src, Eva
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
    if (!sd->video) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index ead2646..cbc226a 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -1456,7 +1456,7 @@ _elm_popup_elm_widget_event(Eo *obj, Elm_Popup_Data *_pd 
EINA_UNUSED, Evas_Objec
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c
index d96ee42..43fb45b 100644
--- a/src/lib/elm_button.c
+++ b/src/lib/elm_button.c
@@ -177,7 +177,7 @@ _elm_button_elm_widget_event(Eo *obj, Elm_Button_Data *_pd 
EINA_UNUSED, Evas_Obj
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c
index c90dfa0..c1aa2d6 100644
--- a/src/lib/elm_calendar.c
+++ b/src/lib/elm_calendar.c
@@ -983,7 +983,7 @@ _elm_calendar_elm_widget_event(Eo *obj, Elm_Calendar_Data 
*sd EINA_UNUSED, Evas_
 
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_check.c b/src/lib/elm_check.c
index dc761ef..78e7906 100644
--- a/src/lib/elm_check.c
+++ b/src/lib/elm_check.c
@@ -191,7 +191,7 @@ _elm_check_elm_widget_event(Eo *obj, Elm_Check_Data *_pd 
EINA_UNUSED, Evas_Objec
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index f53fb37..a4d2b0d 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -2106,7 +2106,7 @@ _elm_colorselector_elm_widget_event(Eo *obj, 
Elm_Colorselector_Data *sd, Evas_Ob
    if (!sd) return EINA_FALSE;
    if (!sd->selected) sd->selected = sd->items;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index 3c89162..50d9b6e 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -2194,6 +2194,7 @@ _elm_config_modifier_check(const Evas_Modifier *m,
 
 Eina_Bool
 _elm_config_key_binding_call(Evas_Object *obj,
+                             const char *name,
                              const Evas_Event_Key_Down *ev,
                              const Elm_Action *actions)
 {
@@ -2201,7 +2202,7 @@ _elm_config_key_binding_call(Evas_Object *obj,
    Eina_List *binding_list, *l;
    int i = 0;
 
-   binding_list = eina_hash_find(_elm_key_bindings, elm_widget_type_get(obj));
+   binding_list = eina_hash_find(_elm_key_bindings, name);
 
    if (binding_list)
      {
diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c
index 7f38288..f0d5586 100644
--- a/src/lib/elm_diskselector.c
+++ b/src/lib/elm_diskselector.c
@@ -1010,7 +1010,7 @@ _elm_diskselector_elm_widget_event(Eo *obj, 
Elm_Diskselector_Data *sd, Evas_Obje
         return EINA_TRUE;
      }
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_flipselector.c b/src/lib/elm_flipselector.c
index 6bc3f6f..4a4f1b7 100644
--- a/src/lib/elm_flipselector.c
+++ b/src/lib/elm_flipselector.c
@@ -432,7 +432,7 @@ _elm_flipselector_elm_widget_event(Eo *obj EINA_UNUSED, 
Elm_Flipselector_Data *s
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 26d753d..ce90ea5 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -3538,7 +3538,7 @@ _elm_gengrid_elm_widget_event(Eo *obj, Elm_Gengrid_Data 
*sd, Evas_Object *src, E
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
    if (!sd->items) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index e6ff721..a4285d0 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -3071,7 +3071,7 @@ _elm_genlist_elm_widget_event(Eo *obj, Elm_Genlist_Data 
*sd, Evas_Object *src, E
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
    if (!sd->items) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 06996d2..7cb9e1c 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -801,7 +801,7 @@ _elm_image_elm_widget_event(Eo *obj, Elm_Image_Data *_pd 
EINA_UNUSED, Evas_Objec
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index 1e81b74..bf928fc 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -637,7 +637,7 @@ _elm_list_elm_widget_event(Eo *obj, Elm_List_Data *sd, 
Evas_Object *src, Evas_Ca
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
    if (!sd->items) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c
index 0e52102..35e01a9 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -4004,7 +4004,7 @@ _elm_map_elm_widget_event(Eo *obj, Elm_Map_Data *sd 
EINA_UNUSED, Evas_Object *sr
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_panel.c b/src/lib/elm_panel.c
index bea0c3f..a0f8416 100644
--- a/src/lib/elm_panel.c
+++ b/src/lib/elm_panel.c
@@ -903,7 +903,7 @@ _elm_panel_elm_widget_event(Eo *obj, Elm_Panel_Data *_pd 
EINA_UNUSED, Evas_Objec
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
    if (src != obj) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions)) return EINA_FALSE;
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions)) 
return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
    return EINA_TRUE;
diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c
index 2854289..b2bc793 100644
--- a/src/lib/elm_photocam.c
+++ b/src/lib/elm_photocam.c
@@ -1030,7 +1030,7 @@ _elm_photocam_elm_widget_event(Eo *obj, Elm_Photocam_Data 
*_pd EINA_UNUSED, Evas
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_priv.h b/src/lib/elm_priv.h
index 4a89dbc..0c83e73 100644
--- a/src/lib/elm_priv.h
+++ b/src/lib/elm_priv.h
@@ -474,6 +474,7 @@ Eina_Bool            _elm_config_access_get(void);
 void                 _elm_config_access_set(Eina_Bool is_access);
 
 Eina_Bool            _elm_config_key_binding_call(Evas_Object *obj,
+                                                  const char *name,
                                                   const Evas_Event_Key_Down 
*ev,
                                                   const Elm_Action *actions);
 
diff --git a/src/lib/elm_radio.c b/src/lib/elm_radio.c
index a16f16e..4c6f5fa 100644
--- a/src/lib/elm_radio.c
+++ b/src/lib/elm_radio.c
@@ -195,7 +195,7 @@ _elm_radio_elm_widget_event(Eo *obj, Elm_Radio_Data *_pd 
EINA_UNUSED, Evas_Objec
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_scroller.c b/src/lib/elm_scroller.c
index 1b5011c..04c95a0 100644
--- a/src/lib/elm_scroller.c
+++ b/src/lib/elm_scroller.c
@@ -245,7 +245,7 @@ _elm_scroller_elm_widget_event(Eo *obj, Elm_Scroller_Data 
*sd EINA_UNUSED, Evas_
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c
index a0a0645..73d4dcb 100644
--- a/src/lib/elm_slider.c
+++ b/src/lib/elm_slider.c
@@ -422,7 +422,7 @@ _elm_slider_elm_widget_event(Eo *obj, Elm_Slider_Data *sd 
EINA_UNUSED, Evas_Obje
         Evas_Event_Key_Down *ev = event_info;
         if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-        if (!_elm_config_key_binding_call(obj, ev, key_actions))
+        if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
           return EINA_FALSE;
         ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
      }
diff --git a/src/lib/elm_slideshow.c b/src/lib/elm_slideshow.c
index ae8146c..7c20b8f 100644
--- a/src/lib/elm_slideshow.c
+++ b/src/lib/elm_slideshow.c
@@ -81,7 +81,7 @@ _elm_slideshow_elm_widget_event(Eo *obj, Elm_Slideshow_Data 
*sd EINA_UNUSED, Eva
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
index 116b606..893773d 100644
--- a/src/lib/elm_spinner.c
+++ b/src/lib/elm_spinner.c
@@ -621,7 +621,7 @@ _elm_spinner_elm_widget_event(Eo *obj, Elm_Spinner_Data *sd 
EINA_UNUSED, Evas_Ob
         Eina_Bool ret;
 
         if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
-        ret = _elm_config_key_binding_call(obj, ev, key_actions);
+        ret = _elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, 
key_actions);
         if (!ret)
           {
              if (sd->spin_timer) _spin_stop(obj);
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 0d193ed..d5aaa50 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -952,7 +952,7 @@ _elm_toolbar_elm_widget_event(Eo *obj, Elm_Toolbar_Data 
*sd, Evas_Object *src, E
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
    if (!sd->items) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
diff --git a/src/lib/elm_video.c b/src/lib/elm_video.c
index aea83a9..a855938 100644
--- a/src/lib/elm_video.c
+++ b/src/lib/elm_video.c
@@ -129,7 +129,7 @@ _elm_video_elm_widget_event(Eo *obj, Elm_Video_Data *_pd 
EINA_UNUSED, Evas_Objec
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      {
         INF("keyname: '%s' not handled", ev->key);
         return EINA_FALSE;
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index f509f95..58bae93 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1581,7 +1581,7 @@ _elm_win_elm_widget_event(Eo *obj, Elm_Win_Data *_pd 
EINA_UNUSED, Evas_Object *s
    if (elm_widget_disabled_get(obj)) return EINA_FALSE;
    if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
 
-   if (!_elm_config_key_binding_call(obj, ev, key_actions))
+   if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
      return EINA_FALSE;
 
    ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;

-- 


Reply via email to