mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
2008-02-01 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c: (clutter_actor_get_property): Use clutter_actor_get_reactive() instead of the IS_REACTIVE() macro. (clutter_actor_set_reactive): Emit the notify signal for the reactive property. * clutter/clutter-timeline.c: (timeline_timeout_func), (clutter_timeline_get_delta): Coding style fixes.
This commit is contained in:
parent
756d2223da
commit
ecc673d9cd
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2008-02-01 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-actor.c:
|
||||
(clutter_actor_get_property): Use clutter_actor_get_reactive()
|
||||
instead of the IS_REACTIVE() macro.
|
||||
|
||||
(clutter_actor_set_reactive): Emit the notify signal for the
|
||||
reactive property.
|
||||
|
||||
* clutter/clutter-timeline.c:
|
||||
(timeline_timeout_func),
|
||||
(clutter_timeline_get_delta): Coding style fixes.
|
||||
|
||||
2008-01-31 Rob Bradford <rob@openedhand.com>
|
||||
|
||||
* clutter/glx/clutter-stage-glx.c:
|
||||
|
@ -1277,8 +1277,7 @@ clutter_actor_get_property (GObject *object,
|
||||
g_value_set_double (value, CLUTTER_FIXED_TO_DOUBLE (priv->scale_y));
|
||||
break;
|
||||
case PROP_REACTIVE:
|
||||
g_value_set_boolean (value,
|
||||
(CLUTTER_ACTOR_IS_REACTIVE (actor) != FALSE));
|
||||
g_value_set_boolean (value, clutter_actor_get_reactive (actor));
|
||||
break;
|
||||
case PROP_ROTATION_ANGLE_X:
|
||||
g_value_set_double (value, CLUTTER_FIXED_TO_DOUBLE (priv->rxang));
|
||||
@ -3998,6 +3997,8 @@ clutter_actor_set_reactive (ClutterActor *actor,
|
||||
CLUTTER_ACTOR_SET_FLAGS (actor, CLUTTER_ACTOR_REACTIVE);
|
||||
else
|
||||
CLUTTER_ACTOR_UNSET_FLAGS (actor, CLUTTER_ACTOR_REACTIVE);
|
||||
|
||||
g_object_notify (G_OBJECT (actor), "reactive");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -571,10 +571,8 @@ timeline_timeout_func (gpointer data)
|
||||
* to emit the last new-frame signal with the last frame
|
||||
*/
|
||||
if (n_frames > 1)
|
||||
{
|
||||
g_signal_emit (timeline, timeline_signals[NEW_FRAME], 0,
|
||||
priv->current_frame_num);
|
||||
}
|
||||
|
||||
if (priv->loop)
|
||||
{
|
||||
@ -1250,9 +1248,7 @@ clutter_timeline_get_delta (ClutterTimeline *timeline,
|
||||
priv = timeline->priv;
|
||||
|
||||
if (msecs)
|
||||
{
|
||||
*msecs = timeline->priv->msecs_delta;
|
||||
}
|
||||
|
||||
return priv->skipped_frames + 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user