lib/rabbit/image/default.rb in rabbit-2.1.2 vs lib/rabbit/image/default.rb in rabbit-2.1.3
- old
+ new
@@ -15,11 +15,10 @@
private
def update_size
File.open(@filename, "rb") do |file|
Dir.chdir(File.dirname(@filename)) do
- loader = load_by_pixbuf_loader(file.read)
- @pixbuf = loader.pixbuf
+ @pixbuf = load_data(file.read)
end
end
end
end
end