animation: Use 'guint' for set_duration() parameter

The :duration property and the get_duration() method use unsigned int,
but the setter using a signed integer for no apparent reason.

http://bugzilla.openedhand.com/show_bug.cgi?id=2089
This commit is contained in:
Emmanuele Bassi 2010-05-05 11:32:39 +01:00
parent 0835e27380
commit 33642757f5
2 changed files with 2 additions and 2 deletions

View File

@ -1272,7 +1272,7 @@ clutter_animation_get_mode (ClutterAnimation *animation)
*/
void
clutter_animation_set_duration (ClutterAnimation *animation,
gint msecs)
guint msecs)
{
ClutterTimeline *timeline;

View File

@ -106,7 +106,7 @@ void clutter_animation_set_mode (ClutterAnimation *an
gulong mode);
gulong clutter_animation_get_mode (ClutterAnimation *animation);
void clutter_animation_set_duration (ClutterAnimation *animation,
gint msecs);
guint msecs);
guint clutter_animation_get_duration (ClutterAnimation *animation);
void clutter_animation_set_loop (ClutterAnimation *animation,
gboolean loop);