From 272daaf0430f4f280c0ee7e5d2bc9c0600438b7d Mon Sep 17 00:00:00 2001 From: sanjeev Date: Wed, 7 Mar 2012 15:56:09 +0000 Subject: [PATCH] Fix compile issues. Signed-off-by: Sanjeev BA git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68979 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/test_web.c | 4 ++-- src/lib/elm_web.c | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/bin/test_web.c b/src/bin/test_web.c index 88d1ddf..b8a4d88 100644 --- a/src/bin/test_web.c +++ b/src/bin/test_web.c @@ -69,8 +69,8 @@ _uri_changed_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info) elm_object_text_set(wt->url_entry, event_info); - elm_object_disabled_set(wt->btn_back, !elm_web_back_possible(wt->web)); - elm_object_disabled_set(wt->btn_fwd, !elm_web_forward_possible(wt->web)); + elm_object_disabled_set(wt->btn_back, !elm_web_back_possible_get(wt->web)); + elm_object_disabled_set(wt->btn_fwd, !elm_web_forward_possible_get(wt->web)); } static void diff --git a/src/lib/elm_web.c b/src/lib/elm_web.c index fe24e46..809b294 100644 --- a/src/lib/elm_web.c +++ b/src/lib/elm_web.c @@ -1576,7 +1576,7 @@ elm_web_forward_possible(Evas_Object *obj) } EAPI Eina_Bool -elm_web_forward_possible_get(const Evas_Object *obj) +elm_web_forward_possible_get(Evas_Object *obj) { ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; #ifdef HAVE_ELEMENTARY_WEB @@ -1871,8 +1871,8 @@ elm_web_window_features_unref(Elm_Web_Window_Features *wf) #endif } -EAPI void -elm_web_window_features_bool_property_get(const Elm_Web_Window_Features *wf, Elm_Web_Window_Feature_Flag flag) +EAPI Eina_Bool +elm_web_window_features_property_get(const Elm_Web_Window_Features *wf, Elm_Web_Window_Feature_Flag flag) { #ifdef HAVE_ELEMENTARY_WEB Eina_Bool toolbar_visible, statusbar_visible; @@ -1906,6 +1906,7 @@ elm_web_window_features_bool_property_get(const Elm_Web_Window_Features *wf, Elm case ELM_WEB_WINDOW_FEATURE_FULLSCREEN: return fullscreen; break; + } #else /* What to do with these ? -- 2.7.4