]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-presentation-timer.c
cleanup...
[evince.git] / shell / ev-presentation-timer.c
index 0ab7018da7e9eba43bcece6a970a538317fd2b7a..c17a52e9064a0fc04d28888c8f6e872a1ca82570 100644 (file)
@@ -144,8 +144,8 @@ ev_presentation_timer_stop (EvPresentationTimer *ev_timer)
 {
        if (!EV_IS_PRESENTATION_TIMER (ev_timer))
                return;
-       if (priv->timeout > 0)
-               g_source_remove (priv->timeout);
+       if (ev_timer->priv->timeout > 0)
+               g_source_remove (ev_timer->priv->timeout);
        ev_timer->priv->remaining = 0;
 }