Fix warnings when ewk not installed.

Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68994
This commit is contained in:
Sanjeev BA 2012-03-07 16:25:43 +00:00 committed by Sanjeev BA
parent dff33d0aa4
commit 780025511e
1 changed files with 10 additions and 0 deletions

View File

@ -1908,6 +1908,14 @@ elm_web_window_features_property_get(const Elm_Web_Window_Features *wf, Elm_Web_
break; break;
} }
#else #else
if (!wf) return EINA_FALSE;
if (flag==ELM_WEB_WINDOW_FEATURE_TOOLBAR)
{
//TODO Handle unused variable warnings when
//ewk is not installed.
}
/* What to do with these ? /* What to do with these ?
(void)wf; (void)wf;
@ -1921,6 +1929,7 @@ elm_web_window_features_property_get(const Elm_Web_Window_Features *wf, Elm_Web_
*/ */
#endif #endif
return EINA_FALSE;
} }
EAPI void EAPI void
@ -1931,6 +1940,7 @@ elm_web_window_features_region_get(const Elm_Web_Window_Features *wf, Evas_Coord
x, y, w, h); x, y, w, h);
#else #else
if (!wf || !x || !y || !w || !h) return;
/* What to do with these ? /* What to do with these ?
(void)wf; (void)wf;