summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-10 12:19:53 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-10 12:20:27 +0900
commit247d25aa99b6dd461ce82f61fa8345f86c157b0f (patch)
tree027f6789d01f0a1b412b74121af7f481cd03e25b /src
parent41062cb15d2fecf57d3e649eabdb373f909ca53c (diff)
cxx: Fix example for GCC
clang has no problem, but GCC complains with "support not implemented" Discovered with distcheck
Diffstat (limited to 'src')
-rw-r--r--src/examples/elementary/clock_cxx_example.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/examples/elementary/clock_cxx_example.cc b/src/examples/elementary/clock_cxx_example.cc
index a290c08267..7e30937c2c 100644
--- a/src/examples/elementary/clock_cxx_example.cc
+++ b/src/examples/elementary/clock_cxx_example.cc
@@ -21,9 +21,14 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
21 ck2.format_set("%I:%M %p"); 21 ck2.format_set("%I:%M %p");
22 bx.pack_end(ck2); 22 bx.pack_end(ck2);
23 23
24 Efl_Time time;
25 time.tm_hour = 12;
26 time.tm_min = 42;
27 time.tm_sec = 59;
28
24 efl::ui::Clock ck3(instantiate, win); 29 efl::ui::Clock ck3(instantiate, win);
25 ck2.format_set("%H:%M:%S"); 30 ck2.format_set("%H:%M:%S");
26 ck3.time_set(Efl_Time({.tm_hour = 12, .tm_min = 42, .tm_sec = 59})); 31 ck3.time_set(time);
27 bx.pack_end(ck3); 32 bx.pack_end(ck3);
28 33
29 efl::ui::Clock ck5(instantiate, win); 34 efl::ui::Clock ck5(instantiate, win);