StIcon: fix typo

After having freed pending_texture, we should nullify it, not an
unrelated actor.
This commit is contained in:
Giovanni Campagna 2010-12-21 22:49:54 +01:00
parent 52a87a22ec
commit 23f3af832c

View File

@ -149,7 +149,7 @@ st_icon_dispose (GObject *gobject)
{ {
clutter_actor_destroy (priv->pending_texture); clutter_actor_destroy (priv->pending_texture);
g_object_unref (priv->pending_texture); g_object_unref (priv->pending_texture);
priv->icon_texture = NULL; priv->pending_texture = NULL;
} }
if (priv->gicon) if (priv->gicon)