StWidget: Be more verbose when aborting in get_theme_node

Give some context to make it easier to track down the offender.
This commit is contained in:
Adel Gadllah 2011-02-13 22:48:35 +01:00
parent b23989871e
commit 216be33fb9

View File

@ -565,7 +565,8 @@ st_widget_get_theme_node (StWidget *widget)
if (stage == NULL)
{
g_error ("st_widget_get_theme_node called on a widget not in a stage");
g_error ("st_widget_get_theme_node called on the widget %s which is not in the stage.",
st_describe_actor (CLUTTER_ACTOR (widget)));
}
if (parent_node == NULL)