diff options
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/GuiLua/GuiLua.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/GuiLua.c b/ClientHamr/GuiLua/GuiLua.c index ec8c23e..9ef60de 100644 --- a/ClientHamr/GuiLua/GuiLua.c +++ b/ClientHamr/GuiLua/GuiLua.c | |||
@@ -521,10 +521,14 @@ int push_lua(lua_State *L, char *params, ...) // Stack usage [-0, +n, em] | |||
521 | } | 521 | } |
522 | 522 | ||
523 | 523 | ||
524 | // TODO - These functions should be able to deal with multiple windows. | ||
525 | // TODO - Should be able to open external and internal windows, and even switch between them on the fly. | ||
524 | static void _on_done(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) | 526 | static void _on_done(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) |
525 | { | 527 | { |
526 | // globals *ourGlobals = data; | 528 | // globals *ourGlobals = data; |
527 | 529 | ||
530 | // TODO - skang.quit() should do this to. | ||
531 | // Tell the main loop to stop, which it will, eventually. | ||
528 | elm_exit(); | 532 | elm_exit(); |
529 | } | 533 | } |
530 | 534 | ||
@@ -585,6 +589,7 @@ static int closeWindow(lua_State *L) | |||
585 | ourGlobals->logDom = -1; | 589 | ourGlobals->logDom = -1; |
586 | } | 590 | } |
587 | 591 | ||
592 | // This shuts down Elementary, but keeps the main loop running until all ecore_evas are freed. | ||
588 | elm_shutdown(); | 593 | elm_shutdown(); |
589 | 594 | ||
590 | return 0; | 595 | return 0; |