[svn r495] Some more code clean-ups. trunk
authorrosfran
Tue Apr 03 20:12:01 2007 +0100 (2007-04-03)
branchtrunk
changeset 490b15d16fb4039
parent 489 1f143a0376aa
child 491 caee9846e779
[svn r495] Some more code clean-ups.
gmyth/src/gmyth_livetv.c
gmyth/src/gmyth_recorder.c
gmyth/src/gmyth_util.c
     1.1 --- a/gmyth/src/gmyth_livetv.c	Tue Apr 03 19:48:52 2007 +0100
     1.2 +++ b/gmyth/src/gmyth_livetv.c	Tue Apr 03 20:12:01 2007 +0100
     1.3 @@ -103,7 +103,7 @@
     1.4  	}
     1.5  	
     1.6  	if ( livetv->recorder != NULL ) {
     1.7 -        gmyth_recorder_close(livetv->recorder);
     1.8 +        //gmyth_recorder_close(livetv->recorder);
     1.9  		g_object_unref (livetv->recorder);
    1.10  		livetv->recorder = NULL;
    1.11  	}
     2.1 --- a/gmyth/src/gmyth_recorder.c	Tue Apr 03 19:48:52 2007 +0100
     2.2 +++ b/gmyth/src/gmyth_recorder.c	Tue Apr 03 20:12:01 2007 +0100
     2.3 @@ -72,7 +72,7 @@
     2.4  {
     2.5      GMythRecorder *recorder=  GMYTH_RECORDER(object);
     2.6  
     2.7 -    /* gmyth_recorder_close(recorder); */
     2.8 +    gmyth_recorder_close(recorder);
     2.9  
    2.10      if ( recorder->mutex != NULL) {
    2.11          g_mutex_free(recorder->mutex);
     3.1 --- a/gmyth/src/gmyth_util.c	Tue Apr 03 19:48:52 2007 +0100
     3.2 +++ b/gmyth/src/gmyth_util.c	Tue Apr 03 20:12:01 2007 +0100
     3.3 @@ -592,6 +592,7 @@
     3.4      
     3.5      gmyth_debug( "Got %d channels!!!", g_list_length( channel_list ) );
     3.6      
     3.7 +    
     3.8      g_object_unref (recorder);
     3.9      
    3.10      return channel_list;