ethumb: dbus reply message handling minor bug fix ("queue_remove" method call)
Summary: due to wrong return value checking, annoying error message is coming out. @fix Test Plan: terminology -> tyls in the directory contains pictures -> clear screen (clear) -> check whether error message is coming out or not Reviewers: raster, cedric CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D1159 Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
This commit is contained in:
parent
7b4f4af873
commit
a299916d84
|
@ -1040,7 +1040,7 @@ _ethumb_client_queue_remove_cb(void *data, const Eldbus_Message *msg, Eldbus_Pen
|
|||
goto end;
|
||||
}
|
||||
|
||||
if (eldbus_message_arguments_get(msg, "b", &success))
|
||||
if (!eldbus_message_arguments_get(msg, "b", &success))
|
||||
{
|
||||
ERR("Error getting arguments.");
|
||||
goto end;
|
||||
|
|
Loading…
Reference in New Issue