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:
wonguk.jeong 2014-07-09 14:00:40 +02:00 committed by Cedric BAIL
parent 7b4f4af873
commit a299916d84
1 changed files with 1 additions and 1 deletions

View File

@ -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;