st-icon: Remove unused size values
This commit is contained in:
parent
996dd74157
commit
2ba26407f1
@ -167,11 +167,8 @@ st_icon_paint (ClutterActor *actor)
|
|||||||
if (priv->shadow_pipeline)
|
if (priv->shadow_pipeline)
|
||||||
{
|
{
|
||||||
ClutterActorBox allocation;
|
ClutterActorBox allocation;
|
||||||
float width, height;
|
|
||||||
|
|
||||||
clutter_actor_get_allocation_box (priv->icon_texture, &allocation);
|
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,
|
_st_paint_shadow_with_opacity (priv->shadow_spec,
|
||||||
priv->shadow_pipeline,
|
priv->shadow_pipeline,
|
||||||
&allocation,
|
&allocation,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user