summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 00:52:05 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 00:52:05 +0000
commit75536522302857152f746243016f76b7e6f98d68 (patch)
tree18bda485a7f2194caab769e482c859fb2adf283d
parentd50b73d22eb1d779685bbebe445e60eea7df8691 (diff)
elm calendar_example_06.c: Fixed tm structure initialization. By the
way, is this correct? I had build warnings before. menu_example_01.c: In function ‘_del_it’: menu_example_01.c:17:6: warning: assignment discards qualifiers from pointer target type SVN revision: 69681
-rw-r--r--legacy/elementary/src/examples/calendar_example_06.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/src/examples/calendar_example_06.c b/legacy/elementary/src/examples/calendar_example_06.c
index 1cd5a855b0..dce81d44ad 100644
--- a/legacy/elementary/src/examples/calendar_example_06.c
+++ b/legacy/elementary/src/examples/calendar_example_06.c
@@ -32,7 +32,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
32 Elm_Calendar_Mark *mark; 32 Elm_Calendar_Mark *mark;
33 struct tm selected_time; 33 struct tm selected_time;
34 time_t current_time; 34 time_t current_time;
35 struct tm sunday = {0, 0, 12, 7, 0, 0, 0, 0, -1 }; 35 struct tm sunday = { 0, 0, 12, 7, 0, 0, 0, 0, -1, 0, NULL };
36 /* tm {sec, min, hour, mday, mon, year, wday, yday, isdst } */ 36 /* tm {sec, min, hour, mday, mon, year, wday, yday, isdst } */
37 /* weekdays since Sunday, range 0 to 6 */ 37 /* weekdays since Sunday, range 0 to 6 */
38 struct tm christmas; 38 struct tm christmas;