aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexamples/elementary/test.py2
-rwxr-xr-xexamples/emotion/test_emotion.py10
2 files changed, 1 insertions, 11 deletions
diff --git a/examples/elementary/test.py b/examples/elementary/test.py
index e306cc0..0878178 100755
--- a/examples/elementary/test.py
+++ b/examples/elementary/test.py
@@ -309,7 +309,6 @@ def cb_filter(en, win):
menu_create(en.text_get(), win)
if __name__ == "__main__":
- elementary.init()
win = StandardWindow("test", "Python EFL test application")
win.callback_delete_request_add(destroy, "test1", "test2",
str3="test3", str4="test4")
@@ -364,4 +363,3 @@ if __name__ == "__main__":
win.resize(480, 480)
win.show()
elementary.run()
- elementary.shutdown()
diff --git a/examples/emotion/test_emotion.py b/examples/emotion/test_emotion.py
index 54d8cde..21ca635 100755
--- a/examples/emotion/test_emotion.py
+++ b/examples/emotion/test_emotion.py
@@ -48,7 +48,7 @@ class MovieWindow(edje.Edje):
self.part_text_set("video_alpha_txt", "alpha 255")
self.part_drag_value_set("video_volume", 0.0, 0.5)
self.part_text_set("video_volume_txt", "vol 0.50")
-
+
self.part_swallow("video_swallow", self.vid)
self.data["moving"] = False
self.data["resizing"] = False
@@ -365,8 +365,6 @@ def cmdline_parse():
if __name__ == "__main__"or True:
options, args = cmdline_parse()
- elementary.init()
-
# elementary window
win = Window("test-emotion", ELM_WIN_BASIC)
win.title_set("python-emotion test application")
@@ -414,9 +412,3 @@ if __name__ == "__main__"or True:
del win.data["movie_windows"]
win.delete()
del scene
-
-
- elementary.shutdown()
- emotion.shutdown()
- edje.shutdown()
- evas.shutdown()