diff options
-rw-r--r-- | README.rdoc | 2 | ||||
-rw-r--r-- | test/test_elm_win.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/README.rdoc b/README.rdoc index 88fe7f9..8586d99 100644 --- a/README.rdoc +++ b/README.rdoc @@ -21,7 +21,7 @@ A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries). class MyWin < Elm::ElmWin def initialize name, title, &block super FFI::MemoryPointer::NULL, name, &block - title = title + title_set title feed smart_callback_add "delete,request", method(:on_delete), FFI::MemoryPointer.from_string("my data") end diff --git a/test/test_elm_win.rb b/test/test_elm_win.rb index 9bf00ca..01d03a2 100644 --- a/test/test_elm_win.rb +++ b/test/test_elm_win.rb @@ -11,7 +11,7 @@ class MyWin < Elm::ElmWin # def initialize name, title, &block super FFI::MemoryPointer::NULL, name, &block - title = title + title_set title feed smart_callback_add "delete,request", method(:on_delete), FFI::MemoryPointer.from_string("my data") end |