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:
parent
0615370930
commit
d7c569c692
@ -35,8 +35,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
stop_pick (ClutterActor *actor,
|
stop_pick (ClutterActor *actor)
|
||||||
const ClutterColor *color)
|
|
||||||
{
|
{
|
||||||
g_signal_stop_emission_by_name (actor, "pick");
|
g_signal_stop_emission_by_name (actor, "pick");
|
||||||
}
|
}
|
||||||
|
@ -443,8 +443,7 @@ st_box_layout_paint (ClutterActor *actor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
st_box_layout_pick (ClutterActor *actor,
|
st_box_layout_pick (ClutterActor *actor)
|
||||||
const ClutterColor *color)
|
|
||||||
{
|
{
|
||||||
StBoxLayout *self = ST_BOX_LAYOUT (actor);
|
StBoxLayout *self = ST_BOX_LAYOUT (actor);
|
||||||
StBoxLayoutPrivate *priv = self->priv;
|
StBoxLayoutPrivate *priv = self->priv;
|
||||||
@ -462,7 +461,7 @@ st_box_layout_pick (ClutterActor *actor,
|
|||||||
cogl_framebuffer_translate (fb, (int)x, (int)y, 0);
|
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)
|
if (x != 0 || y != 0)
|
||||||
{
|
{
|
||||||
|
@ -294,13 +294,12 @@ st_scroll_view_paint (ClutterActor *actor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
st_scroll_view_pick (ClutterActor *actor,
|
st_scroll_view_pick (ClutterActor *actor)
|
||||||
const ClutterColor *color)
|
|
||||||
{
|
{
|
||||||
StScrollViewPrivate *priv = ST_SCROLL_VIEW (actor)->priv;
|
StScrollViewPrivate *priv = ST_SCROLL_VIEW (actor)->priv;
|
||||||
|
|
||||||
/* Chain up so we get a bounding box pained (if we are reactive) */
|
/* 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)
|
if (priv->child)
|
||||||
clutter_actor_paint (priv->child);
|
clutter_actor_paint (priv->child);
|
||||||
|
Loading…
Reference in New Issue
Block a user