mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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
This commit is contained in:
parent
22a47c3dbd
commit
0f942a3cb8
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user