From d7c569c69220de4e66186ebb8d5fc655e9828940 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Mon, 14 Oct 2019 15:20:49 +0800 Subject: [PATCH] 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 --- src/shell-util.c | 3 +-- src/st/st-box-layout.c | 5 ++--- src/st/st-scroll-view.c | 5 ++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/shell-util.c b/src/shell-util.c index 8c696f4e5..c3ba57e29 100644 --- a/src/shell-util.c +++ b/src/shell-util.c @@ -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"); } diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c index c7ddbdc4e..31a8ed118 100644 --- a/src/st/st-box-layout.c +++ b/src/st/st-box-layout.c @@ -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) { diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c index 7f7d4f51c..3e5e24eba 100644 --- a/src/st/st-scroll-view.c +++ b/src/st/st-scroll-view.c @@ -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);