From: Jeremy Zurcher <jeremy@asynk.ch>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 8 Mar 2012 09:43:14 +0000 (09:43 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 8 Mar 2012 09:43:14 +0000 (09:43 +0000)
Subject: [E-devel] elm_web, elm_map, elm_box tiny patches

eml_web     : remove deprecated elm_web_navigate_possible_get(...)
elm_map     : remove useless EAPI
elm_box     : eml_box_transition_new uses Ecore_cb for start_layout_free_data parameter

(dont actually affect api so in).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69042 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_box.c
src/lib/elm_box.h
src/lib/elm_map.h
src/lib/elm_web.h

index 2c9ba3d..bcf0b38 100644 (file)
@@ -574,7 +574,7 @@ elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *da
 EAPI Elm_Box_Transition *
 elm_box_transition_new(const double duration,
                        Evas_Object_Box_Layout start_layout, void *start_layout_data,
-                       void(*start_layout_free_data)(void *data),
+                       Ecore_Cb start_layout_free_data,
                        Evas_Object_Box_Layout end_layout, void *end_layout_data,
                        Ecore_Cb end_layout_free_data,
                        Ecore_Cb transition_end_cb,
index a896c8d..9ee693d 100644 (file)
@@ -435,7 +435,7 @@ EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object
  * @see elm_box_transition_new
  * @see elm_box_layout_transition
  */
-EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, void (*start_layout_free_data)(void *data), Evas_Object_Box_Layout end_layout, void *end_layout_data, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, void *transition_end_data);
+EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, Ecore_Cb start_layout_free_data, Evas_Object_Box_Layout end_layout, void *end_layout_data, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, void *transition_end_data);
 
 /**
  * Free a Elm_Box_Transition instance created with elm_box_transition_new().
index dda4af5..b56c2d8 100644 (file)
@@ -1002,7 +1002,6 @@ EAPI void                  elm_map_overlay_class_remove(Elm_Map_Overlay *clas, E
  *
  * @ingroup Map
  */
-EAPI
 EAPI void                  elm_map_overlay_class_zoom_max_set(Elm_Map_Overlay *clas, int zoom);
 
 /**
index f20ac86..a683bdf 100644 (file)
@@ -764,7 +764,6 @@ EAPI Eina_Bool         elm_web_forward(Evas_Object *obj);
  * history exists to jump the given number of steps
  *
  * @see elm_web_history_enabled_set()
- * @see elm_web_navigate_possible_get()
  * @see elm_web_back()
  * @see elm_web_forward()
  */
@@ -791,20 +790,6 @@ EAPI Eina_Bool         elm_web_back_possible_get(Evas_Object *obj);
 EAPI Eina_Bool         elm_web_forward_possible_get(Evas_Object *obj);
 
 /**
- * Queries whether it's possible to jump the given number of steps
- *
- * The @p steps value can be a negative integer to back in history, or a
- * positive to move forward.
- *
- * @param obj The web object
- * @param steps The number of steps to check for
- *
- * @return EINA_TRUE if enough history exists to perform the given jump,
- * EINA_FALSE otherwise
- */
-EAPI Eina_Bool         elm_web_navigate_possible_get(Evas_Object *obj, int steps);
-
-/**
  * Gets whether browsing history is enabled for the given object
  *
  * @param obj The web object