[svn r220] Adjusts some functions to use the GTimeVal.
1.1 --- a/gmyth/src/gmyth_common.c Wed Dec 13 16:09:47 2006 +0000
1.2 +++ b/gmyth/src/gmyth_common.c Wed Dec 13 23:42:28 2006 +0000
1.3 @@ -31,6 +31,7 @@
1.4
1.5 #include "gmyth_common.h"
1.6 #include "gmyth_debug.h"
1.7 +#include "gmyth_util.h"
1.8
1.9 static void free_channel_data(gpointer data, gpointer user_data);
1.10 static void free_program_data(gpointer data, gpointer user_data);
2.1 --- a/gmyth/src/gmyth_epg.c Wed Dec 13 16:09:47 2006 +0000
2.2 +++ b/gmyth/src/gmyth_epg.c Wed Dec 13 23:42:28 2006 +0000
2.3 @@ -187,7 +187,7 @@
2.4 */
2.5 gint
2.6 gmyth_epg_get_program_list (GMythEPG *gmyth_epg, GList **proglist,
2.7 - const gint chan_num, time_t starttime, time_t endtime)
2.8 + const gint chan_num, GTimeVal *starttime, GTimeVal *endtime)
2.9 {
2.10 gchar *startts = gmyth_util_time_to_string_from_time_val(starttime);
2.11 gchar *endts = gmyth_util_time_to_string_from_time_val(endtime);
3.1 --- a/gmyth/src/gmyth_epg.h Wed Dec 13 16:09:47 2006 +0000
3.2 +++ b/gmyth/src/gmyth_epg.h Wed Dec 13 23:42:28 2006 +0000
3.3 @@ -70,6 +70,6 @@
3.4
3.5 gint gmyth_epg_get_channel_list (GMythEPG *gmyth_epg, GList **glist_ptr);
3.6 gint gmyth_epg_get_program_list (GMythEPG *gmyth_epg, GList **proglist,
3.7 - const gint chanNum, time_t starttime, time_t endtime);
3.8 + const gint chanNum, GTimeVal *starttime, GTimeVal *endtime);
3.9
3.10 #endif /*GMYTH_EPG_H_*/