summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-28 17:47:33 +0100
committerTom Hacohen <tom@stosb.com>2015-05-28 17:47:59 +0100
commit52d998f475afd1a8cb18e5990aafd7f1c2b5c41e (patch)
treea392364afb9663810e94776ebde6dc99a52cf2f2 /src/examples
parentd0b58aab54131eb71be6d3289fd11a78b8c9adf5 (diff)
Eo base: Remove the free_func parameter from key_data_set.
This was not really useful and against the Eolian guidelines. While I promised I won't break things until the 27th, I was ill (still am), so I'm giving myself a 1 day pass. :P
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore/ecore_audio_playback.c2
-rw-r--r--src/examples/eo/evas/evas_evas_obj.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/ecore/ecore_audio_playback.c b/src/examples/ecore/ecore_audio_playback.c
index efd3036aa2..78c98a366a 100644
--- a/src/examples/ecore/ecore_audio_playback.c
+++ b/src/examples/ecore/ecore_audio_playback.c
@@ -266,7 +266,7 @@ main(int argc, const char *argv[])
266 { 266 {
267 if (!strncmp(val, "freq=", 5)) { 267 if (!strncmp(val, "freq=", 5)) {
268 freq = atoi(&val[5]); 268 freq = atoi(&val[5]);
269 eo_do(in, eo_key_data_set(ECORE_AUDIO_ATTR_TONE_FREQ, &freq, NULL)); 269 eo_do(in, eo_key_data_set(ECORE_AUDIO_ATTR_TONE_FREQ, &freq));
270 } else if (!strncmp(val, "duration=", 9)) { 270 } else if (!strncmp(val, "duration=", 9)) {
271 eo_do(in, ecore_audio_obj_in_length_set(atof(&val[9]))); 271 eo_do(in, ecore_audio_obj_in_length_set(atof(&val[9])));
272 } 272 }
diff --git a/src/examples/eo/evas/evas_evas_obj.h b/src/examples/eo/evas/evas_evas_obj.h
index cda796023d..61cf7201ef 100644
--- a/src/examples/eo/evas/evas_evas_obj.h
+++ b/src/examples/eo/evas/evas_evas_obj.h
@@ -84,7 +84,7 @@ eo_evas_object_get(const Eo *obj)
84static inline void 84static inline void
85eo_evas_object_set(Eo *obj, Evas_Object *evas_obj) 85eo_evas_object_set(Eo *obj, Evas_Object *evas_obj)
86{ 86{
87 eo_do(obj, eo_key_data_set(EXEVAS_OBJ_STR, evas_obj, NULL)); 87 eo_do(obj, eo_key_data_set(EXEVAS_OBJ_STR, evas_obj));
88} 88}
89 89
90#endif 90#endif