ClutterDropAction: Avoid accessing priv->stage is not yet resolved.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 17 May 2012 22:08:57 +0000 (18:08 -0400)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 21 May 2012 07:43:17 +0000 (08:43 +0100)
commitdd61be7c2ea238432524dea16b04baf424c2cd36
treef608402b800f107936e1a88e60cee719ec8aec7d
parent2c5af0c868e5dfa851407c46c817af2793a9b4d7
ClutterDropAction: Avoid accessing priv->stage is not yet resolved.

This fixes drop_action_unregister() to not call g_object_get_data()
on priv->stage if not yet resolved. This can happen if the action's
actor was destroyed before ever being mapped.
clutter/clutter-drop-action.c