summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan <ch.kumar@samsung.com>2016-09-27 14:22:02 +0530
committerChandan <ch.kumar@samsung.com>2016-09-27 14:22:02 +0530
commitaf8c3cbabe91bd67f67f883069c1aed80f05e04c (patch)
tree627d89b1d9e8fcf4a9c459c3c744a5aa2842c78d
parentdccb66783ceb01542ea140ee96c2a2f8ca99a240 (diff)
downloadattach-panel-document-af8c3cbabe91bd67f67f883069c1aed80f05e04c.tar.gz
attach-panel-document-af8c3cbabe91bd67f67f883069c1aed80f05e04c.tar.bz2
attach-panel-document-af8c3cbabe91bd67f67f883069c1aed80f05e04c.zip
Change-Id: I33a67837f4919c12a931c813419856e0ce8acbfb Signed-off-by: Chandan <ch.kumar@samsung.com>
-rw-r--r--src/doc-list.c4
-rw-r--r--src/doc-ui-util.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/doc-list.c b/src/doc-list.c
index 23c697e..2fa7732 100644
--- a/src/doc-list.c
+++ b/src/doc-list.c
@@ -336,9 +336,9 @@ static Eina_Bool _doc_list_is_dir(const char *path)
return 0;
}
-int _document_attr_is_dir(const char *filepath)
+static Eina_Bool _document_attr_is_dir(const char *filepath)
{
- DOC_CHECK_NULL(filepath);
+ DOC_CHECK_FALSE(filepath);
return _doc_list_is_dir(filepath);
}
diff --git a/src/doc-ui-util.c b/src/doc-ui-util.c
index c54323b..6f8c955 100644
--- a/src/doc-ui-util.c
+++ b/src/doc-ui-util.c
@@ -95,7 +95,7 @@ Evas_Object* doc_ui_create_naviframe(doc_ugdata *ugd, Evas_Object *parent)
return nf;
}
-//[ToDo] Check for scroller
+#if 0
static int _doc_ui_reset_scroller_pos(Evas_Object *obj)
{
DOC_CHECK_VAL(obj, -1);
@@ -151,6 +151,7 @@ static int _doc_ui_restore_scroller_pos(Evas_Object *obj)
}
return 0;
}
+#endif
int doc_ui_set_translate_str(Evas_Object *obj, const char *str)
{