lib/rabbit/theme/slide-show/slide-show.rb in rabbit-2.1.2 vs lib/rabbit/theme/slide-show/slide-show.rb in rabbit-2.1.3
- old
+ new
@@ -10,13 +10,13 @@
@slide_show_loop ||= false
@@slide_show_timeout_id ||= nil
unless @@slide_show_timeout_id.nil?
- Gtk.timeout_remove(@@slide_show_timeout_id)
+ GLib::Source.remove(@@slide_show_timeout_id)
end
-@@slide_show_timeout_id = Gtk.timeout_add(@slide_show_span) do
+@@slide_show_timeout_id = GLib::Timeout.add(@slide_show_span) do
if canvas.last_slide?
if @slide_show_loop
canvas.reset_timer
canvas.activate("FirstSlide")
true