From 135c004f336e37f904086e4a3f22503d187ffd2c Mon Sep 17 00:00:00 2001 From: Hyihong Chae Date: Tue, 5 Jan 2016 15:28:36 +0900 Subject: [PATCH] fix naming error of property Change-Id: Iea288dbd68803d17076f62bacf2e5eb636dec0e2 Signed-off-by: HyiHong Chae --- include/mtp_private.h | 4 ++-- packaging/capi-network-mtp.spec | 2 +- src/mtp.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/mtp_private.h b/include/mtp_private.h index cb4075a..e849a0a 100755 --- a/include/mtp_private.h +++ b/include/mtp_private.h @@ -50,8 +50,8 @@ typedef enum { MTP_PROPERTY_DATA_MODIFIED, MTP_PROPERTY_FORMAT, MTP_PROPERTY_IMAGE_BIT_DEPTH, - MTP_PROPERTY_IMAGE_FIX_WIDTH, - MTP_PROPERTY_IMAGE_FIX_HEIGHT, + MTP_PROPERTY_IMAGE_PIX_WIDTH, + MTP_PROPERTY_IMAGE_PIX_HEIGHT, MTP_PROPERTY_PARENT_OBJECT_HANDLE, MTP_PROPERTY_STORAGE, MTP_PROPERTY_THUMBNAIL_SIZE, diff --git a/packaging/capi-network-mtp.spec b/packaging/capi-network-mtp.spec index d3271c5..81d4ff9 100755 --- a/packaging/capi-network-mtp.spec +++ b/packaging/capi-network-mtp.spec @@ -1,6 +1,6 @@ Name: capi-network-mtp Summary: A MTP library in Native API -Version: 1.3.0 +Version: 1.3.1 Release: 1 Group: Network & Connectivity/Other License: Apache-2.0 diff --git a/src/mtp.c b/src/mtp.c index 03357dc..50f03f3 100755 --- a/src/mtp.c +++ b/src/mtp.c @@ -890,7 +890,7 @@ int mtp_objectinfo_get_image_pix_width(int mtp_device, /* precondition check end */ ret = mtp_gdbus_objectinfo_get_property(mtp_device, - object_handle, MTP_PROPERTY_IMAGE_FIX_WIDTH, width); + object_handle, MTP_PROPERTY_IMAGE_PIX_WIDTH, width); _END(); @@ -914,7 +914,7 @@ int mtp_objectinfo_get_image_pix_height(int mtp_device, /* precondition check end */ ret = mtp_gdbus_objectinfo_get_property(mtp_device, - object_handle, MTP_PROPERTY_IMAGE_FIX_HEIGHT, height); + object_handle, MTP_PROPERTY_IMAGE_PIX_HEIGHT, height); _END(); -- 2.7.4