summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2016-04-13 16:11:19 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2016-04-13 16:11:19 +0530
commitbc9bde253a3d4ef09c8ea4451aec8b1425fc83c8 (patch)
tree221b683a068e5b9fef2ca3d8b011b6c8e63919df
parent1e74fd73adfcdb8dc034f1ddaf915802bc18ba1c (diff)
ctxpopup: pass const object ptr as argument in horizontal_get()
-rw-r--r--src/lib/elementary/elc_ctxpopup.c2
-rw-r--r--src/lib/elementary/elc_ctxpopup_legacy.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 803f7d7645..b366493288 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -1247,7 +1247,7 @@ elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
1247} 1247}
1248 1248
1249EAPI Eina_Bool 1249EAPI Eina_Bool
1250elm_ctxpopup_horizontal_get(Evas_Object *obj) 1250elm_ctxpopup_horizontal_get(const Evas_Object *obj)
1251{ 1251{
1252 ELM_CTXPOPUP_DATA_GET_OR_RETURN_VAL(obj, sd, EINA_FALSE); 1252 ELM_CTXPOPUP_DATA_GET_OR_RETURN_VAL(obj, sd, EINA_FALSE);
1253 1253
diff --git a/src/lib/elementary/elc_ctxpopup_legacy.h b/src/lib/elementary/elc_ctxpopup_legacy.h
index a9837992d9..2dbc1d35d1 100644
--- a/src/lib/elementary/elc_ctxpopup_legacy.h
+++ b/src/lib/elementary/elc_ctxpopup_legacy.h
@@ -27,7 +27,7 @@ EAPI void elm_ctxpopup_horizontal_set(Evas_Object *obj,
27 * 27 *
28 * @ingroup Elm_Ctxpopup 28 * @ingroup Elm_Ctxpopup
29 */ 29 */
30EAPI Eina_Bool elm_ctxpopup_horizontal_get(Evas_Object *obj); 30EAPI Eina_Bool elm_ctxpopup_horizontal_get(const Evas_Object *obj);
31 31
32#include "elm_ctxpopup_item.eo.legacy.h" 32#include "elm_ctxpopup_item.eo.legacy.h"
33#include "elm_ctxpopup.eo.legacy.h" 33#include "elm_ctxpopup.eo.legacy.h"