X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=blobdiff_plain;f=shell%2Fev-dualscreen.c;fp=shell%2Fev-dualscreen.c;h=a00338f2f12e8832e0f11d21ca87ccd09d1de04e;hp=0fa9782179e591efeba0be1756013fa49c6e79be;hb=3653856f03c6a5fefc3b6ea67bd789650b5bfa1e;hpb=156da1afa7b81a00d6308bbf519db965db01fcf2 diff --git a/shell/ev-dualscreen.c b/shell/ev-dualscreen.c index 0fa97821..a00338f2 100644 --- a/shell/ev-dualscreen.c +++ b/shell/ev-dualscreen.c @@ -107,7 +107,6 @@ ev_dscwindow_sidebar_visibility_cb (GtkWidget *sidebar) 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) { @@ -379,7 +378,7 @@ ev_dscwindow_dispose (GObject *obj) 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); }