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:
parent
b23989871e
commit
216be33fb9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user