summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/efl_ui_layout.c1
-rw-r--r--src/lib/elementary/efl_ui_radio_group_impl.c2
-rw-r--r--src/lib/elementary/efl_ui_tab_bar.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index 5cd990e..ed730a9 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -1803,6 +1803,7 @@ _elm_layout_efl_canvas_group_change(Eo *obj, Elm_Layout_Data *ld)
1803 1803
1804 if (!efl_finalized_get(obj)) return; 1804 if (!efl_finalized_get(obj)) return;
1805 sd = efl_data_scope_safe_get(obj, EFL_UI_LAYOUT_BASE_CLASS); 1805 sd = efl_data_scope_safe_get(obj, EFL_UI_LAYOUT_BASE_CLASS);
1806 EINA_SAFETY_ON_NULL_RETURN(sd);
1806 if (sd->frozen) return; 1807 if (sd->frozen) return;
1807 ld->needs_size_calc = EINA_TRUE; 1808 ld->needs_size_calc = EINA_TRUE;
1808 efl_canvas_group_change(efl_super(obj, ELM_LAYOUT_MIXIN)); 1809 efl_canvas_group_change(efl_super(obj, ELM_LAYOUT_MIXIN));
diff --git a/src/lib/elementary/efl_ui_radio_group_impl.c b/src/lib/elementary/efl_ui_radio_group_impl.c
index 622924b..6c20f96 100644
--- a/src/lib/elementary/efl_ui_radio_group_impl.c
+++ b/src/lib/elementary/efl_ui_radio_group_impl.c
@@ -65,6 +65,8 @@ static void
65_selected_cb(void *data, const Efl_Event *ev) 65_selected_cb(void *data, const Efl_Event *ev)
66{ 66{
67 Efl_Ui_Radio_Group_Impl_Data *pd = efl_data_scope_safe_get(data, EFL_UI_RADIO_GROUP_IMPL_CLASS); 67 Efl_Ui_Radio_Group_Impl_Data *pd = efl_data_scope_safe_get(data, EFL_UI_RADIO_GROUP_IMPL_CLASS);
68 EINA_SAFETY_ON_NULL_RETURN(pd);
69
68 if (efl_ui_selectable_selected_get(ev->object)) 70 if (efl_ui_selectable_selected_get(ev->object))
69 { 71 {
70 if (pd->selected) 72 if (pd->selected)
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)