Show
Ignore:
Timestamp:
09/02/06 23:16:15 (6 years ago)
Author:
ath
Message:

End-of-file and misc fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • fm_server/trunk/src/fm_effect.c

    r58 r109  
    4646static void fm_effect_class_init        (FmEffectClass  *class); 
    4747static void fm_effect_init              (FmEffect       *effect); 
    48 static void fm_effect_set_property      (GObject        *object, 
    49                                          guint          prop_id, 
    50                                          const GValue   *value, 
    51                                          GParamSpec     *pspec); 
    52 static void fm_effect_get_property      (GObject        *object, 
    53                                          guint          prop_id, 
    54                                          GValue         *value, 
    55                                          GParamSpec     *pspec); 
    5648 
    5749static FmElementClass *parent_class = NULL; 
     
    9486fm_effect_class_init                    (FmEffectClass *class) 
    9587{ 
    96         GObjectClass *gobject_class = G_OBJECT_CLASS (class); 
     88        //GObjectClass *gobject_class = G_OBJECT_CLASS (class); 
    9789        //FmElementClass *element_class = FM_ELEMENT_CLASS (class); 
    9890        //FmEffectClass *effect_class; 
     
    10092        parent_class = g_type_class_peek_parent (class); 
    10193 
    102         gobject_class->set_property = fm_effect_set_property; 
    103         gobject_class->get_property = fm_effect_get_property; 
    104  
    10594        /*element_class->get_buffer = fm_effect_get_buffer; 
    10695        element_class->start = fm_effect_start;*/ 
    107          
    108         g_object_class_install_property (gobject_class, 
    109                                          PROP_FILENAME, 
    110                                          g_param_spec_string ("filename", 
    111                                          _("Filename"), 
    112                                          _("The name of the file to play"), 
    113                                          NULL, 
    114                                          G_PARAM_READWRITE)); 
    115  
    116  
    11796} 
    11897 
     
    136115        sink_port->peer = NULL; 
    137116        element->sink_ports = g_list_append (element->sink_ports, sink_port); 
    138 } 
    139  
    140  
    141 static void 
    142 fm_effect_set_property                  (GObject        *object, 
    143                                          guint          prop_id, 
    144                                          const GValue   *value, 
    145                                          GParamSpec     *pspec) 
    146 { 
    147 //      FmEffect *effect = FM_EFFECT (object); 
    148  
    149         switch (prop_id) { 
    150                 case PROP_FILENAME: 
    151                         break; 
    152                 default: 
    153                         G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); 
    154                         break; 
    155         } 
    156 } 
    157  
    158  
    159 static void 
    160 fm_effect_get_property                  (GObject        *object, 
    161                                          guint          prop_id, 
    162                                          GValue         *value, 
    163                                          GParamSpec     *pspec) 
    164 { 
    165 //      FmEffect *effect = FM_EFFECT (object); 
    166  
    167         switch (prop_id) { 
    168                 case PROP_FILENAME: 
    169                         break; 
    170                 default: 
    171                         G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); 
    172                         break; 
    173         } 
    174117} 
    175118