Gallery2: google please cleanup your translations....Gallery2 cleanup

it is really at the moment a nightmare to see compile errors when
getting 100000 of warnings. Whatever we removed already on some
packages the warnings....but still a lot are there

Change-Id: I81fdf22954c15fe2f6225f7f4dc8f06163887397
TRDS: Darker Gallery

Change-Id: I632b252280118f61f356f4a6dae1039e02b82241
jni: fix C99 inline linking

Clang builds C code according to the C99 standard,
which provides different semantics for the inline
keyword than GCC's default behavior. This is the
correct behavior without any gnu extensions.

See here:
http://clang.llvm.org/compatibility.html#inline

Change-Id: I831a5189e027a2f0cb3c7d9cda56bd3701502863