# HG changeset patch
# User melunko
# Date 1174936782 -3600
# Node ID 12308ae2d90704b73d6305dcc7c4f5be2cf1d0bb
# Parent  b0ce3c9fe7c5f372ca32f7466f714c3f55813b39
[svn r456] epg interface changed again to GList instead of GSList. It is too complicated to change gmyth api at the moment. Other applications already are using it

diff -r b0ce3c9fe7c5 -r 12308ae2d907 gmyth/src/gmyth_common.c
--- a/gmyth/src/gmyth_common.c	Mon Mar 26 19:42:41 2007 +0100
+++ b/gmyth/src/gmyth_common.c	Mon Mar 26 20:19:42 2007 +0100
@@ -45,12 +45,12 @@
  * @param list the GList containing a list of GMythChannelInfo to free.
  */
 void 
-gmyth_free_channel_list (GSList *list) 
+gmyth_free_channel_list (GList *list) 
 {
     g_return_if_fail (list != NULL);
 	
-    g_slist_foreach (list, free_channel_data, NULL);
-    g_slist_free (list);
+    g_list_foreach (list, free_channel_data, NULL);
+    g_list_free (list);
 }
 
 /** 
@@ -61,12 +61,12 @@
  * @param list the GList containing a list of GMythProgramInfo to free.
  */
 void
-gmyth_free_program_list(GSList *list)
+gmyth_free_program_list(GList *list)
 {
     g_return_if_fail (list != NULL);
 	
-    g_slist_foreach (list, free_program_data, NULL);
-    g_slist_free (list);
+    g_list_foreach (list, free_program_data, NULL);
+    g_list_free (list);
 }
 
 #ifdef GMYTH_USE_DEBUG
diff -r b0ce3c9fe7c5 -r 12308ae2d907 gmyth/src/gmyth_common.h
--- a/gmyth/src/gmyth_common.h	Mon Mar 26 19:42:41 2007 +0100
+++ b/gmyth/src/gmyth_common.h	Mon Mar 26 20:19:42 2007 +0100
@@ -51,8 +51,8 @@
 
 } GMythChannelInfo;
 
-void gmyth_free_channel_list(GSList *list);
-void gmyth_free_program_list(GSList *list);
+void gmyth_free_channel_list(GList *list);
+void gmyth_free_program_list(GList *list);
 
 #ifdef GMYTH_USE_DEBUG
 void gmyth_channel_info_print (GMythChannelInfo *channel_info);