summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-11-14 11:22:39 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-11-14 11:22:39 -0800
commit9f5c37cda744328f53b301572d0ea2b3842b2f39 (patch)
treeea41d129e62dde0fb5e9cd02729c46cbe8d84d8e /src
parent93b509d66450418e66cf36ca06add65100f3afb2 (diff)
efl_ui_clock: fix use when no module is present.
T4875
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_clock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_clock.c b/src/lib/elementary/efl_ui_clock.c
index 6c2d86469d..7a61acdf14 100644
--- a/src/lib/elementary/efl_ui_clock.c
+++ b/src/lib/elementary/efl_ui_clock.c
@@ -847,7 +847,8 @@ _ticker(void *data)
847 if (sd->curr_time.tm_sec > 0) 847 if (sd->curr_time.tm_sec > 0)
848 { 848 {
849 field = sd->field_list + EFL_UI_CLOCK_TYPE_SECOND; 849 field = sd->field_list + EFL_UI_CLOCK_TYPE_SECOND;
850 if (field->fmt_exist && field->visible) 850 if (field->fmt_exist && field->visible &&
851 dt_mod && dt_mod->field_value_display)
851 dt_mod->field_value_display(sd->mod_data, field->item_obj); 852 dt_mod->field_value_display(sd->mod_data, field->item_obj);
852 } 853 }
853 else 854 else