jeyzu pushed a commit to branch master.

http://git.enlightenment.org/bindings/ruby/ffi-efl.git/commit/?id=51d22d22b82f11f85964056957e96cfae38df098

commit 51d22d22b82f11f85964056957e96cfae38df098
Author: Jérémy Zurcher <[email protected]>
Date:   Sun Dec 1 22:30:49 2013 +0100

    test_button: add autodel and policy to behave like test_button-native
---
 test/test_button.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/test_button.rb b/test/test_button.rb
index 93168d3..9908a0a 100644
--- a/test/test_button.rb
+++ b/test/test_button.rb
@@ -12,6 +12,7 @@ class MyWin < Elm::ElmWin
   def initialize
     super(nil, "Greetings") do
       title_set "Hello, World!"
+      autodel_set true
       resize 240, 60
       show
     end
@@ -33,6 +34,7 @@ end
 Elm.init
 #
 MyWin.new
+Elm.elm_policy_set(0, 1)
 #
 Elm.run
 Elm.shutdown

-- 


Reply via email to