From ffbf7b64ab8f96f6afb40ceeae023e2ac52120fa Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 9 Aug 2007 13:24:42 +0000 Subject: [PATCH] 2007-08-09 Emmanuele Bassi * clutter/clutter-box.c: Rename a variable to fix a compiler warning. --- ChangeLog | 5 +++++ clutter/clutter-box.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4637b8c08..c459b2a0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-09 Emmanuele Bassi + + * clutter/clutter-box.c: Rename a variable to fix a compiler + warning. + 2007-08-08 Emmanuele Bassi * clutter/clutter-behaviour-ellipse: diff --git a/clutter/clutter-box.c b/clutter/clutter-box.c index 0d497b397..937728cda 100644 --- a/clutter/clutter-box.c +++ b/clutter/clutter-box.c @@ -477,7 +477,7 @@ clutter_box_query_nth_child (ClutterBox *box, ClutterBoxChild *box_child; g_return_val_if_fail (CLUTTER_IS_BOX (box), FALSE); - g_return_val_if_fail (index > 0, FALSE); + g_return_val_if_fail (index_ > 0, FALSE); box_child = g_list_nth_data (box->children, index_); if (!box_child)