aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-21 20:42:15 +1000
committerDavid Walter Seikel2014-04-21 20:42:15 +1000
commit43122ea49644bf051cfefce881b682ae48d082d6 (patch)
tree6f91f2484c0e505371b1349e0ba944df36ae2698 /LuaSL
parentShift libGuiLua.so to the libraries directory. (diff)
downloadSledjHamr-43122ea49644bf051cfefce881b682ae48d082d6.zip
SledjHamr-43122ea49644bf051cfefce881b682ae48d082d6.tar.gz
SledjHamr-43122ea49644bf051cfefce881b682ae48d082d6.tar.bz2
SledjHamr-43122ea49644bf051cfefce881b682ae48d082d6.tar.xz
Don't quit the LuaSL_test UI when the server goes away, if told to run the UI.
Diffstat (limited to 'LuaSL')
-rw-r--r--LuaSL/src/LuaSL_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_test.c b/LuaSL/src/LuaSL_test.c
index 74236cf..a02c6c3 100644
--- a/LuaSL/src/LuaSL_test.c
+++ b/LuaSL/src/LuaSL_test.c
@@ -292,7 +292,8 @@ static Eina_Bool _del(void *data, int type __UNUSED__, Ecore_Con_Event_Server_De
292 { 292 {
293 ourGlobals->server = NULL; 293 ourGlobals->server = NULL;
294 ecore_con_server_del(ev->server); 294 ecore_con_server_del(ev->server);
295 ecore_main_loop_quit(); 295 if (!ourGlobals->ui)
296 ecore_main_loop_quit();
296 } 297 }
297 298
298 return ECORE_CALLBACK_RENEW; 299 return ECORE_CALLBACK_RENEW;