k-s is right - the func from header needed a remove.. because func in
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 8 Mar 2012 13:51:58 +0000 (13:51 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 8 Mar 2012 13:51:58 +0000 (13:51 +0000)
c was wrong name... not because it was gone. fix func in c file and
restore header decl.

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

src/lib/elm_web.c
src/lib/elm_web.h

index fca0db4..1c84db9 100644 (file)
@@ -1589,7 +1589,7 @@ elm_web_forward_possible_get(Evas_Object *obj)
 }
 
 EAPI Eina_Bool
-elm_web_navigate_possible(Evas_Object *obj, int steps)
+elm_web_navigate_possible_get(Evas_Object *obj, int steps)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
 #ifdef HAVE_ELEMENTARY_WEB
index a683bdf..9fb713f 100644 (file)
@@ -790,6 +790,20 @@ 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