Commit 0f942a3c authored by Li Yuan's avatar Li Yuan Committed by Li Yuan

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
parent 22a47c3d
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):
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment