mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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:
parent
0835e27380
commit
33642757f5
@ -1272,7 +1272,7 @@ clutter_animation_get_mode (ClutterAnimation *animation)
|
|||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
clutter_animation_set_duration (ClutterAnimation *animation,
|
clutter_animation_set_duration (ClutterAnimation *animation,
|
||||||
gint msecs)
|
guint msecs)
|
||||||
{
|
{
|
||||||
ClutterTimeline *timeline;
|
ClutterTimeline *timeline;
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ void clutter_animation_set_mode (ClutterAnimation *an
|
|||||||
gulong mode);
|
gulong mode);
|
||||||
gulong clutter_animation_get_mode (ClutterAnimation *animation);
|
gulong clutter_animation_get_mode (ClutterAnimation *animation);
|
||||||
void clutter_animation_set_duration (ClutterAnimation *animation,
|
void clutter_animation_set_duration (ClutterAnimation *animation,
|
||||||
gint msecs);
|
guint msecs);
|
||||||
guint clutter_animation_get_duration (ClutterAnimation *animation);
|
guint clutter_animation_get_duration (ClutterAnimation *animation);
|
||||||
void clutter_animation_set_loop (ClutterAnimation *animation,
|
void clutter_animation_set_loop (ClutterAnimation *animation,
|
||||||
gboolean loop);
|
gboolean loop);
|
||||||
|
Loading…
Reference in New Issue
Block a user