[gnome-shell] st-icon: Remove unused fields
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st-icon: Remove unused fields
- Date: Fri, 14 Jul 2017 13:12:09 +0000 (UTC)
commit 60e7db71260ed2f8e22760c52bcf6288e1bfe6ba
Author: Jonas Ådahl <jadahl gmail com>
Date: Thu May 4 15:45:41 2017 +0800
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 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/st/st-icon.c b/src/st/st-icon.c
index 5fc91a4..8fd82d5 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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]