summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2008-08-21 05:41:16 +0000
committerLi Yuan <liyuan@src.gnome.org>2008-08-21 05:41:16 +0000
commit0f942a3cb8eaab6ec840d3ffdfa1ef513fadfb2e (patch)
treed18cb11f7c1b451f6911a4826ac2da1d486782da /modules
parent22a47c3dbd7875af10df58feedd81d7b661222b6 (diff)
downloadgtk+-0f942a3cb8eaab6ec840d3ffdfa1ef513fadfb2e.tar.gz
Bug #548783. Change g_assert to g_return_if_fail to avoid unnucessary
2008-08-21 Li Yuan <li.yuan@sun.com> * gailtreeview.c: (traverse_cells): Bug #548783. Change g_assert to g_return_if_fail to avoid unnucessary crash. svn path=/trunk/; revision=21174
Diffstat (limited to 'modules')
-rw-r--r--modules/other/gail/ChangeLog6
-rw-r--r--modules/other/gail/gailtreeview.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/modules/other/gail/ChangeLog b/modules/other/gail/ChangeLog
index 75e0472157..ee0ebb8116 100644
--- a/modules/other/gail/ChangeLog
+++ b/modules/other/gail/ChangeLog
@@ -1,5 +1,11 @@
2008-08-21 Li Yuan <li.yuan@sun.com>
+ * gailtreeview.c: (traverse_cells):
+ Bug #548783. Change g_assert to g_return_if_fail to avoid
+ unnucessary crash.
+
+2008-08-21 Li Yuan <li.yuan@sun.com>
+
* gailtreeview.c: (model_row_deleted):
Bug #548782. Emit children-changed::remove signal when a row is
deleted in gtktreeview.
diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
index b6a9af6fd4..4e5e338d25 100644
--- a/modules/other/gail/gailtreeview.c
+++ b/modules/other/gail/gailtreeview.c
@@ -3748,7 +3748,7 @@ traverse_cells (GailTreeView *tree_view,
if (cell_info->in_use)
{
row_path = gtk_tree_row_reference_get_path (cell_info->cell_row_ref);
- g_assert (row_path != NULL);
+ g_return_if_fail (row_path != NULL);
if (tree_path == NULL)
act_on_cell = TRUE;
else