From 7f381dd2fe8befcfb0a2981be3fa57c56f39fe43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 22 Sep 2017 13:47:00 +0200 Subject: [PATCH] st-icon: Remove some dead code --- src/st/st-icon.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/st/st-icon.c b/src/st/st-icon.c index 8fd82d512..192df60b4 100644 --- a/src/st/st-icon.c +++ b/src/st/st-icon.c @@ -275,14 +275,7 @@ st_icon_update_shadow_pipeline (StIcon *icon) g_clear_pointer (&priv->shadow_pipeline, cogl_object_unref); if (priv->shadow_spec) - { - gint width, height; - - clutter_texture_get_base_size (CLUTTER_TEXTURE (priv->icon_texture), - &width, &height); - - priv->shadow_pipeline = _st_create_shadow_pipeline_from_actor (priv->shadow_spec, priv->icon_texture); - } + priv->shadow_pipeline = _st_create_shadow_pipeline_from_actor (priv->shadow_spec, priv->icon_texture); } static void