static void
ev_dscwindow_set_page (EvDSCWindow *ev_dscwindow, gint page)
{
- guint n_pages = ev_document_get_n_pages(ev_dscwindow->priv->presentation_document);
if((ev_dscwindow->priv->page == 0) && (page == 1))
ev_presentation_timer_start (EV_PRESENTATION_TIMER (ev_dscwindow->priv->timer));
if(ev_dscwindow->priv->page != page) {
g_object_unref (priv->timer);
priv->timer = NULL;
}*/
- ev_presentation_timer_stop(priv->timer);
+ ev_presentation_timer_stop(EV_PRESENTATION_TIMER (priv->timer));
ev_window_stop_presentation (EV_WINDOW(priv->presentation_window), TRUE);
G_OBJECT_CLASS (ev_dscwindow_parent_class)->dispose (obj);
}