From a7e1eb7ed9cbc2613c2dc4b4306228d9f3fcd117 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Mon, 27 Feb 2012 15:52:27 +0100 Subject: must use title_set instead of title= instide instance_eval --- test/test_elm_win.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3