summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/efl/eet.rb2
-rw-r--r--spec/evas_spec.rb1
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