]> www.fi.muni.cz Git - evince.git/commitdiff
cleanup...
authorxbezdick <255993@mail.muni.cz>
Thu, 5 May 2011 17:09:01 +0000 (19:09 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 1 Jun 2011 11:09:22 +0000 (13:09 +0200)
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;
 }