summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_edje.rb7
-rw-r--r--test/test_elm_win.rb1
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test_edje.rb b/test/test_edje.rb
index 190336b..7da1353 100644
--- a/test/test_edje.rb
+++ b/test/test_edje.rb
@@ -5,9 +5,6 @@ require 'efl/ecore'
require 'efl/ecore_evas'
require 'efl/edje'
#
-Efl::EcoreEvas::init
-Efl::Edje::init
-#
WIDTH=320
HEIGHT=240
#
@@ -41,9 +38,13 @@ def create_my_group canvas, txt
end
#
def del_cb ecore_evas
+ puts "delete request callback"
Efl::Ecore.main_loop_quit
end
#
+Efl::EcoreEvas::init
+Efl::Edje::init
+#
window = Efl::EcoreEvas::REcoreEvas.new { |w|
w.resize WIDTH, HEIGHT
w.move 100, 100
diff --git a/test/test_elm_win.rb b/test/test_elm_win.rb
index ed6246a..0783441 100644
--- a/test/test_elm_win.rb
+++ b/test/test_elm_win.rb
@@ -42,7 +42,6 @@ win = MyWin.new "App name", "Window Title" do |w|
w.resize 200, 100
w.show
end
-win.show
#
Elm.run
Elm.shutdown