From 60e7db71260ed2f8e22760c52bcf6288e1bfe6ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 4 May 2017 15:45:41 +0800 Subject: [PATCH] st-icon: Remove unused fields They were set but then never accessed. https://bugzilla.gnome.org/show_bug.cgi?id=765011 --- src/st/st-icon.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/st/st-icon.c b/src/st/st-icon.c index 5fc91a4f6..8fd82d512 100644 --- a/src/st/st-icon.c +++ b/src/st/st-icon.c @@ -55,8 +55,6 @@ struct _StIconPrivate GIcon *fallback_gicon; CoglPipeline *shadow_pipeline; - float shadow_width; - float shadow_height; StShadow *shadow_spec; }; @@ -267,8 +265,6 @@ st_icon_init (StIcon *self) self->priv->prop_icon_size = -1; self->priv->shadow_pipeline = NULL; - self->priv->shadow_width = -1; - self->priv->shadow_height = -1; } static void @@ -286,8 +282,6 @@ st_icon_update_shadow_pipeline (StIcon *icon) &width, &height); priv->shadow_pipeline = _st_create_shadow_pipeline_from_actor (priv->shadow_spec, priv->icon_texture); - priv->shadow_width = width; - priv->shadow_height = height; } }