summaryrefslogtreecommitdiffstats
path: root/test/test_elm_win_class.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-01 10:47:23 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-01 10:47:23 +0200
commitd56f34aa34caceeacf13b0bfe1923f4de04833a9 (patch)
tree69d6786fed7cf91b0ba82a7d6b9075363a1d76ab /test/test_elm_win_class.rb
parentecbb84df1bf1cfdb686dd34a302b584e77e739c4 (diff)
downloadffi-efl-0.0.3.zip
ffi-efl-0.0.3.tar.gz
embed edje_test.edc into test_edje.rb0.0.3
Diffstat (limited to 'test/test_elm_win_class.rb')
-rw-r--r--test/test_elm_win_class.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_elm_win_class.rb b/test/test_elm_win_class.rb
index 5aa3491..fb98e71 100644
--- a/test/test_elm_win_class.rb
+++ b/test/test_elm_win_class.rb
@@ -5,14 +5,12 @@ require 'efl/elementary'
#
include Efl
#
-DATA = FFI::MemoryPointer.from_string("my data")
-#
class MyWin < Elm::ElmWin
def initialize name, title
super FFI::MemoryPointer::NULL, name
title_set title
feed
- smart_callback_add "delete,request", method(:exit), DATA
+ smart_callback_add "delete,request", method(:exit), FFI::MemoryPointer.from_string("my data")
end
def feed
# using block