summaryrefslogtreecommitdiffstats
path: root/spec/ecore_evas_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-06 09:43:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-06 09:43:35 +0200
commite70f8fdfbb74919d38392123b26a764db3561192 (patch)
treede9aea7eba773ea6ff6e01dbc6f717dfb099976e /spec/ecore_evas_spec.rb
parentbe6a692686130aaed436812ac85eaf854e11c902 (diff)
downloadffi-efl-e70f8fdfbb74919d38392123b26a764db3561192.zip
ffi-efl-e70f8fdfbb74919d38392123b26a764db3561192.tar.gz
replace REvas.object_add with REvas.object_xxx_add
Diffstat (limited to 'spec/ecore_evas_spec.rb')
-rw-r--r--spec/ecore_evas_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ecore_evas_spec.rb b/spec/ecore_evas_spec.rb
index c141460..a9abec9 100644
--- a/spec/ecore_evas_spec.rb
+++ b/spec/ecore_evas_spec.rb
@@ -62,7 +62,7 @@ describe Efl::EcoreEvas do
before(:each) do
@e = EcoreEvas::REcoreEvas.new :engine_name=>"software_x11", :x=>10, :y=>10, :w=>100, :h=>120
@canvas = @e.evas
- @bg = @canvas.object_add(:rectangle) { |o|
+ @bg = @canvas.object_rectangle_add { |o|
o.color = 100, 100, 255, 255
o.size = @e.size
}