diff -r 7174e23f7617 -r fb8c04a619ad 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 Fri Jan 26 19:10:25 2007 +0000 @@ -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");