Add const to getters.
authorsanjeev <sanjeev@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 15:55:53 +0000 (15:55 +0000)
committersanjeev <sanjeev@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 15:55:53 +0000 (15:55 +0000)
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68976 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elc_popup.c
src/lib/elc_popup.h

index f122096..62731bc 100644 (file)
@@ -1327,7 +1327,7 @@ elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient)
 }
 
 EAPI Elm_Popup_Orient
-elm_popup_orient_get(Evas_Object *obj)
+elm_popup_orient_get(const Evas_Object *obj)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) -1;
    Widget_Data *wd = elm_widget_data_get(obj);
@@ -1347,7 +1347,7 @@ elm_popup_timeout_set(Evas_Object *obj, double timeout)
 }
 
 EAPI double
-elm_popup_timeout_get(Evas_Object *obj)
+elm_popup_timeout_get(const Evas_Object *obj)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) 0.0;
    Widget_Data *wd = elm_widget_data_get(obj);
@@ -1368,7 +1368,7 @@ elm_popup_allow_events_set(Evas_Object *obj, Eina_Bool allow)
 }
 
 EAPI Eina_Bool
-elm_popup_allow_events_get(Evas_Object *obj)
+elm_popup_allow_events_get(const Evas_Object *obj)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
index c2c7cb1..5b1adaf 100644 (file)
@@ -182,7 +182,7 @@ EAPI void elm_popup_content_text_wrap_type_set(Evas_Object *obj, Elm_Wrap_Type w
  * @ingroup Popup
  * @see elm_popup_content_text_wrap_type_set
  */
-EAPI Elm_Wrap_Type elm_popup_content_text_wrap_type_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
+EAPI Elm_Wrap_Type elm_popup_content_text_wrap_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
 
 /**
  * @brief Sets the orientation of the popup in the parent region
@@ -207,7 +207,7 @@ EAPI void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient) EINA_A
  * @see elm_popup_orient_set()
  * @see Elm_Popup_Orient
  */
-EAPI Elm_Popup_Orient elm_popup_orient_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
+EAPI Elm_Popup_Orient elm_popup_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
 
 /**
  * @brief Sets a timeout to hide popup automatically
@@ -239,7 +239,7 @@ EAPI void elm_popup_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNU
  * @ingroup Popup
  * @see elm_popup_timeout_set()
  */
-EAPI double elm_popup_timeout_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
+EAPI double elm_popup_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
 
 /**
  * @brief Sets whether events should be passed to by a click outside.
@@ -266,4 +266,4 @@ EAPI void elm_popup_allow_events_set(Evas_Object *obj, Eina_Bool allow);
  * @see elm_popup_allow_events_set()
  * @note By default the Blocked event area is present
  */
-EAPI Eina_Bool elm_popup_allow_events_get(Evas_Object *obj);
+EAPI Eina_Bool elm_popup_allow_events_get(const Evas_Object *obj);