[gnome-shell] st-icon: Remove unused size values



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]