tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e7ed0bfcedcea87f8645107a8a0775f67227d7c1

commit e7ed0bfcedcea87f8645107a8a0775f67227d7c1
Author: Tom Hacohen <t...@stosb.com>
Date:   Tue May 19 10:30:11 2015 +0100

    Ecore audio: Remove redundant constructor/destructor.
    
    There's no need to have a constructor/destructor that just
    do the super call.
---
 src/lib/ecore_audio/ecore_audio_in_sndfile.eo        |  1 -
 src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c     |  7 -------
 src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c | 12 ------------
 src/lib/ecore_audio/ecore_audio_out_core_audio.eo    |  2 --
 4 files changed, 22 deletions(-)

diff --git a/src/lib/ecore_audio/ecore_audio_in_sndfile.eo 
b/src/lib/ecore_audio/ecore_audio_in_sndfile.eo
index 8973475..170b385 100644
--- a/src/lib/ecore_audio/ecore_audio_in_sndfile.eo
+++ b/src/lib/ecore_audio/ecore_audio_in_sndfile.eo
@@ -2,7 +2,6 @@ class Ecore_Audio_In_Sndfile (Ecore_Audio_In)
 {
    eo_prefix: ecore_audio_obj_in_sndfile;
    implements {
-      Eo.Base.constructor;
       Eo.Base.destructor;
       Ecore_Audio.source.set;
       Ecore_Audio.source.get;
diff --git a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c 
b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
index f6c725e..599ae27 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
@@ -195,13 +195,6 @@ _ecore_audio_in_sndfile_ecore_audio_vio_set(Eo *eo_obj, 
Ecore_Audio_In_Sndfile_D
 }
 
 EOLIAN static void
-_ecore_audio_in_sndfile_eo_base_constructor(Eo *eo_obj, 
Ecore_Audio_In_Sndfile_Data *_pd EINA_UNUSED)
-{
-  eo_do_super(eo_obj, MY_CLASS, eo_constructor());
-
-}
-
-EOLIAN static void
 _ecore_audio_in_sndfile_eo_base_destructor(Eo *eo_obj, 
Ecore_Audio_In_Sndfile_Data *obj)
 {
   Ecore_Audio_Object *ea_obj = eo_data_scope_get(eo_obj, ECORE_AUDIO_CLASS);
diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c 
b/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
index d358ec0..7370f18 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
@@ -216,18 +216,6 @@ _audio_io_proc_cb(AudioObjectID          obj_id         
EINA_UNUSED,
  
*============================================================================*/
 
 EOLIAN static void
-_ecore_audio_out_core_audio_eo_base_constructor(Eo *obj, 
Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED)
-{
-   eo_do_super(obj, MY_CLASS, eo_constructor());
-}
-
-EOLIAN static void
-_ecore_audio_out_core_audio_eo_base_destructor(Eo *obj, 
Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED)
-{
-   eo_do_super(obj, MY_CLASS, eo_destructor());
-}
-
-EOLIAN static void
 _ecore_audio_out_core_audio_ecore_audio_volume_set(Eo *obj, 
Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED, double volume)
 {
    // TODO Change volume of playing inputs
diff --git a/src/lib/ecore_audio/ecore_audio_out_core_audio.eo 
b/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
index 13edb4b..bbb7362 100644
--- a/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
+++ b/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
@@ -2,8 +2,6 @@ class Ecore_Audio_Out_Core_Audio (Ecore_Audio_Out)
 {
    eo_prefix: ecore_audio_obj_out_core_audio;
    implements {
-      Eo.Base.constructor;
-      Eo.Base.destructor;
       Ecore_Audio.volume.set;
       Ecore_Audio_Out.input_attach;
       Ecore_Audio_Out.input_detach;

-- 


Reply via email to