Fix warnings in compilation of wrt-plugins-common
authorGrzegorz Rynkowski <g.rynkowski@samsung.com>
Wed, 13 Feb 2013 15:22:50 +0000 (16:22 +0100)
committerGrzegorz Rynkowski <g.rynkowski@samsung.com>
Mon, 18 Feb 2013 09:35:38 +0000 (10:35 +0100)
commit2869cd9b9e0a8f9039f1fee6594f141b7ce1c184
treea3ef2176533b6d34568cc237c2f3b1d22a003ff9
parent58cb30c77b6d856f1a239423f7b855108cbc3f87
Fix warnings in compilation of wrt-plugins-common

[Issue#] N/A
[Problem] Compilation warnings appearing, part 2.
[Cause] Incorrect code.

[Solution] Make some changes. Most of the changes are related to warning
"type qualifiers ignored on function return type". It is generated by
returning a constant pointer from function. I removed unnecessary consts
related with warnings.

[Verification] Build wrt-plugins-common and look at logs of the building.
There should be only two warnings:
 - "Warning: mmap_min_addr is != 0. If programs fail at mmap this could
be the reason"
 - "warning: 'WrtDB::PropertyDAOReadOnly::WidgetPreferenceList
WrtDB::PropertyDAOReadOnly::GetPropertyList(WrtDB::DbWidgetHandle)'
is deprecated (declared at
/usr/include/dpl-efl/dpl/wrt-dao-ro/property_dao_read_only.h:79)" at
wrt-plugins-common-0.3.72/src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp:112:71

Change-Id: I262c6e5197e84ae83bffef8f23d1ea52295e3adb
14 files changed:
src/js-overlay/JSClass/JSSoftKeyboardChangeEvent.cpp
src/js-overlay/JSClass/JSSoftKeyboardChangeEvent.h
src/js-overlay/JSClass/JSStorageEvent.cpp
src/js-overlay/JSClass/JSStorageEvent.h
src/js-overlay/JSClass/JSTizenServiceEvent.cpp
src/js-overlay/JSClass/JSTizenServiceEvent.h
src/modules/tizen/Widget/Widget.cpp
src/plugins-api-support/IObject.h
src/plugins-api-support/PluginRegistry.cpp
src/standards/W3C/Widget/JSPreferences.cpp
src/standards/W3C/Widget/JSPreferences.h
src/standards/W3C/Widget/JSWidget.cpp
src/standards/W3C/Widget/JSWidget.h
tests/dao/TestInit.cpp