From: xbezdick <255993@mail.muni.cz> Date: Thu, 5 May 2011 17:09:01 +0000 (+0200) Subject: cleanup... X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=commitdiff_plain;h=dc2eb61c8dfcb2bf4165460b5bdd6b60447a2fee cleanup... --- 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; }