diff options
author | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-27 19:37:18 (GMT) |
---|---|---|
committer | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-28 05:07:16 (GMT) |
commit | 731d599eed2dc3763571284819df066c2e5adae5 (patch) | |
tree | 5ff2f727192e626169ec4cf28b8d9ea0b1647be8 | |
parent | de3c1414fb4fa87b89227311e8294bd21e8027dd (diff) | |
download | eulogium-731d599eed2dc3763571284819df066c2e5adae5.zip eulogium-731d599eed2dc3763571284819df066c2e5adae5.tar.gz eulogium-731d599eed2dc3763571284819df066c2e5adae5.tar.bz2 |
Rename _on_start_print_ret to _on_print_start_ret
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
-rw-r--r-- | src/eulogium.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eulogium.c b/src/eulogium.c index 631612c..0a389d2 100644 --- a/src/eulogium.c +++ b/src/eulogium.c @@ -306,7 +306,6 @@ elm_progressbar_value_set(eulogium->print.progress, 0.5); return table; } -static void _on_start_print_ret(void *data EINA_UNUSED, const Eldbus_Message *msg, Eldbus_Pending *pending EINA_UNUSED) Evas_Object *eulogium_generic_error(struct eulogium_data *eulogium, uint8_t eulogium_error) { Evas_Object *box, *object; @@ -333,6 +332,8 @@ Evas_Object *eulogium_generic_error(struct eulogium_data *eulogium, uint8_t eulo return box; } +static void _on_print_start_ret(void *data EINA_UNUSED, const Eldbus_Message *msg, Eldbus_Pending *pending EINA_UNUSED) +{ const char *errname, *errmsg; if (eldbus_message_error_get(msg, &errname, &errmsg)) { @@ -344,7 +345,7 @@ Evas_Object *eulogium_generic_error(struct eulogium_data *eulogium, uint8_t eulo Evas_Object *eulogium_start_print(struct eulogium_data *eulogium, char *filepath) { eulogium_print_data_set(eulogium, filepath); - eldbus_proxy_call(eulogium->dbus.proxy[HARMA], "startPrint", _on_start_print_ret, eulogium, -1, "sss", + eldbus_proxy_call(eulogium->dbus.proxy[HARMA], "startPrint", _on_print_start_ret, eulogium, -1, "sss", eulogium->print.name, eulogium->print.file, eulogium->print.flags); /* TODO check status of print and show that to the user before going to the progress screen */ return eulogium_print_progress(eulogium); |