summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_tab_bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_tab_bar.c')
-rw-r--r--src/lib/elementary/efl_ui_tab_bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_tab_bar.c b/src/lib/elementary/efl_ui_tab_bar.c
index 05e32ca..db7c169 100644
--- a/src/lib/elementary/efl_ui_tab_bar.c
+++ b/src/lib/elementary/efl_ui_tab_bar.c
@@ -39,6 +39,8 @@ _selelction_change_cb(void *data, const Efl_Event *ev)
39{ 39{
40 Efl_Ui_Tab_Bar_Data *pd = efl_data_scope_safe_get(data, MY_CLASS); 40 Efl_Ui_Tab_Bar_Data *pd = efl_data_scope_safe_get(data, MY_CLASS);
41 41
42 EINA_SAFETY_ON_NULL_RETURN(pd);
43
42 if (!efl_ui_selectable_selected_get(ev->object)) 44 if (!efl_ui_selectable_selected_get(ev->object))
43 { 45 {
44 if (pd->selected == ev->object) 46 if (pd->selected == ev->object)