maemo-ui/src/mmyth_epg_grid_view.c
branchtrunk
changeset 500 f92a59c9a9a5
parent 20 7174e23f7617
child 754 cb885ee44618
     1.1 --- a/maemo-ui/src/mmyth_epg_grid_view.c	Thu Sep 28 16:02:14 2006 +0100
     1.2 +++ b/maemo-ui/src/mmyth_epg_grid_view.c	Wed Apr 04 21:36:07 2007 +0100
     1.3 @@ -78,8 +78,8 @@
     1.4          // Convert it to local time representation. 
     1.5          /* FIXME: conversion from time to localtime is different
     1.6          in different machines */
     1.7 -        long int schedule_start_time = proginfo->startts;
     1.8 -        long int schedule_end_time   = proginfo->endts;
     1.9 +        long int schedule_start_time = proginfo->startts->tv_sec;
    1.10 +        long int schedule_end_time   = proginfo->endts->tv_sec;
    1.11      
    1.12          if (localtime_r(&schedule_start_time, &loctime_start) == NULL) {
    1.13              g_warning ("localtime_r error in mmyth_epg_grid_view!\n");