[gnome-shell] st: Remove color from ClutterActor pick virtual function
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st: Remove color from ClutterActor pick virtual function
- Date: Wed, 16 Oct 2019 12:12:30 +0000 (UTC)
commit d7c569c69220de4e66186ebb8d5fc655e9828940
Author: Daniel van Vugt <daniel van vugt canonical com>
Date: Mon Oct 14 15:20:49 2019 +0800
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 8c696f4e52..c3ba57e296 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 c7ddbdc4e0..31a8ed118b 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 7f7d4f51c7..3e5e24eba1 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]