Emmanuele Bassi 8fc07c51a9 actor: Use GParamSpecUint for :opacity
The :opacity property is defined using a GParamSpecUchar. This usually
leads to issues with language bindings that don't have an 'unsigned
char' type and that need to explicitly handle the conversion between
G_TYPE_UCHAR and G_TYPE_INT or G_TYPE_UINT.

The property definition already specifies an interval size of [0, 255]
on the values; more importantly, GObject already implicitly transforms
between G_TYPE_UCHAR and G_TYPE_UINT (the GValue transformation
functions are registered at type system initialization time) so
switching between a GParamSpecUchar and a GParamSpecUint should not be
an ABI break.

I have tested a simple program using the opacity property before and
after the change and I cannot see any run-time warnings related to this
issue.
2010-01-22 21:47:20 +00:00
..
2010-01-12 17:10:15 +00:00
2009-11-06 11:48:42 +00:00
2009-01-20 18:47:50 +00:00
2009-12-10 22:20:36 +00:00
2009-12-10 22:20:36 +00:00
2009-10-14 11:31:26 +01:00
2009-07-10 11:38:42 +01:00
2009-10-19 12:01:38 +01:00
2009-12-11 23:48:58 +00:00
2009-10-16 15:55:05 +01:00