st: Remove color from ClutterActor pick virtual function

It's unused since commit mutter@14c706e51

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/759
This commit is contained in:
Daniel van Vugt 2019-10-14 15:20:49 +08:00 committed by Georges Basile Stavracas Neto
parent 0615370930
commit d7c569c692
3 changed files with 5 additions and 8 deletions

View File

@ -35,8 +35,7 @@
#endif
static void
stop_pick (ClutterActor *actor,
const ClutterColor *color)
stop_pick (ClutterActor *actor)
{
g_signal_stop_emission_by_name (actor, "pick");
}

View File

@ -443,8 +443,7 @@ st_box_layout_paint (ClutterActor *actor)
}
static void
st_box_layout_pick (ClutterActor *actor,
const ClutterColor *color)
st_box_layout_pick (ClutterActor *actor)
{
StBoxLayout *self = ST_BOX_LAYOUT (actor);
StBoxLayoutPrivate *priv = self->priv;
@ -462,7 +461,7 @@ st_box_layout_pick (ClutterActor *actor,
cogl_framebuffer_translate (fb, (int)x, (int)y, 0);
}
CLUTTER_ACTOR_CLASS (st_box_layout_parent_class)->pick (actor, color);
CLUTTER_ACTOR_CLASS (st_box_layout_parent_class)->pick (actor);
if (x != 0 || y != 0)
{

View File

@ -294,13 +294,12 @@ st_scroll_view_paint (ClutterActor *actor)
}
static void
st_scroll_view_pick (ClutterActor *actor,
const ClutterColor *color)
st_scroll_view_pick (ClutterActor *actor)
{
StScrollViewPrivate *priv = ST_SCROLL_VIEW (actor)->priv;
/* Chain up so we get a bounding box pained (if we are reactive) */
CLUTTER_ACTOR_CLASS (st_scroll_view_parent_class)->pick (actor, color);
CLUTTER_ACTOR_CLASS (st_scroll_view_parent_class)->pick (actor);
if (priv->child)
clutter_actor_paint (priv->child);