# HG changeset patch # User rosfran # Date 1166053348 0 # Node ID 5f798037032572de712769fec5d4c5673b2159d5 # Parent 3d84c617096032ae4c01565c5f8894936048d465 [svn r220] Adjusts some functions to use the GTimeVal. diff -r 3d84c6170960 -r 5f7980370325 gmyth/src/gmyth_common.c --- a/gmyth/src/gmyth_common.c Wed Dec 13 16:09:47 2006 +0000 +++ b/gmyth/src/gmyth_common.c Wed Dec 13 23:42:28 2006 +0000 @@ -31,6 +31,7 @@ #include "gmyth_common.h" #include "gmyth_debug.h" +#include "gmyth_util.h" static void free_channel_data(gpointer data, gpointer user_data); static void free_program_data(gpointer data, gpointer user_data); diff -r 3d84c6170960 -r 5f7980370325 gmyth/src/gmyth_epg.c --- a/gmyth/src/gmyth_epg.c Wed Dec 13 16:09:47 2006 +0000 +++ b/gmyth/src/gmyth_epg.c Wed Dec 13 23:42:28 2006 +0000 @@ -187,7 +187,7 @@ */ gint gmyth_epg_get_program_list (GMythEPG *gmyth_epg, GList **proglist, - const gint chan_num, time_t starttime, time_t endtime) + const gint chan_num, GTimeVal *starttime, GTimeVal *endtime) { gchar *startts = gmyth_util_time_to_string_from_time_val(starttime); gchar *endts = gmyth_util_time_to_string_from_time_val(endtime); diff -r 3d84c6170960 -r 5f7980370325 gmyth/src/gmyth_epg.h --- a/gmyth/src/gmyth_epg.h Wed Dec 13 16:09:47 2006 +0000 +++ b/gmyth/src/gmyth_epg.h Wed Dec 13 23:42:28 2006 +0000 @@ -70,6 +70,6 @@ gint gmyth_epg_get_channel_list (GMythEPG *gmyth_epg, GList **glist_ptr); gint gmyth_epg_get_program_list (GMythEPG *gmyth_epg, GList **proglist, - const gint chanNum, time_t starttime, time_t endtime); + const gint chanNum, GTimeVal *starttime, GTimeVal *endtime); #endif /*GMYTH_EPG_H_*/