GNOME Bugzilla – Bug 678264
actor: Make margin properties animatable
Last modified: 2012-06-22 09:43:32 UTC
Enable implicit animations for :margin-(top|right|bottom|left) properties.
Created attachment 216617 [details] [review] actor: Make margin properties animatable
Review of attachment 216617 [details] [review]: looks generally okay to me. a couple of documentation fixes are needed before landing. ::: clutter/clutter-actor.c @@ +6624,3 @@ 0.0, G_MAXFLOAT, 0.0, + CLUTTER_PARAM_READWRITE | I'm on a mission to remove CLUTTER_PARAM_READWRITE and just use G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS. I don't want to do this in a lump commit, but it would be nice to replace it when adding a new flag. @@ +16664,3 @@ info = _clutter_actor_get_layout_info (self); if (info->margin.top != margin->top) unrelated, but: at some point, we'll have to get rid of this, and either use memcmp() or an epsilon to do float equality checks. @@ +16707,3 @@ * Sets the margin from the top of a #ClutterActor. * + * The #ClutterActor:margin-top property is animatable. this note, and the ones below, should also go in the property documentation.
Review of attachment 216617 [details] [review]: Thanks for reviewing. I'll modify the patch according to your suggestions and push it to master.
Attachment 216617 [details] pushed as d2fff6e - actor: Make margin properties animatable