X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=blobdiff_plain;f=shell%2Fev-presentation-timer.c;fp=shell%2Fev-presentation-timer.c;h=c17a52e9064a0fc04d28888c8f6e872a1ca82570;hp=0ab7018da7e9eba43bcece6a970a538317fd2b7a;hb=dc2eb61c8dfcb2bf4165460b5bdd6b60447a2fee;hpb=6027c05a2886353bf5454561d8b4f82527b125b9 diff --git a/shell/ev-presentation-timer.c b/shell/ev-presentation-timer.c index 0ab7018d..c17a52e9 100644 --- a/shell/ev-presentation-timer.c +++ b/shell/ev-presentation-timer.c @@ -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; }