[gnome-shell] StWidget: Be more verbose when aborting in get_theme_node
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] StWidget: Be more verbose when aborting in get_theme_node
- Date: Sun, 13 Feb 2011 21:59:36 +0000 (UTC)
commit 216be33fb9bc38d8d8a2ef16011e6d6c168b57d7
Author: Adel Gadllah <adel gadllah gmail com>
Date: Sun Feb 13 22:48:35 2011 +0100
StWidget: Be more verbose when aborting in get_theme_node
Give some context to make it easier to track down the offender.
src/st/st-widget.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index 09b2824..7057e90 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]