[gnome-shell] st-icon: Remove unused size values
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st-icon: Remove unused size values
- Date: Fri, 29 Jun 2018 09:11:18 +0000 (UTC)
commit 2ba26407f18e2520a87bbae58b29cf72fe9c6a26
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date: Thu Apr 12 21:11:03 2018 -0400
st-icon: Remove unused size values
src/st/st-icon.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/st/st-icon.c b/src/st/st-icon.c
index 192df60b4..988070cd7 100644
--- a/src/st/st-icon.c
+++ b/src/st/st-icon.c
@@ -167,11 +167,8 @@ st_icon_paint (ClutterActor *actor)
if (priv->shadow_pipeline)
{
ClutterActorBox allocation;
- float width, height;
clutter_actor_get_allocation_box (priv->icon_texture, &allocation);
- clutter_actor_box_get_size (&allocation, &width, &height);
-
_st_paint_shadow_with_opacity (priv->shadow_spec,
priv->shadow_pipeline,
&allocation,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]