summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael BOUCHAUD <michael.bouchaud@gmail.com>2012-04-19 22:47:53 +0000
committerMichael BOUCHAUD <michael.bouchaud@gmail.com>2012-04-19 22:47:53 +0000
commit6d19c2318c3d5d20c8ae3ab9d62c0198158b2459 (patch)
treee31fa54d70eb5e4a8ff8d91c1559d11aa8b7b898 /src
parent74cf4448189cf3e954c59cfe65301bf207650dff (diff)
elementary: warn--
SVN revision: 70341
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_calendar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c
index f90d8fe0e..4f0473e9a 100644
--- a/src/lib/elm_calendar.c
+++ b/src/lib/elm_calendar.c
@@ -1006,8 +1006,7 @@ elm_calendar_select_mode_set(Evas_Object *obj, Elm_Calendar_Select_Mode mode)
1006 ELM_CHECK_WIDTYPE(obj, widtype); 1006 ELM_CHECK_WIDTYPE(obj, widtype);
1007 Widget_Data *wd = elm_widget_data_get(obj); 1007 Widget_Data *wd = elm_widget_data_get(obj);
1008 if (!wd) return; 1008 if (!wd) return;
1009 if ((mode >= ELM_CALENDAR_SELECT_MODE_DEFAULT) 1009 if ((mode <= ELM_CALENDAR_SELECT_MODE_ONDEMAND)
1010 && (mode <= ELM_CALENDAR_SELECT_MODE_ONDEMAND)
1011 && (wd->select_mode != mode)) 1010 && (wd->select_mode != mode))
1012 { 1011 {
1013 wd->select_mode = mode; 1012 wd->select_mode = mode;