Fix a lot of warnings all over the place

Deprecated stuff, unused variables. Includes parts of a patch from
Shlomi Fish from bug #768855.
This commit is contained in:
Michael Natterer
2016-10-31 01:08:38 +01:00
parent 44aedebb53
commit f5ecc53f3e
14 changed files with 273 additions and 189 deletions

View File

@ -48,13 +48,17 @@
/*************************/
static const GimpVector2 gimp_vector2_zero = { 0.0, 0.0 };
#if 0
static const GimpVector2 gimp_vector2_unit_x = { 1.0, 0.0 };
static const GimpVector2 gimp_vector2_unit_y = { 0.0, 1.0 };
#endif
static const GimpVector3 gimp_vector3_zero = { 0.0, 0.0, 0.0 };
#if 0
static const GimpVector3 gimp_vector3_unit_x = { 1.0, 0.0, 0.0 };
static const GimpVector3 gimp_vector3_unit_y = { 0.0, 1.0, 0.0 };
static const GimpVector3 gimp_vector3_unit_z = { 0.0, 0.0, 1.0 };
#endif
/**************************************/
/* Two dimensional vector functions */