Remove init/shutdown from elm and emotion main tests
This commit is contained in:
parent
bc0f40e54c
commit
e37026ec17
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue