Fix warning message in the ParamSpec validation
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 12 Oct 2009 16:05:05 +0000 (17:05 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 16 Oct 2009 14:54:24 +0000 (15:54 +0100)
commit70c8128457d49bf9dde0838470f1b4b363f9aafb
tree9a87e3b49d59741ac5dacb828c0d8c0c56f79fea
parent83b4ec7a12ea279b59a80f6008e1bece25de3a8c
Fix warning message in the ParamSpec validation

When validating a new GValue against the ClutterParamSpecUnits, we issue
a warning when the units do not match with both the new value and the
unit we expect to have. Unfortunately we were printing the unit of the
new value twice and not the unit of the ParamSpec.

http://bugzilla.openedhand.com/show_bug.cgi?id=1846
clutter/clutter-units.c