diff options
author | David Walter Seikel | 2016-01-17 17:03:56 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-01-17 17:03:56 +1000 |
commit | 4e2030607818d83b4e5987df2d889f64f8dce3b3 (patch) | |
tree | 370625391b847bed4fa05c888448d1b9a18895b6 /src/extantz/extantz.c | |
parent | Bunch of debuggingnesses. (diff) | |
download | SledjHamr-4e2030607818d83b4e5987df2d889f64f8dce3b3.zip SledjHamr-4e2030607818d83b4e5987df2d889f64f8dce3b3.tar.gz SledjHamr-4e2030607818d83b4e5987df2d889f64f8dce3b3.tar.bz2 SledjHamr-4e2030607818d83b4e5987df2d889f64f8dce3b3.tar.xz |
Unify the message sending code a bit.
Diffstat (limited to '')
-rw-r--r-- | src/extantz/extantz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 840dfec..f9b638a 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -143,7 +143,7 @@ static void _onWorldClick(void *data, Evas *e EINA_UNUSED, Evas_Object *o, void | |||
143 | 143 | ||
144 | // CUBE_UUID.events.touch_start(1), but we just make one up for now. | 144 | // CUBE_UUID.events.touch_start(1), but we just make one up for now. |
145 | snprintf(SID, sizeof(SID), FAKE_UUID); | 145 | snprintf(SID, sizeof(SID), FAKE_UUID); |
146 | sendForth(ourGlobals.server, SID, "events.touch_start(1)"); | 146 | send2(ourGlobals.server, SID, "events.touch_start(1)"); |
147 | } | 147 | } |
148 | } | 148 | } |
149 | } | 149 | } |
@@ -567,7 +567,7 @@ static Eina_Bool _makeMess(void *data) | |||
567 | ecore_job_add((Ecore_Cb) _makeLove, ourGlobals); | 567 | ecore_job_add((Ecore_Cb) _makeLove, ourGlobals); |
568 | // ecore_timer_add(0.1, _makeLove, ourGlobals); | 568 | // ecore_timer_add(0.1, _makeLove, ourGlobals); |
569 | 569 | ||
570 | ourGlobals->LSLGuiMess = GuiLuaLoad("LSLGuiMess", ourGlobals->mainWindow, ourGlobals->world); | 570 | // ourGlobals->LSLGuiMess = GuiLuaLoad("LSLGuiMess", ourGlobals->mainWindow, ourGlobals->world); |
571 | 571 | ||
572 | return ECORE_CALLBACK_CANCEL; | 572 | return ECORE_CALLBACK_CANCEL; |
573 | } | 573 | } |
@@ -615,7 +615,7 @@ static Eina_Bool _makePurkle(void *data) | |||
615 | 615 | ||
616 | woMan_add(ourGlobals); | 616 | woMan_add(ourGlobals); |
617 | ourGlobals->purkle = GuiLuaLoad("purkle", ourGlobals->mainWindow, ourGlobals->world); | 617 | ourGlobals->purkle = GuiLuaLoad("purkle", ourGlobals->mainWindow, ourGlobals->world); |
618 | // ourGlobals->LSLGuiMess = GuiLuaLoad("LSLGuiMess", ourGlobals->mainWindow, ourGlobals->world); | 618 | ourGlobals->LSLGuiMess = GuiLuaLoad("LSLGuiMess", ourGlobals->mainWindow, ourGlobals->world); |
619 | // ourGlobals->files = filesAdd(ourGlobals, (char *) prefix_data_get(), EINA_TRUE, EINA_FALSE); | 619 | // ourGlobals->files = filesAdd(ourGlobals, (char *) prefix_data_get(), EINA_TRUE, EINA_FALSE); |
620 | 620 | ||
621 | // Gotta do this after adding the windows, otherwise the menu renders under the window. | 621 | // Gotta do this after adding the windows, otherwise the menu renders under the window. |