ctxpopup: pass const object ptr as argument in horizontal_get()

This commit is contained in:
Amitesh Singh 2016-04-13 16:11:19 +05:30
parent 1e74fd73ad
commit bc9bde253a
2 changed files with 2 additions and 2 deletions

View File

@ -1247,7 +1247,7 @@ elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
}
EAPI Eina_Bool
elm_ctxpopup_horizontal_get(Evas_Object *obj)
elm_ctxpopup_horizontal_get(const Evas_Object *obj)
{
ELM_CTXPOPUP_DATA_GET_OR_RETURN_VAL(obj, sd, EINA_FALSE);

View File

@ -27,7 +27,7 @@ EAPI void elm_ctxpopup_horizontal_set(Evas_Object *obj,
*
* @ingroup Elm_Ctxpopup
*/
EAPI Eina_Bool elm_ctxpopup_horizontal_get(Evas_Object *obj);
EAPI Eina_Bool elm_ctxpopup_horizontal_get(const Evas_Object *obj);
#include "elm_ctxpopup_item.eo.legacy.h"
#include "elm_ctxpopup.eo.legacy.h"