diff -r 7174e23f7617 -r edaab488eaeb maemo-ui/src/mmyth_epg_grid_view.c --- a/maemo-ui/src/mmyth_epg_grid_view.c Thu Sep 28 16:02:14 2006 +0100 +++ b/maemo-ui/src/mmyth_epg_grid_view.c Tue Mar 27 16:10:35 2007 +0100 @@ -78,8 +78,8 @@ // Convert it to local time representation. /* FIXME: conversion from time to localtime is different in different machines */ - long int schedule_start_time = proginfo->startts; - long int schedule_end_time = proginfo->endts; + long int schedule_start_time = proginfo->startts->tv_sec; + long int schedule_end_time = proginfo->endts->tv_sec; if (localtime_r(&schedule_start_time, &loctime_start) == NULL) { g_warning ("localtime_r error in mmyth_epg_grid_view!\n");