diff -r c3c073032757 -r dcf6bffe29a1 maemo-ui/src/mmyth_ui.c --- a/maemo-ui/src/mmyth_ui.c Wed Dec 06 20:22:48 2006 +0000 +++ b/maemo-ui/src/mmyth_ui.c Wed Jan 10 17:18:36 2007 +0000 @@ -495,10 +495,10 @@ if (!(mmyth_ui->schedule_uicommon)) mmyth_ui->schedule_uicommon = create_schedule_view(mmyth_ui); - schedule_list = g_list_nth(schedule_list, atoi(gtk_tree_path_to_string(path))); + schedule_list = g_list_nth(schedule_list, g_ascii_strtoull( gtk_tree_path_to_string(path), NULL, 10 )); schedule_info = (ScheduleInfo*) schedule_list->data; - printf("\nstarttime: %ld", schedule_info->start_time); fflush(stdout); + printf("\nstarttime: %ld", schedule_info->start_time->tv_sec); fflush(stdout); } static MMythUiCommon * @@ -509,7 +509,7 @@ g_debug ("Creating Schedule UI Common"); - mmyth_ui->mmyth_schedulerui = mmyth_schedulerui_new (); + mmyth_ui->mmyth_schedulerui = mmyth_schedulerui_new ( mmyth_ui->backend_info ); if (mmyth_ui->mmyth_schedulerui == NULL) { g_warning ("[%s] Error while creating scheduler ui", __FUNCTION__); return NULL; @@ -700,7 +700,7 @@ g_debug ("Creating Record UI Common"); - mmyth_ui->mmyth_recordui = mmyth_recordui_new (); + mmyth_ui->mmyth_recordui = mmyth_recordui_new ( mmyth_ui->backend_info ); // FIXME: Change MMythRecordUI to a GtkWidget child and avoid this call! gtk_widget_show_all (mmyth_ui->mmyth_recordui->scrolled_window);