diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 16:30:02 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 16:30:02 +0200 |
commit | 4f2f83e82a39ca0f23d4a4d5a186fdb12816f05e (patch) | |
tree | e3420c40c583fb9cc6e20f910b4536f35124c161 | |
parent | bc37e7474ba44f4a258892793fb1cdc0694c90f0 (diff) | |
download | ffi-efl-4f2f83e82a39ca0f23d4a4d5a186fdb12816f05e.zip ffi-efl-4f2f83e82a39ca0f23d4a4d5a186fdb12816f05e.tar.gz |
minor fixes
-rw-r--r-- | lib/efl/eet.rb | 2 | ||||
-rw-r--r-- | spec/evas_spec.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/efl/eet.rb b/lib/efl/eet.rb index 76a83cf..d546b5e 100644 --- a/lib/efl/eet.rb +++ b/lib/efl/eet.rb @@ -8,7 +8,7 @@ module Efl # class << self # - def open path, mode=FILE_MODE_READ, &blk + def open path, mode=:eet_file_mode_read, &blk if blk f = Efl::FFI.eet_open path, mode raise Exception.new "Unable to open file #{path}" if f.nil? diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb index 03a9e61..9e1c57a 100644 --- a/spec/evas_spec.rb +++ b/spec/evas_spec.rb @@ -345,7 +345,6 @@ describe Efl::Evas do @o.show @o.visible?.should be_true end - # line 2829 end # end |