projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b346a
)
Fix warnings when ewk not installed.
author
Sanjeev BA
<eflelev8@gmail.com>
Wed, 7 Mar 2012 16:25:43 +0000
(16:25 +0000)
committer
Sanjeev BA
<iamsanjeev@gmail.com>
Wed, 7 Mar 2012 16:25:43 +0000
(16:25 +0000)
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>
SVN revision: 68994
src/lib/elm_web.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_web.c
b/src/lib/elm_web.c
index
809b294
..
962fd11
100644
(file)
--- a/
src/lib/elm_web.c
+++ b/
src/lib/elm_web.c
@@
-1908,6
+1908,14
@@
elm_web_window_features_property_get(const Elm_Web_Window_Features *wf, Elm_Web_
break;
}
#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 ?
(void)wf;
@@
-1921,6
+1929,7
@@
elm_web_window_features_property_get(const Elm_Web_Window_Features *wf, Elm_Web_
*/
#endif
+ return EINA_FALSE;
}
EAPI void
@@
-1931,6
+1940,7
@@
elm_web_window_features_region_get(const Elm_Web_Window_Features *wf, Evas_Coord
x, y, w, h);
#else
+ if (!wf || !x || !y || !w || !h) return;
/* What to do with these ?
(void)wf;