summaryrefslogtreecommitdiff
path: root/src/lib/elm_toolbar.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-12-21 12:55:23 +0000
committerTom Hacohen <tom@stosb.com>2015-12-21 12:57:15 +0000
commit29e015ee251b58566b03b99cb1af0168c5f70fc0 (patch)
tree653c3076fc0c5b4154fb9062e96725cd25b52582 /src/lib/elm_toolbar.c
parenta392f2f4bc0d80973b1eed68f61e0c7faf2c5d24 (diff)
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
Diffstat (limited to 'src/lib/elm_toolbar.c')
-rw-r--r--src/lib/elm_toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 0d193edf9..d5aaa5020 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
952 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE; 952 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
953 if (!sd->items) return EINA_FALSE; 953 if (!sd->items) return EINA_FALSE;
954 954
955 if (!_elm_config_key_binding_call(obj, ev, key_actions)) 955 if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
956 return EINA_FALSE; 956 return EINA_FALSE;
957 957
958 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 958 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;