summaryrefslogtreecommitdiff
path: root/src/lib/ethumb_client
diff options
context:
space:
mode:
authorwonguk.jeong <wonguk.jeong@samsung.com>2014-07-07 19:10:58 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-07 19:11:02 +0200
commitf803ba27b7a394f1b9ab83e3e7b760e6e916fbbd (patch)
treebf33fd99959d0f9c7965ff884c498366a5a18c29 /src/lib/ethumb_client
parent3e79b47e8023642590fd089c378e9fe6279e822a (diff)
ethumb: fix setup related API problem
Summary: setup related API was not working at all due to below problems 1. dbus type signature is wrong. it's array of dictionary not array of struct 2. since quality value was assigned to compress value, there was a problem during saving png image (out of bound) 3. orientation_set API was not working except NONE and ORIGINAL @fix Test Plan: make thumbnail by using elm_thumb_add -> orientation set to 90 CCW -> check whether image is rotated properly or not Reviewers: raster, cedric CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D1138 Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Diffstat (limited to 'src/lib/ethumb_client')
-rw-r--r--src/lib/ethumb_client/ethumb_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ethumb_client/ethumb_client.c b/src/lib/ethumb_client/ethumb_client.c
index 5524370f86..cec7e7603f 100644
--- a/src/lib/ethumb_client/ethumb_client.c
+++ b/src/lib/ethumb_client/ethumb_client.c
@@ -817,7 +817,7 @@ ethumb_client_ethumb_setup(Ethumb_Client *client)
817 _setup_iterator_close(array, entry, variant); 817 _setup_iterator_close(array, entry, variant);
818 818
819 variant = _setup_iterator_open(array, &entry, "compress", "i"); 819 variant = _setup_iterator_open(array, &entry, "compress", "i");
820 compress = ethumb_thumb_quality_get(e); 820 compress = ethumb_thumb_compress_get(e);
821 eldbus_message_iter_arguments_append(variant, "i", compress); 821 eldbus_message_iter_arguments_append(variant, "i", compress);
822 _setup_iterator_close(array, entry, variant); 822 _setup_iterator_close(array, entry, variant);
823 823