diff --git a/clutter/clutter/clutter-align-constraint.c b/clutter/clutter/clutter-align-constraint.c index c7ff711b7..ed10ece2e 100644 --- a/clutter/clutter/clutter-align-constraint.c +++ b/clutter/clutter/clutter-align-constraint.c @@ -85,7 +85,7 @@ G_DEFINE_TYPE (ClutterAlignConstraint, static void source_position_changed (ClutterActor *actor, - const ClutterActorBox *allocation, + GParamSpec *pspec, ClutterAlignConstraint *align) { if (align->actor != NULL) @@ -409,7 +409,7 @@ clutter_align_constraint_set_source (ClutterAlignConstraint *align, align->source = source; if (align->source != NULL) { - g_signal_connect (align->source, "allocation-changed", + g_signal_connect (align->source, "notify::allocation", G_CALLBACK (source_position_changed), align); g_signal_connect (align->source, "destroy", diff --git a/clutter/clutter/clutter-deform-effect.c b/clutter/clutter/clutter-deform-effect.c index 5f4de5ac7..a1b7c89bb 100644 --- a/clutter/clutter/clutter-deform-effect.c +++ b/clutter/clutter/clutter-deform-effect.c @@ -128,9 +128,9 @@ clutter_deform_effect_deform_vertex (ClutterDeformEffect *effect, } static void -vbo_invalidate (ClutterActor *actor, - const ClutterActorBox *allocation, - ClutterDeformEffect *effect) +vbo_invalidate (ClutterActor *actor, + GParamSpec *pspec, + ClutterDeformEffect *effect) { effect->priv->is_dirty = TRUE; } @@ -155,7 +155,7 @@ clutter_deform_effect_set_actor (ClutterActorMeta *meta, * changes */ if (actor != NULL) - priv->allocation_id = g_signal_connect (actor, "allocation-changed", + priv->allocation_id = g_signal_connect (actor, "notify::allocation", G_CALLBACK (vbo_invalidate), meta);