[svn r455] 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
1.1 --- a/gmyth/src/gmyth_epg.c Mon Mar 26 16:07:21 2007 +0100
1.2 +++ b/gmyth/src/gmyth_epg.c Mon Mar 26 19:42:41 2007 +0100
1.3 @@ -146,7 +146,7 @@
1.4 * @return The amount of channels retrieved from database, or -1 if error.
1.5 */
1.6 gint
1.7 -gmyth_epg_get_channel_list (GMythEPG *gmyth_epg, GSList **glist_ptr)
1.8 +gmyth_epg_get_channel_list (GMythEPG *gmyth_epg, GList **glist_ptr)
1.9 {
1.10 MYSQL_RES *msql_res;
1.11
1.12 @@ -173,12 +173,12 @@
1.13 #ifdef GMYTH_USE_DEBUG
1.14 gmyth_channel_info_print(channel_info);
1.15 #endif
1.16 - (*glist_ptr) = g_slist_append ((*glist_ptr), channel_info);
1.17 + (*glist_ptr) = g_list_append ((*glist_ptr), channel_info);
1.18 }
1.19 }
1.20 mysql_free_result (msql_res);
1.21
1.22 - return (!(*glist_ptr)) ? 0 : g_slist_length (*glist_ptr);
1.23 + return (!(*glist_ptr)) ? 0 : g_list_length (*glist_ptr);
1.24 }
1.25
1.26 /**
1.27 @@ -192,7 +192,7 @@
1.28 * @return The amount of channels retrieved from database, or -1 if error.
1.29 */
1.30 gint
1.31 -gmyth_epg_get_program_list (GMythEPG *gmyth_epg, GSList **proglist,
1.32 +gmyth_epg_get_program_list (GMythEPG *gmyth_epg, GList **proglist,
1.33 const gint chan_num, GTimeVal *starttime, GTimeVal *endtime)
1.34 {
1.35
1.36 @@ -290,7 +290,7 @@
1.37
1.38 p->catType = g_string_new (row[18]);
1.39
1.40 - *proglist = g_slist_append((*proglist), p);
1.41 + *proglist = g_list_append((*proglist), p);
1.42
1.43 #ifdef GMYTH_USE_DEBUG
1.44 gmyth_program_info_print (p);
2.1 --- a/gmyth/src/gmyth_epg.h Mon Mar 26 16:07:21 2007 +0100
2.2 +++ b/gmyth/src/gmyth_epg.h Mon Mar 26 19:42:41 2007 +0100
2.3 @@ -68,8 +68,8 @@
2.4 gboolean gmyth_epg_connect (GMythEPG *gmyth_epg, GMythBackendInfo *backend_info);
2.5 gboolean gmyth_epg_disconnect (GMythEPG *gmyth_epg);
2.6
2.7 -gint gmyth_epg_get_channel_list (GMythEPG *gmyth_epg, GSList **glist_ptr);
2.8 -gint gmyth_epg_get_program_list (GMythEPG *gmyth_epg, GSList **proglist,
2.9 +gint gmyth_epg_get_channel_list (GMythEPG *gmyth_epg, GList **glist_ptr);
2.10 +gint gmyth_epg_get_program_list (GMythEPG *gmyth_epg, GList **proglist,
2.11 const gint chanNum, GTimeVal *starttime, GTimeVal *endtime);
2.12
2.13 #endif /*GMYTH_EPG_H_*/
3.1 --- a/gmyth/src/gmyth_transcoder.c Mon Mar 26 16:07:21 2007 +0100
3.2 +++ b/gmyth/src/gmyth_transcoder.c Mon Mar 26 19:42:41 2007 +0100
3.3 @@ -150,7 +150,6 @@
3.4 }
3.5
3.6 /**
3.7 - *
3.8 * gmyth_transcoder_set_output
3.9 * @brief set transcoder to use output
3.10 * @param value gboolean
3.11 @@ -167,7 +166,6 @@
3.12 }
3.13
3.14 /**
3.15 - *
3.16 * gmyth_transcoder_set_file
3.17 * @brief set the file to transcoder
3.18 * @param file filename